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.

LAUNCHXL-F28379D: CPU2 BOOT FROM RAM

Part Number: LAUNCHXL-F28379D


Hello,

I try to use correctly the two cores of the 379D.

Thanks to a previous thread, I think I understood how the CPU boots.

If I want to use the LAUNCHPAD in the standalone mode, I insert the command Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH); at the beginning of the code in main() function.

Then, considering that the CMD file specifies a .text section in the FLASH and a code start @0x80000, I load the programms into the CPUs, and then I am forced to disconnect the JTAG probe on the lanchpad, and ask for a reset: 

Is it normal me to switch off the TRST pin and do a reset ?

If yes, I have an other question:

I saw that we can ask for a boot from RAM, so I insert theses commands, that I saw in several examples provided by TI:

But ... If I have to reset the LaunchPad, the RAM is re-initialized in the ROM boot sequence. Since the switches 1 and 2 are in the high position, the CPU1 boots from FLASH (previously programmed), and there is no programm in the RAM.

What is the purpose of the RAM configuration in the standalone mode ?