booting from flash readme.txt

来自「BLACKFIN BF533 的启动初试化程序」· 文本 代码 · 共 34 行

TXT
34
字号
BOOTING FROM FLASH MEMORY
-------------------------

1) Configure the correct hardware settings:
	- Jumpers
	- Switch settings

In particular, verify the boot mode pins are set to boot from EPROM/Flash. Refer to the appropriate EzKit manual under the section "Jumper and Switch Settings" for more details.

2) Open the target application in VDSP++ and open the Project Options (Project menu). Make sure the target type is a Loader File, and not an Executable file (Project tab).

3) Configure the Load Options:

	3.1) Set the Boot mode to Flash and the format to Intel Hex. Select the data width of the Flash (usually 16 for EZ-KITs).

	3.2) The Start Address should only be changed if the user wants the code to be loaded to an address other than the default start address.

	3.3) In the Output file text box type the desired ldr output filename (default uses your project name with .ldr extension)
	
	3.4) If your application requires a second-stage loader (BF535 or BF561), select 'Use boot kernel' from the Load > Kernel menu and specify 		the kernel file to be used (these are located under "...\Analog Devices\VisualDSP 4.5\Blackfin\ldr"), or use the default kernel.

[For more detailed information about the second-stage loader and booting, see appnote EE-240 at www.analog.com]

4) Click OK and rebuild the project. This will create a .ldr file in your Debug folder.

5) Open the Flash programmer window (Tools > Flash Programmer).

6) Under the 'Driver' tab, load the appropriate Flash Programmer driver from "...\Analog Devices\VisualDSP 4.5\Blackfin\Examples\ADSP-BFXXX EZ-Kit Lite\Flash Programmer\BFXXXEzFlashDriver.dxe".

7) Under the 'Programming' tab, under 'Data file', select the loader file that was built in VDSP++. By default, this .ldr file is created in the project's Debug folder.

8) Set any other options if needed, and click 'Program'. Wait for successful completion then click OK.

To boot from Flash, the board now needs to be reset, after the emulator has released control of it.

⌨️ 快捷键说明

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