Power_On_Self_Test
所属分类:DSP编程
开发工具:Asm
文件大小:249KB
下载次数:8
上传日期:2007-08-17 14:58:05
上 传 者:
rrkk
说明: ADI blackfin processor BF527 Ezkti test driver
文件列表:
Power_On_Self_Test (0, 2007-08-07)
Power_On_Self_Test\1000320_AA0188-2004_M29W320DB_U24.dxe (1223084, 2007-06-27)
Power_On_Self_Test\1000320_AA0188-2004_M29W320DB_U24.ldf (19828, 2007-06-27)
Power_On_Self_Test\1000320_AA0188-2004_M29W320DB_U24.ldr (204458, 2007-06-27)
Power_On_Self_Test\1000320_aa0188-2004_m29w320db_u24_basiccrt.s (8004, 2007-06-27)
Power_On_Self_Test\1000320_aa0188-2004_m29w320db_u24_heaptab.c (2396, 2007-06-27)
Power_On_Self_Test\Audio_test.c (12754, 2007-06-27)
Power_On_Self_Test\BF537_EZKIT.dpj (21885, 2007-06-27)
Power_On_Self_Test\CAN_test.c (15459, 2007-06-27)
Power_On_Self_Test\Ethernet_test.c (14035, 2007-06-27)
Power_On_Self_Test\Ethernet_test.h (3395, 2007-06-27)
Power_On_Self_Test\m29w320.c (3791, 2007-06-27)
Power_On_Self_Test\MAC_test.c (6965, 2007-06-27)
Power_On_Self_Test\main.c (12561, 2007-06-27)
Power_On_Self_Test\PBLED_test.c (5346, 2007-06-27)
Power_On_Self_Test\PBLED_test.h (1164, 2007-06-27)
Power_On_Self_Test\Pll.c (1000, 2007-06-27)
Power_On_Self_Test\Pll.h (641, 2007-06-27)
Power_On_Self_Test\post_common.h (4533, 2007-06-27)
Power_On_Self_Test\ProcessorVersion_test.c (2064, 2007-06-27)
Power_On_Self_Test\SDRAM_test.c (4342, 2007-06-27)
Power_On_Self_Test\test_FPGA (0, 2007-08-07)
Power_On_Self_Test\test_FPGA\FPGA_gpio_test.c (4390, 2007-06-27)
Power_On_Self_Test\test_FPGA\fpga_image.h (1614041, 2007-06-27)
Power_On_Self_Test\test_FPGA\FPGA_memory_test.c (5549, 2007-06-27)
Power_On_Self_Test\test_FPGA\FPGA_sports_test.c (8181, 2007-06-27)
Power_On_Self_Test\test_FPGA\ProgramFPGA.c (3050, 2007-06-27)
Power_On_Self_Test\Timer_ISR.c (7037, 2007-06-27)
Power_On_Self_Test\Timer_ISR.h (1285, 2007-06-27)
Power_On_Self_Test\UART_test.c (5035, 2007-06-27)
"ADSP-BF537 EZ-KIT Lite/STAMP POST TEST and Loader File Demo"
Date Created: 5/08/07 Rev 1.1 [corrected various spelling/type errors]
9/03/05 Rev 1.0
This directory contains an example ADSP-BF537 project which demonstrates how
to create a loader file for the BF537 EZ-KIT and use the FlashProgrammer utility
to download the file to the M29W320 flash.
When used to test the ADSP-BF537 EZ-KIT Lite the POST also includes an option to
test the Blackfin FPGA EZ-Extender board.
Files contained in this directory:
+Power_On_Self_Test
ADSP-BF537_C.ldf
Audio_test.c
BF537_EZKIT.dpj
1000320_AA0188-2004_M29W320DB_U24.dxe
1000320_AA0188-2004_M29W320DB_U24.ldr
BF537_STAMP.dpj
BF537_STAMP.dxe
BF537_STAMP.ldr
CAN_test.c
Ethernet_test.c
Ethernet_test.h
m29w320.c
MAC_test.c
main.c
PBLED_test.c
PBLED_test.h
Pll.c
Pll.h
post_common.h
ProcessorVersion_test.c
Readme.txt
SDRAM_test.c
Timer_ISR.c
Timer_ISR.h
UART_test.c
+---test_FPGA
fpga.bit
fpga.hex
fpga.mcs
FPGA_gpio_test.c
fpga_image.h
FPGA_memory_test.c
FPGA_sports_test.c
ImageConverter.exe
ProgramFPGA.c
+---FPGAImageConverter
ImageConverter.cpp
ImageConverter.vcproj
stdafx.cpp
stdafx.h
__________________________________________________________
CONTENTS
I. FUNCTIONAL DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
IV. POST NOTES
I. FUNCTIONAL DESCRIPTION
The Loader File demo demonstrates how to create a loader file, as well as
provides a Power On Self Test (POST) for the EZ-Kit Lite board and the Blackfin FPGA
EZ-Extender board.
After the loader file is created the user can then use the FlashProgrammer Utility
to download the intel hex file to M29W320 flash.
II. IMPLEMENTATION DESCRIPTION
Boots a blink program or POST from Flash and runs a simple blink program.
III. OPERATION DESCRIPTION
The switch settings for the built in self test of the ADSP-BF537 EZ-KIT Lite differ slightly from the
default settings shipped. See the users manual for default switch settings.
EZ-KIT Lite Switch settings:
- SW2 CAN Enable, 1 = ON, 2 = ON, 3 = ON, 4 = ON.
- SW3 Ethernet, 1 = OFF, 2 = OFF, 3 = OFF, 4 = OFF.
- SW4 UART, 1 = ON, 2 = ON, 3 = ON, 4 = ON.
- SW5 Push Buttons, 1 = ON, 2 = ON, 3 = ON, 4 = ON.
- SW6 Flash enable, 1 = ON, 2 = ON, 3 = ON, 4 = ON.
- SW7 Audio enable, 1 = ON, 2 = ON, 3 = ON, 4 = ON, 5 = 0N, 6 = ON, 7 = ON, 8 = ON.
- SW16 Boot mode sel, 1
- JP5 Expansion Voltage ON
- JP9 UART loop, ON
The switch settings for the built in self test of the Blackfin FPGA EZ-Extender differ slightly from the
default settings shipped. See the users manual for default switch settings.
EZ-KIT Lite Switch settings:
- SW2 CAN Enable, 1 = OFF, 2 = OFF, 3 = OFF, 4 = OFF.
- SW3 Ethernet, 1 = OFF, 2 = OFF, 3 = OFF, 4 = OFF.
- SW4 UART, 1 = OFF, 2 = OFF, 3 = OFF, 4 = OFF.
- SW5 Push Buttons, 1 = ON, 2 = ON, 3 = ON, 4 = ON.
- SW6 Flash enable, 1 = ON, 2 = ON, 3 = OFF, 4 = ON.
- SW7 Audio enable, 1 = OFF, 2 = OFF, 3 = OFF, 4 = OFF, 5 = OFF, 6 = OFF, 7 = OFF, 8 = OFF.
- SW16 Boot mode sel, 1
- JP5 Expansion Voltage ON
- JP9 UART loop, ON
Blackfin FPGA EZ-Extender Switch/Jumper settings:
- JP1: not installed
- JP2: installed
- JP3: installed
- JP4: none installed
- JP5: none installed
- P9: installed on pins 1 and 2
- P10: installed on pins 1 and 2
- P11: installed on pins 1 and 2
- P12: installed on pins 1 and 2
- P13: installed on pins 2 and 3
"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 "BF537_EZKIT.dpj" in the VisualDSP IDDE.
- Click on the "Project" Menu item and select "Project Options"
- Select "Project" in the left hand window.
- Make sure that Type is set to Loader file
- Select the "Project:Load:Options" from the left hand window
- Under "Boot Mode", "Flash/PROM" is selected
- "Boot Format" should be "Intel hex"
- "Output Width" should be "16"
- Use default start address should be checked unless the start address should be something
other than the beginning of flash memory
- "Verbose" should be unchecked
- Since we are using external memory, the initialization file should point to
..\Blackfin\ldr\INIT_CODE.DXE
- "Output file" and "Additional options" should be blank.
- After all the options are set up select "OK"
- Click the "Project" menu item and select "rebuild all" to build "1000320_AA0188-2004_M29W320DB_U24.ldr"
- "1000320_AA0188-2004_M29W320DB_U24.ldr" should now be in your Project folder
DOWNLOADING "1000320_AA0188-2004_M29W320DB_U24.ldr" IN THE FLASH PROGRAMMER
- Click on the "Tools" menu item and select "Flash Programmer..."
- The Flash Programmer interface will pop up
- Click on the "Browse" button next to the "Load Driver" button to browse for the driver
- The driver should be in
"...\Blackfin\Examples\ADSP-BF537 EZ-KIT Lite\Flash Programmer"
- Select the driver file "BF537EzFlashDriver.dxe" and then click "Load Driver"
- Click on "Programming..." tab
- Click on the "Browse" button for "Data file" to browse for 1000320_AA0188-2004_M29W320DB_U24.ldr
- Select the 1000320_AA0188-2004_M29W320DB_U24.ldr file just created and click "Program"
- "1000320_AA0188-2004_M29W320DB_U24.ldr" is now in flash
- Close the Flash Programmer dialog box.
- To verify that the POST program has been written to flash, configure the board to
boot from the M29W320 flash.
- Set SW16 (rotary switch) to position 1
- Shutdown VisualDSP, press the reset button on the EZ-Kit Lite board, the LED bank should
begin blinking.
NOTE: Alternate method for users of the EZ-Kit Lite onboard debug agent.
The above steps will work, however for your convenience, there is an alternate method
of resetting the board and performing a boot.
- To verify that the blink program is in flash go to the Settings menu and
click BootLoad. This will cause the board to boot from flash and run.
You should see your leds flashing.
- You can halt the dsp at any time by clicking on Debug\halt.
- You can load the symbols of 1000320_AA0188-2004_M29W320DB_U24.ldr using the "File Load Symbols" menu item and
selecting the 1000320_AA0188-2004_M29W320DB_U24.ldr file, this will not change the state of the processor from where
it was halted, but it will correlate debug information to what was booted from the flash.
IV. POST TEST NOTES
The following are some general notes regarding the use of the POST for both the ADSP-BF537
EZ-KIT Lite and the Blackfin FPGA EZ-Extender.
- To start the ADSP-BF537 EZ-KIT Lite POST, press and hold PB1 on the EZ-KIT Lite as the test
begins to run.
- To start the Blackfin FPGA EZ-Extender POST, press and hold PB4 on the EZ-KIT Lite as the test
begins to run.
- Only one POST can be run at a time. Pressing PB1 and PB4 at the same time is not allowed and
will be flagged as an error.
- Before running either POST be sure all jumpers and switches are set accordingly.
- Additional information can be found in the source code to the POST.
近期下载者:
相关文件:
收藏者: