AT91 ARM Thumb Microcontrollers. Application Note. Using the EBLoad Tool to Download Applications to the AT91 Evaluation Boards.

Similar documents
8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter

8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory

8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector

AT89C5131A Starter Kit... Software User Guide

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller 80C51. Application Note. Microcontrollers. Introduction

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

Tag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

8-bit Microcontroller. Application Note. AVR314: DTMF Generator

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory

8-bit Microcontroller. Application. Note. AVR204: BCD Arithmetics. Features. Introduction. 16-bit Binary to 5-digit BCD Conversion bin2bcd16

8-bit Microcontroller. Application Note. AVR461: Quick Start Guide for the Embedded Internet Toolkit. Introduction. System Requirements

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features.

AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

General Porting Considerations. Memory EEPROM XRAM

AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface

AVR241: Direct driving of LCD display using general IO. 8-bit Microcontrollers. Application Note. Features. Introduction AVR

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. Migrating from RS-232 to USB Bridge Specification USB Microcontrollers. Doc Control. References. Abbreviations

AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

USB 2.0 Full-Speed Host/Function Processor AT43USB370. Summary. Features. Overview

AVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32100: Using the AVR32 USART. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction

USB Test Environment ATUSBTEST- SS7400. Summary

Application Note. USB Mass Storage Device Implementation. USB Microcontrollers. References. Abbreviations. Supported Controllers

8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

2-wire Serial EEPROM AT24C1024. Advance Information

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

AT91 ARM Thumb Microcontrollers. Application Note. GNU-Based Software Development on AT91SAM Microcontrollers. 1. Introduction. 2.

2-Wire Serial EEPROM AT24C32 AT24C64. 2-Wire, 32K Serial E 2 PROM. Features. Description. Pin Configurations. 32K (4096 x 8) 64K (8192 x 8)

ATF15xx Product Family Conversion. Application Note. ATF15xx Product Family Conversion. Introduction

Two-wire Automotive Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 (1) AT24C16 (2)

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide

Application Note. 8-bit Microcontrollers. AVR280: USB Host CDC Demonstration. 1. Introduction

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Table of Contents. Section 1 Introduction Section 2 Getting Started Section 3 Hardware Description

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction

Two-wire Serial EEPROM AT24C1024 (1)

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

DIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

AVR444: Sensorless control of 3-phase brushless DC motors. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

AT91SAM ARM-based Flash MCU. Application Note

AN2146 APPLICATION NOTE

8-bit. Application Note. Microcontrollers. AVR273: USB Mass Storage Implementation. Features. 1. Introduction

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

Application Note. 8-bit Microcontrollers. AVR307: Half Duplex UART Using the USI Module

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

2-wire Serial EEPROM AT24C512

AVR068: STK500 Communication Protocol. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR435: BLDC/BLAC Motor Control Using a Sinus Modulated PWM Algorithm. 1. Features. 2.

Application Note. 8-bit Microcontrollers. AVR293: USB Composite Device

All-band AM/FM Receiver and Audio Amplifier IC U2510B

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

JTAG ICE.... User Guide

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

STK 500, AVRISP, AVRISP

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

AVR318: Dallas 1-Wire master. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR ONE!... Quick-start Guide. EVK Windows 32104B AVR ONE! 02/10

8-bit Microcontroller. Application Note. AVR313: Interfacing the PC AT Keyboard

ATF1500AS Device Family. Application Note. In-System Programming of Atmel ATF1500AS Devices on the HP3070. Introduction.

AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.

AN3354 Application note

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description

8-bit RISC Microcontroller. Application Note. AVR335: Digital Sound Recorder with AVR and DataFlash

AVR441: Intelligent BLDC Fan Controller with Temperature Sensor and Serial Interface. 8-bit Microcontrollers. Application Note.

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

GIVE WINGS TO YOUR IDEAS TOOLS MANUAL

Application Note Microcontrollers. Guidelines to Keep ADC Resolution within Specification. Introduction. ADC Resolution

