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.

How to load code from NorFlash to DDR2 SDRAM after DSP reseting



There are DDR2 SDRAM and NorFalsh on my board,   I want to boot from internal flash in Dm6437 at power on, and then load norflash code to DDR2 SDRAM, finally, bootloader give the control right to code loaded in DDR SDRAM.

it is like Linux boot process on ARM and other MCU , how to do it , or there is ohter good scheme to load code to sdram and run in it. 

Thank you

  • In general I would suggest starting with the documentation and utilities in C:\dvsdk_1_01_00_15\flashburn_files of your DVSDK install, using the demo application as an example.

    The DM6437 does not have internal flash but it does have an internal ROM boot loader which supports various boot modes including from a NOR flash. For the boot situation you describe you would use the AIS boot mode, where the application is saved into flash in an AIS format that the ROM boot loader can read. When the device boots the ROM boot loader will read the NOR flash and interpret the AIS formatted application image and then copy the various code and data sections from flash to a run time location such as DDR based on the AIS meta data, upon completion of reading the AIS image out of flash the ROM boot loader will branch to the newly loaded application, much like how you describe. To implement this you will likely want to start wihth the documentation and AIS utilities from the DVSDK mentioned above.

  • Sorry for the bump up, but this post interests me. So, if I use only the flashburn to flash an .hex file instead of .ais, should I consider that the program is being executed directly from NOR flash??? If this is true, then would the Boot pins treated as "don't care"???

    Thanks in advance