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.

J784S4XEVM: Questions about Lauterbach scripts

Part Number: J784S4XEVM
Other Parts Discussed in Thread: TDA4VH

Tool/software:

I received the attached lauterbach scripts from Richard Woodruff before and have some questions about it. I am using it to load my app to R5F core.

1:  Is there a scripts that touch R5F, assuming that all other necessary configurations are already done by firmware/device manager/u-boot ?

2:  The scripts is assuming the EMU0/EMU1 are used and have been at required state. In our customized board, we are not using EMU0/EMU1, we need bypass EMU0/EMU1 state check

3:  Why do we need run this baremetal setup ?  How could we skip this scripts if we don't need touch flash memory?

; Setup for GP or HS {HS:FS, HS:SE}
DO "&path/../_J784S4_baremetal_setup.cmm" HS:FS

4: why do we need run _J784S4_m4.cmm for r5f core ? could it be skipped ?

; Attach to M4 to start SOC bring up
TITLE "TRACE32 for ARM - J784S4-CM4 - MASTER" ; set GUI title
DO "&path/../_J784S4_m4.cmm" CM4-0 PREPARE

5: Those clock configuration should be covered by u-boot. Could this scripts be skipped ?

; From M3 initialize clocks and install global functions
DO "&path/../J7AHP.cmm" DMSC_FLOW

Thanks

Jim6786.cmm-tda4vh_j784s4.zip

  • Hello Jim,

    The example scripts are organized based on different usage scenarios.  This is outlined in the base readme.txt file.  The x_gel_to_cmm directory mirrors what CCS provides and these are targeted at bare metal init.  You can use a subset of these or chose different reference points which match your needs.  If firmware has initilzied clocks and such there is no need to (and you should not run script base inits as they will conflict with the code). 

    Regards,
    Richard W.