BootingFromFlash_EZ-Kit-Lite - Engineer-to-Engineer Note...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Engineer-to-Engineer Note EE-239 a Technical notes on using Analog Devices DSPs, processors and development tools Contact our technical support at [email protected] and at [email protected] Or visit our on-line resources and Running Programs from Flash on ADSP-BF533 Blackfin® Processors Contributed by Steve K Rev 1 – May 22, 2004 Copyright 2004, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of customers’ products or for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property Introduction This document describes the process of setting up an application to run on the ADSP-BF533 Blackfin® processor via flash memory, instead of being loaded from VisualDSP++® 3.5 via an emulator. It uses the ADSP-BF533 EZ-KIT Lite™ evaluation system as an example board. Minimum requirements: VisualDSP++ 3.5 (base release or Update) ADSP-BF533 Blackfin processor, silicon revision 0.2 or higher The EZ-KIT Lite example program “Blink” is used to demonstrate the procedures. It can be found in the ..\Blackfin\EZ-Kits\ADSP-BF533\Examples\Blink\C directory within the VisualDSP++ installation. The document considers two approaches: Running the program via the ADSP-BF533 Blackfin processor boot ROM Running the program directly from flash memory, via bypass mode Initial Steps: Running Under the Emulator Begin by coping the Blink example from the VisualDSP++ installation to a new working directory, and build it to verify that it works, as follows: 1. Copy the ..\Blackfin\EZ-Kits\ADSP-BF533\Examples\Blink\C directory to a new location. 2. Start VisualDSP++. 3. Use Project->Open to open BF533 Flags C.dpj in the new location. 4. Rebuild all. 5. Load the program into the ADSP-BF533 EZ-KIT Lite board (via an in-circuit emulator or USB agent) and run it. 6. Observe the six LEDs, blinking on and off in sequence. This program is running entirely from internal L1 memory, using L1 Instruction memory and L1 Data A and L1 Data B memory. No caches are enabled. SDRAM is not used. In the ISRs.c file, Timer0_ISR() uses the code shown in Listing 1 to generate the blinking sequence. of their respective holders. Information furnished by Analog Devices applications and development tools engineers is believed to be accurate and reliable, however no responsibility is assumed by Analog Devices regarding technical accuracy and topicality of the content provided in Analog Devices’ Engineer-to-Engineer Notes.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
a if(sLight_Move_Direction) { if((ucActive_LED = ucActive_LED >> 1) == 0x00) ucActive_LED = 0x20; } else { if((ucActive_LED = ucActive_LED << 1) == 0x40) ucActive_LED = 0x01; } Listing 1. LED sequence in Blink application While following the various stages of this document, you may find it helpful to modify this piece of code
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/10/2012 for the course ECE 3552 taught by Professor Staff during the Fall '10 term at FIT.

Page1 / 14

BootingFromFlash_EZ-Kit-Lite - Engineer-to-Engineer Note...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online