I am trying to establish a scheme for booting my application from flash memory, on the Blackfin 537. I've been studying the "VisualDSP++ 5.0 Loader and Utilities Manual", but the IDE has me a bit confused. I need to store my app in a parallel flash memory, and I need a bootloader to initialize the RAMs with the main application code at boot time.
I need to run some initialization code very early to configure clocks, SDRAM, etc. I suppose I must configure the SDRAM before the bootloader moves any of the main application code from flash to SDRAM. It looks like the loader utility allows me to specify a .dxe file to be run at boot time prior to the main application getting loaded. However, I also notice the Project Options let me add Startup Code and an LDF file to an application project.
Do I want Startup Code and LDF in my initcode application? Do I want Startup Code and LDF in my main application? Do I want an initcode application at all