FTP-628WSL-110 Bluetooth Configuration Guide

80C51 MCU s. Application Note. Analyzing the Behavior of an Oscillator and Ensuring Good Start-up. Oscillator Fundamentals

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

AVR064: A Temperature Monitoring System with LCD Output. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

Transcription:

Using the EBLoad Tool to Download Applications to the AT91 Evaluation Boards Introduction EBLoad from RTJ Computing (1) is a software tool used to download a user application into the memory of an AT91 evaluation board. It is fully compatible with the SRAM downloader or with the Flash uploader embedded in the evaluation board. The memory type available depends on the boot code revision level of the board. See Table 1. Table 1. Evaluation Board Memory Types Evaluation Board Boot Version SRAM Downloader Flash Uploader EB40A 1.0 and above Yes Yes EB42 1.02 and above Yes Yes EB55 2.2 and above Yes Yes EB63 2.1 and above Yes Not available AT91 ARM Thumb Microcontrollers Application Note This Application Note describes the procedure for download of an application into the SRAM or Flash of an AT91 evaluation board using the EBLoad tool. Note that the example screen shots illustrating this Application Note are those appearing when the AT91EB42 evaluation board is used. However, the procedures described are valid for all AT91 evaluation boards listed in Table 1. Note: 1. For further information on RTJ Computing, refer to AT91 Third Party Development Tools Guide, literature number 1307. Rev. 1

Using the SRAM Downloader The SRAM downloader allows a binary file to be downloaded into the on-chip or onboard SRAM. Refer to Table 2. Table 2. Evaluation Board and SRAM Type Evaluation Board Boot Version On-chip SRAM Address On-board SRAM Address EB40A 1.0 and above 0x100 Not available EB42 1.02 and above Not available 0x2000000 EB55 2.2 and above Not available 0x2000000 EB63 2.1 and above Not available 0x2000000 To check the boot code version: 1. Start a HyperTerminal session (9600 N-8-1). 2. Connect the Serial A port of the Evaluation Board to a COM port of the PC. 3. Power up the board or press the reset button. The following banner appears: Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for AT91EB42 (1.02) Angel Debug Monitor rebuilt on Feb 03 2002 at 16:10:09. The information regarding the boot version follows the name of the AT91 board. In this case, the AT91EB42 board contains V1.02 of the boot software, which corresponds to Table 2. 4. Other ASCII characters may also be displayed but can be ignored. Powering-up the Board To power-up the evaluation board: 1. Connect the Serial A port of the AT91EBXX Evaluation Board to the Serial Port of a host PC using the straight serial cable provided with the Evaluation Board. 2. Power-up the board or press the RESET button (SW5) and, at the same time, hold down the SW2 button. 3. Wait for all the LEDs to light up and then release SW2. LED2 remains lit and the SRAM downloader is activated. 2 Using the EBLoad Tool for Application Download

Using the EBLoad Tool for Application Download Interfacing with EBLoad 1. Start the EBLoad tool. 2. Select Preferences from the File menu. 3. In the window, select the board type and set speed to 115200 baud for all board types. 4. Click OK. 3

5. From the File menu, choose the Open command and select the pathname: <my_hdd:>\at91\software\projects\led_swing_eb42\led_swing_data\sramdownloader\led_swing.bin: The led_swing.bin program can be found on the Atmel web site at http://www.atmel.com/atmel/products/prod35.html, or on the AT91 CD ROM dated January 2002. Make sure that the full AT91 Library package (AT91LibV210_full.exe or above) is installed on your hard disk. If the Light version of the AT91 Library is installed, the driver library, the part library and the demo program must be rebuilt. Note: If the user chooses to work with his own binary file, the following points must be taken into consideration: C Compiler Settings: No Debug Information Linker Settings: No Debug Information RO and RW Address: Pointing to the On-chip or to the On-board SRAM or both. Post-Linker Settings: Must be set to generate a plain binary image (Use ARM FromELF) 6. Once the appropriate demo program has been chosen, the following screen appears: 4 Using the EBLoad Tool for Application Download

Using the EBLoad Tool for Application Download Loading the Binary File into SRAM 1. Choose the upload command from the SRAM menu. The Ebload window appears: 2. Click OK to start the SRAM downloader. 3. Make sure that the download procedure has finished without error: 4. If OK, press SW2 on the board to start the demo or your own program in the SRAM. 5

Using the Flash Uploader Starting the Flash Uploader The Flash uploader downloads a binary file into the on-board Flash memory. Refer to Table 1 for evaluation board memory availability. To start the Flash uploader on the board: 1. Connect the Serial A (or B (1) ) port of the AT91 Evaluation Board to a host PC Serial Port using the straight serial cable provided. 2. Check that JP1 is in STD position. Power-on or press RESET, holding down the SW3 button at the same time. Wait for all LEDs to light up together and then release SW3. LED3 remains lit and the Flash Uploader is activated. Note: 1. For the Serial B port, use a female/female straight serial cable. Interfacing with EBLoad 1. From the File menu, choose the Open command and select the pathname: <my_hdd:>\at91\software\projects\led_swing_eb42\led_swing_data\flash\led_swing.bin The led_swing.bin program can be found on the Atmel web site at http://www.atmel.com/atmel/products/prod35.html, or on the AT91 CD-ROM dated January 2002. Make sure that the full AT91 Library package (AT91LibV210_full.exe or above) is installed on your hard disk. If the Light version of the AT91 Library is installed, the driver library, the part library and the demo program must be rebuilt. Note: If the user chooses to work with his own binary file, the following points must be taken into consideration: C Compiler Settings: No Debug Information Linker Settings: No Debug Information RO address: Pointing to the on-board Flash RW address: Pointing to the on-board SRAM for all boards except EB40A. For the EB40A RW address must point to on-chip SRAM. Post-linker Settings: Must be set to generate a plain binary image (Use ARM FromELF) 6 Using the EBLoad Tool for Application Download

Using the EBLoad Tool for Application Download 2. In the menu Flash, choose Link Synchronize and click OK on the dialog box that appears. 3. Once the Flash uploader is correctly synchronized with the EBLoad tool, the following screen appears: 7

Loading the Binary File into Flash Memory 1. Select the Write option in the Flash menu: 2. Enter the start address of the upper part of the Flash memory to download the binary file and click OK. The start address depends on the board type and can be obtained from Table 3. 8 Using the EBLoad Tool for Application Download

Using the EBLoad Tool for Application Download Table 3. Evaluation Board and Start Address of Upper Part of Flash Memory Evaluation Board EB40A (1.0 and above) EB42 (1.02 and above) EB55 (2.2 and above) EB63 (2.1 and above) Start Address of Upper Part of Flash Memory (in hexadecimal) 0x01100000 0x01100000 0x01100000 0x01100000 Note: It is strongly advised not to write to the address space between 0x1000000 and the addresses given in Table 3. This space contains the boot code and the Angel Debug Monitor. If data is entered here, the boot code and the Angel Debug Monitor are overwritten and the board will not start up. If data is entered in this area, a warning box is displayed: This address space may be written to only if the software application functions correctly and the Angel Debug Monitor is not used as a debug solution. Note that if an ICE interface is used, e.g., Raven/Wiggler, MultiICE or other, the boot code and Angel Debug Monitor are recoverable in case of overwrite. 9

3. Check that the programming sequence has completed without error: 4. If the address in Table 3 is used, the jumper JP1 must be set to the USER position. 5. Reboot the board and check that the demo application or user application starts. 10 Using the EBLoad Tool for Application Download

Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 e-mail literature@atmel.com Web Site http://www.atmel.com Atmel Corporation 2003. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. ATMEL, the Atmel logo and combinations thereof are registered trademarks of Atmel Corporation or its subsidiaries. EBLoad is the trademark of RTJ Computing Pty Ltd. Other terms and product names may be the trademarks of others. Printed on recycled paper. 0M