This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VL-Q1: TDA4VL-Q1[SA5]: main domain mcu2_1 cannot connect to lauterbach

Part Number: TDA4VL-Q1

Tool/software:

Hello TI experts,

We are using lauterbach to connect to the main domain mcu2_1 for debugging,

but when I run the cmd

and it's prints as bellows

and it seems connected to the main mcu 2_1

 but i can't break and can do anything

it seems that the debugger can not access of the memory.

but the main domain mcu2_1 can be debugged success by using the XDS560v2.

is there any changes of the cmm scripts for the main domain R5f 2_1 core?

  • we are using the scrips which is provide by TI

  • Hello,

    What is captured in screen shots indicates the R5 is not yet powered by the PSC.  If you try and attach with any JTAG (CCS included) there will be no connection.  likely when you ran CCS other scripts ran which first powered up the R5 core.

    If you have a bare metal system and want to connect to a MAIN R5's you will need to run other scripts ahead of R5 attach scripts.

    You can alter the "_J721S2_allcoretypes_connect.cmm" to get the behavior you are looking for or use an SBL.  to get mcu2_1 (split mode amp) do the following in a script:

    &path=OS.PPD()

    ;;;;;;;;;;;;;;;;;;;;;; SOC Setup ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Setup for GP or HS {HS:FS, HS:SE}
    DO "~~~~/_J721S2_baremetal_setup.cmm" HS:FS

    ;;;;;;;;;;;;;;;;;;;;;;;;; CM4-0-TIFS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    TITLE "TRACE32 for ARM CM4-0 - MASTER"
    DO "~~~~/_J721S2_m4.cmm" CM4-0
    DO "~~~~/J7AEP_SI.cmm"
    wait 1s

    ;;;;;;;;;;;;;;;;;;;;;;;;;; R5SS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; PARAMS: (R5-MCU, R5-MAIN0, R5-MAIN1) + (SMP, AMP1, AMP2)
    ;;;;;;;;;;;;;;;;;;;;;;;; R5-MCU ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ;;;;;;;;;;;;;;;;;;;;;;;; R5-MAIN0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    IF !INTERCOM.PING(R5B)
    TargetSystem.NewInstance R5B /ARCHitecture ARM
    IC R5B TITLE "TRACE32 for ARM CR5-MAIN0 - SLAVE"
    IC.WAIT R5B
    DO "&path_J7AEP_R5LOCKSTEP_cmm" MAIN_R5_Cluster_0_split
    IC R5B DO "&path/_J721S2_r5.cmm" R5-MAIN0 AMP2
    IC.WAIT R5B

    Regards,
    Richard W.