HI there,
I have successfully booted my EVM6678 from NORflash with code in MSMC SRAM. But I want to place my code in DDR3, how can I do it then? How can I initial DDR before code is loaded from flash to DDR? Is there an example for that?
Thanks
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.
HI there,
I have successfully booted my EVM6678 from NORflash with code in MSMC SRAM. But I want to place my code in DDR3, how can I do it then? How can I initial DDR before code is loaded from flash to DDR? Is there an example for that?
Thanks
if you would like to load for nor flash through spi
the best thinkg is to create the first section of your code to map to the RBL DDR configuration table.
This has to be the first section you have to map it to 0x873500 which is the location of the DDR configuration table
after loading each section RBL check if this is area is written to and if it is it configures ddr
if still haven't loaded RBL code - it is recommended to download it
you might find this link useful
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/229915/856390.aspx#856390
look for Arun.2843.SPIboot_ddr.zip
i think it is for c6657 so you will have to make the changes for c6678 since the RBL uses different L2 addresses