⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_bf533.txt

📁 BLACKFIN BF533 的启动初试化程序
💻 TXT
字号:
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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -