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.

TMDS243GPEVM: DDR RAM initialization from Flash and Debugger

Part Number: TMDS243GPEVM

Hi all,

I am working with a TMDS243GPEVM and mcu_plus_sdk_am243x_08_01_00_36. I have slightly modified the "Hello World" example with FreeRTOS on R5F_0_0.

My target is to have a program using DDR RAM, running from both Debugger and Flash.

I found that adding DDR in the SYSCFG adds DDR RAM initialization to the program, which is necessary in case of NOBOOT and load_dmsc.js, and in case of flashing the program.

However, if, for any reason, DDR RAM is already initialized (e. g. re-starting the program in debuger), then the initialization will hook at this point:

What would be the right code here to say "If DDR is already initialized, then don't do it again"? Should this be added to SDK code?

Would it be possible to add DDR initialization to the sbl_ospi.release.tiimage bootloader? Where can I get the source code of this one? This seems reasonable for me if I want to link code to DDR RAM.

Thanks

Alexander