📄 readme.txt
字号:
ADSP-BF537 Flash Booting Demo
Date Created: 1/30/06 Rev 1.0
This directory contains an example ADSP-BF537 subroutine that demonstrates how to create a loader file for the BF537 EZ-KIT, intitialization code to load a program from SDRAM, and use the FlashProgrammer utility to download the file to the flash.
Files contained in this directory:
Blink_Flash.dpj VisualDSP project file
b?link_Flash.ldf VisualDSP linker file
main.c Main Module
ISRs.c Interrupt service requests
Initialization.c Setup MBR's
heaptab.c Startup Code
basiccrt.s Startup Code
BF537 Flags.h header file
readme.txt this file
__________________________________________________________
CONTENTS
I. FUNCTIONAL DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
I. FUNCTIONAL DESCRIPTION
The Booting demo demonstrates how to create a loader file. Link in Initialization code, and Load it into flash.
This example simply uses a blink program to create a loader file. You will then link in intitialization code to intitialize SDRAM. After the loader file is created the user can then use the FlashProgrammer Utility to download the intel hex file to flash.
II. IMPLEMENTATION DESCRIPTION
Boots a blink program from Flash and runs a simple blink program.
Uses a custom LDF generated from the Expert Linker, using default C protocol.
III. OPERATION DESCRIPTION
"Creating Initalization Code"
- Open an ADSP-BF537 EZ-KIT Lite session in the VisualDSP Integrated Development Environment (IDDE).
- Open the project "ADSP-BF537 INIT CODE.dpj" in the VisualDSP IDDE from the directory Blackfin\ldr\init_code\ADSP-BF537 INIT CODE\
- Click the "Project" menu item and select "rebuild all" to build "ADSP-BF537 INIT CODE.dxe"
- "ADSP-BF537 INIT CODE.dxe" should now be in your debug folder
- You can close this project.
"Creating a Loader File for the ADSP-BF537 EZ-KIT"
- Open an ADSP-BF537 EZ-KIT Lite session in the VisualDSP Integrated Development Environment (IDDE).
- Open the project "Blink_Flash.dpj" in the VisualDSP IDDE.
- Click on the "Project" Menu item and select "Project Options"
- In the type combo box under the Project tab, select Loader File
- Click on the Load tab
- Make sure the "Category" selected is "Loader file options"
- Under "Boot source", flash should be selected
- "Output file format" should be "Intel hex"
- "Output file word width" should be "16"
- Start address should only be changed if the user wants the code
to be loaded to a different address other than the default start address
- In the Output file text box type "blink537.ldr"
(default uses your project name with .ldr extension)
- Under Initialization File, browse and find "ADSP-BF537 INIT CODE.dxe"
- Verbose should be unchecked
- After all the options are set up select "OK"
- Click the "Project" menu item and select "rebuild all" to build "blink537.ldr"
- "blink537.ldr" should now be in your debug folder
DOWNLOADING "blink537.ldr" IN THE FLASH PROGRAMMER:
Please refer to the Flash Programming instructions under the ...\Blackfin\Examples folder.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -