Hello @5angxr ,
yes, you can leave the DCD empty or omit it and initialize the memory interface in the C code.
However, this makes it more difficult to store the stack/heap/bss/... in the external memory, as these areas are created in the startup code before main.
Regards
what I want to do is :
it is my bootloader project, I put stack/heap/ZW/ZI data in ocram, after configed flash and sdram in the C code, I copy App from flash to sdram and ITCM, then it goes to App.
When I get to the app, I put the data in SDRAM.
So, in this case, can I leave the DCD empty?
Hello @5angxr ,
yes, you can leave the DCD empty or omit it and initialize the memory interface in the C code.
However, this makes it more difficult to store the stack/heap/bss/... in the external memory, as these areas are created in the startup code before main.
Regards