I am using VisualDSP++ and would like to load my program to flash on my EZ-KIT then use it to boot and run my board in standalone mode?
In order to program the flash on your board you must first create a loader (.ldr) file for your project.
Creating a Loader (.ldr) file
Downloading the Loader (.ldr) file to the EZ-KIT
The next step is to download the loader file to the board which is accomplished with the VisualDSP++ Flash Programmer:-
Note:- Drivers are available in the ‘Flash Programmer’ directory of the EZ-Kit you are using. For example:
<install_path>\<processor_family>examples\<processor_EZ KIT Lite>\Flash Programmer\
Booting the EZ-KIT from Flash Memory
The last step involves configuring your board to boot from flash:-
Blackfin - http://www.analog.com/blackfin/manuals
SHARC - http://www.analog.com/sharcmanuals
Note: If you are using an EZ-KIT connected via the Debug Agent there is an alternate method for resetting the board and performing a boot without having to exit VisualDSP++:-
For detailed examples on how to build a bootable loader file for flash memory please refer to the readmet.txt file of the 'Power_On_Self_test' project of the EZ-KIT you are using. These are located in: <install_path>\<processor_family>examples\<processor_EZ KIT Lite>
You will also find information on booting from flash memory in the attached file 'Booting from FLASH readme.txt which is available as part of the VisualDSP++ installation and can be found here: <install_path>\<processor_family>examples\
Related Application Notes
More specific details on booting from Flash can be found in the following EE-Notes. These are available from http://www.analog.com/ee-notes
EE-336: Putting ADSP-BF54x Blackfin Processor Booting into Practice
EE-314: Booting the ADSP-BF561 Blackfin Processor
EE-311: VisualDSP++ Flash Programmer API for Blackfin Processors.
EE-240: ADSP-BF533 Blackfin Booting Process
EE-239: Running Programs from Flash on ADSP-BF533 Blackfin Processors. SHARC
EE-345: Boot Kernel Customization and Firmware Upgradeability on SHARC Processors
EE-280: In-Circuit Flash Programming on ADSP-2106x SHARC Processors.
EE-223: In-Circuit Flash Programming on SHARC Processors.
EE-231: In-Circuit Programming of an SPI Flash with SHARC Processors.
EE-177: SHARC SPI Slave Booting
Above it is written to go to the "Settings" menu in VisualDSP++ and choose "Boot Load" in order to reset from within VisualDSP++ and run with the flash loaded into the BF, this is for the purpose of debugging.
I am running VisualDSP++5.1.2 and there is not "Boot Load" option under the "Settings" menu, though this may be since I am running via USB-ICE on my hardware and not the EZ-KIT connected via the Debug Agent.
So, the real question is how can I run my program in the debugger since I am loading from flash and not using the EZ-KIT connected via the Debug Agent? Perhaps there is some way to configure the session to use the EZ-KIT connected via the Debug Agent session profile? Or to load my program directly for debugging (though this still does not completely cover my need as there may be some annomally when loading directly vs from flash).
Any help will be appreciated.