ADSP-BF533_Booting_examples
所属分类:DSP编程
开发工具:C/C++
文件大小:48KB
下载次数:64
上传日期:2007-07-11 22:35:04
上 传 者:
tanlks
说明: BLACKFIN BF533 的启动初试化程序
(BLACKFIN BF533 initial start-up procedure)
文件列表:
Booting Example_533 (0, 2007-01-09)
Booting Example_533\App Code (0, 2006-12-11)
Booting Example_533\App Code with Sdram Init (0, 2006-12-11)
Booting Example_533\App Code with Sdram Init\adsp-BF533_ASM.ldf (6764, 2003-07-08)
Booting Example_533\App Code with Sdram Init\Blink_Code.ASM (2275, 2003-07-11)
Booting Example_533\App Code with Sdram Init\Boot_Example_w_Init.dpj (4145, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Boot_Example_w_Init.mak (2703, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Boot_Example_w_Init.pcf (2368, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug (0, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug\Blink_Code.doj (2312, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug\Boot_Example_w_Init.dxe (2404, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug\Boot_Example_w_Init.ldr (764, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug\Boot_Example_w_Init.log (832, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Debug\linker_log.xml (37538, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram (0, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\adsp-BF533_ASM.ldf (6764, 2003-07-08)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Debug (0, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Debug\Init_code.doj (1768, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Debug\Init_Sdram.dxe (2184, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Debug\Init_Sdram.log (588, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Debug\linker_log.xml (37538, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Init_code.asm (2787, 2003-07-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Init_Sdram.dpj (3547, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Init_Sdram.mak (2219, 2006-12-11)
Booting Example_533\App Code with Sdram Init\Init_Sdram\Init_Sdram.pcf (2057, 2006-12-11)
Booting Example_533\App Code\adsp-BF533_ASM.ldf (6764, 2003-07-08)
Booting Example_533\App Code\Blink_Code.ASM (1779, 2003-07-11)
Booting Example_533\App Code\Boot_Example.dpj (4226, 2006-12-11)
Booting Example_533\App Code\Boot_Example.mak (2622, 2006-12-15)
Booting Example_533\App Code\Boot_Example.pcf (2391, 2006-12-15)
Booting Example_533\App Code\Debug (0, 2006-12-15)
Booting Example_533\App Code\Debug\Blink_Code.doj (1988, 2006-12-15)
Booting Example_533\App Code\Debug\Boot_Example.dxe (2260, 2006-12-15)
Booting Example_533\App Code\Debug\Boot_Example.ldr (711, 2006-12-15)
Booting Example_533\App Code\Debug\Boot_Example.log (867, 2006-12-15)
Booting Example_533\App Code\Debug\linker_log.xml (37538, 2006-12-15)
Booting Example_533\Software_License.pdf (10921, 2003-07-16)
ADSP-BF533 Flash Booting Demo
Date Created: 01/09/07 Rev 2.0
This directory contains an example ADSP-BF533 subroutine that demonstrates
how to create a loader file for the BF533 EZ-KIT, initialization 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
blink_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
BF533 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 initialization code to initialize 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 Initialization Code"
- Open an ADSP-BF533 EZ-KIT Lite session in the VisualDSP Integrated Development Environment (IDDE).
- Open the project "ADSP-BF533 INIT CODE.dpj" in the VisualDSP IDDE from the directory "..\Blackfin\ldr\init_code\ADSP-BF533 INIT CODE\
- Click the "Project" menu item and select "rebuild all" to build "ADSP-BF533 INIT CODE.dxe"
- "ADSP-BF533 INIT CODE.dxe" should now be in your debug folder
- You can close this project.
"Creating a Loader File for the ADSP-BF533 EZ-KIT"
- Open an ADSP-BF533 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 "Load - Options"
- Under "Boot Mode", flash should be selected
- "Boot format" should be "Intel hex"
- "Output 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 "Blink_Flash.ldr"
(default uses your project name with .ldr extension)
- Under Initialization File, browse and find "..\VisualDSP 4.5\Blackfin\ldr\init_code\ADSP-BF533 INIT CODE\ADSP-BF533 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 "Blink_Flash.ldr"
- "Blink_Flash.ldr" should now be in your debug folder
DOWNLOADING "Blink_Flash.ldr" IN THE FLASH PROGRAMMER:
An easy way to use Flash Programmer
- Click on the "Tools" Menu item and select "Flash Programmer"
- In the Driver tab, the driver file should correspond to "\Blackfin\Examples\ADSP-BF533 EZ-Kit Lite\Flash Programmer\BF533EzFlashDriver.dxe"
- Click on the "Load Driver" option to load the driver
- Click on the "Programming" tab and under "Pre-program erase options" select "Erase all"
- In the same window, the "File Format" should be "Intel-Hex" and the data file should correspond
to "blink533.ldr" which was made as part of your booting process.
- Click on the "Program" option to start the programming process.
- Click "ok" when programming is complete.
Please refer to the Flash Programming instructions under the ...\Blackfin\Examples folder for further reference.
近期下载者:
相关文件:
收藏者: