Programming the Flash Memory of the ADSP-BF537 EZ-KIT Lite
Primary Software: LabVIEW Modules>>Embedded Module for Blackfin Processors
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: I have a dxe (DSP Executable) file built in LabVIEW Embedded for Blackfin. I would like the ADSP-BF537 EZ-KIT Lite to run my application from flash memory when it is powered on. How do I program the flash to do this?
Solution: Below are the steps to move a dxe file built in LabVIEW Embedded to the EZ-KIT flash memory.
- In LabVIEW Embedded for Blackfin, open an embedded project targeted to the ADSP-BF537 EZ-KIT Lite. Create a Build Specification and do a Build to create a dxe file for this project.
- Once you have a dxe file, you'll need to convert it into a standard loader format file (.ldr). This can be done using the elfloader utility found in the VisualDSP directory (\Program Files\Analog Devices\VisualDSP 5.0) and the initialization dxe file attached below. For example, the following command will create a standard 8-bit hex format file called MyApplication.ldr from the dxe file named MyApplication.dxe:
elfloader MyApplication.dxe -b flash -f hex -Width 16 -init "init_code_bf537_ez-kit_lite.dxe" -o MyApplication.ldr -si-revision 0.2 -proc ADSP-BF537
- Once you have the loader file, use the Flash Programmer utility in VisualDSP++ (Tools>>Flash Programmer...) to load it into the flash memory. The driver file field is where you will specify the driver for the particular brand of flash that you're using. In the case of the flash on the BF537 EZ-Kit you can find the appropriate driver at:
\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ADSP-BF537 EZ-Kit Lite\Flash Programmer\BF537EzFlashDriver.dxe
- Click Load Driver. The Message Center displays "Success: Driver loaded".
- Select the Programming Tab. Browse to your ldr file for the Data File field, and then click Program.
- Exit out of the Flash Programmer by selecting OK
- Reset your EZ-KIT, and your code will begin to run from the flash memory.
Full documentation on the flash programmer can be found in the VisualDSP++ help at:
\Program Files\Analog Devices\VisualDSP 5.0\Help\WmFlashProgrammer.chm
Related Links:
Attachments:
Report Date: 05/09/2006
Last Updated: 11/28/2007
Document ID: 3X8GECA4