Atmel AT91EB40A User Manual

AT91EB40A Evaluation Board
..............................................................................................
User Guide
Table of Contents
Section 1
Overview...............................................................................................1-1
1.2 Deliverables ..............................................................................................1-1
1.3 The AT91EB40A Evaluation Board...........................................................1-2
Section 2
Setting Up the AT91EB40A Evaluation Board...................................... 2-1
2.1 Electrostatic Warning ................................................................................2-1
2.2 Requirements............................................................................................2-1
2.3 Layout .......................................................................................................2-1
2.5 Powering Up the Board.............................................................................2-2
2.6 Measuring Current Consumption on the AT91R40008.............................2-2
Section 3
The On-board Software ........................................................................3-1
3.1 The AT91EB40A Evaluation Board...........................................................3-1
3.2 Boot Software Program.............................................................................3-1
3.3 Programmed Default Memory Mapping....................................................3-2
3.4 Flash Uploader..........................................................................................3-2
3.5 Angel Monitor............................................................................................3-3
Section 4
Circuit Description................................................................................. 4-1
4.2 Expansion Connectors ..............................................................................4-1
4.4 Power and Crystal Quartz .........................................................................4-2
4.5 Push-buttons, LEDs and Serial Interfaces ................................................4-2
4.6 Reset Circuit and JTAG Interface .............................................................4-2
4.7 Layout Drawing .........................................................................................4-3
Section 5
Appendix A – Configuration Straps....................................................... 5-1
5.1 Configuration Straps .................................................................................5-1
5.2 Power Consumption Measurement Straps (JP5A/B, JP7A/B)..................5-3
5.3 Ground Links (JP6) ...................................................................................5-3
5.4 Increasing Memory Size ...........................................................................5-4
AT91EB40A Evaluation Board User Guide i
2635C–ATARM–13-May-05
Section 6
Appendix B – Schematics.....................................................................6-1
6.1 Schematics ...............................................................................................6-1
Section 7
Appendix C – Bill of Materials............................................................... 7-1
Section 8
Appendix D – Flash Memory Mapping.................................................. 8-1
ii AT91EB40A Evaluation Board User Guide
2635C–ATARM–13-May-05
Section 1 Overview

1.1 Scope The AT91EB40A Evaluation Board enables real-time code development and evaluation.

It supports the AT91R40008. This guide focuses on the AT91EB40A Evaluation Board as an evaluation and demon-
stration platform:
! Section 1 provides an overview.
! Section 2 describes how to set up the evaluation board.
! Section 3 details the on-board software.
! Section 4 contains a description of the circuit board.
! Section 5 describes the configuration straps.
! Section 6 shows board schematics.
! Section 7 is the bill of materials for the EB40A.
! Section 8 presents the memory mapping of the on-board software.

1.2 Deliverables The evaluation board is delivered with a DB9 plug-to-DB9 socket straight-through serial

cable to connect the target evaluation board to a PC. A bare power lead with a 2.1 mm jack on one end for connection to a bench power supply is also delivered.
The evaluation board is also delivered with several CD-ROMs: ! The AT91 CD-ROM contains summary and full datasheets, datasheets with electrical
and mechanical characteristics, application notes and Getting Started documents for all evaluation boards and AT91 microcontrollers. An AT91 C Library with prooject examples is also provided. This allows the user to begin evaluating the AT91 ARM Thumb 32-bit microcontroller quickly.
! Third-party evaluation version of Development and Debugging Tools (compiler,
assembler, linker, debugger). Note that evaluation version CD-ROMs from third-party suppliers are subject to change.
The evaluation board is capable of supporting different kinds of debugging systems, using an ICE interface or the on-board Angel
Debug Monitor.
AT91EB40A Evaluation Board User Guide 1-1
Rev. 2635C–ATARM–13-May-05

1.3 The AT91EB40A Evaluation Board

The board consists of an AT91R40008 together with several peripherals:
! Two serial ports
! Reset push button
! An indicator that memorizes a reset appearance
! Four user-defined push buttons
! Eight LEDs
! A footprint of a 256-KB 16-bit SRAM (upgradeable to 1M byte)
! 2-MB 16-bit Flash (of which 1M byte is available for user software)
! A footprint of an extra Flash memory
! 2 x 32-pin EBI expansion connectors
! 2 x 32-pin I/O expansion connectors
! 20-pin JTAG interface connector
If required, user-defined peripherals can also be added to the board. See Section 5 for details.
1-2 AT91EB40A Evaluation Board User Guide
2635C–ATARM–13-May-05
Figure 1-1. AT91EB40A Evaluation Board Block Diagram
AT91R40008
Reset
Controller
JTAG
ICE
Connector
ARM7TDMI
Processor
256K Byte
RAM
ASB
EBI
SRAM
(1)
Flash
EBI
Expansion
Connector
66 MHz
Crystal
Push-buttons
Power Supply
VDDCORE (1.8V)
VDDIO (3.3V)
Clock
Generator
Interrupt
Controller
PIO
APB
AMBA Bridge
PIO
Timer
Counters
Serial
Ports
LEDs
RS232
Transceivers
I/O Expansion Connector
DB9 Serial
Connectors
Note: No external SRAM is fitted on the board. See section “Memories” on page 4-1 for more details.
AT91EB40A Evaluation Board User Guide 1-3
2635C–ATARM–13-May-05
1-4 AT91EB40A Evaluation Board User Guide
2635C–ATARM–13-May-05

Section 2

Setting Up the
AT91EB40A Evaluation Board

2.1 Electrostatic Warning

2.2 Requirements In order to set up the AT91EB40A evaluation board, the following requirements are

2.3 Layout Figure 2-1 shows the layout of the AT91EB40A evaluation board.

The AT91EB40A evaluation board is shipped in protective anti-static packaging. The board must not be subjected to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the board. Avoid touching the compo­nent pins or any other metallic element.
needed:
! The AT91EB40A evaluation board itself.
! The DC power supply capable of supplying 7V to 9V at 1A (not supplied).
Figure 2-1. Layout of the AT91EB40A Evaluation Board
AT91EB40A Evaluation Board User Guide 2-1
Rev. 2635C–ATARM–13-May-05

2.4 Jumper Settings JP1 is used to boot standard or user programs. For standard operations, set it in the

STD position; for user programs, set it to the USER position. CB2 is used to select the core power supply between 1.8V and 3.3V.
For more information on the CB2 setting, see “Configuration Straps” on page 5-1 in Sec­tion 5.

2.5 Powering Up the Board

2.6 Measuring Current Consumption on the AT91R40008

DC power is supplied to the board via the 2.1 mm socket (J1) shown in Figure 2-2. The polarity of the power supply is not critical. The minimum voltage required is 7V.
Figure 2-2. 2.1 mm Socket
positive (+) or negative (-)
2.1 mm Connector
The board has a voltage regulator providing +3.3V and 1.8V. The regulator allows the input voltage to range from 7V to 9V. When you switch the power on, the red LED D11 marked PWR lights up. If it does not, switch off and check the power supply connections.
The board is designed to generate the power for the AT91 product, and only the AT91 product, through the jumpers JP5A/JP5B (V ture enables the current consumption of the AT91 product to be measured.
See “Power Consumption Measurement Straps (JP5A/B, JP7A/B)” on page 5-3 in Sec­tion 5 for further details.
) and JP7A/JP7B (V
DDIO
DDCORE
). This fea-
2-2 AT91EB40A Evaluation Board User Guide
2635C–ATARM–13-May-05

2.7 Testing the AT91EB40A Evaluation Board

To test the AT91EB40A Evaluation Board, perform the following procedure:
1. Hold down the SW1 button and power-up the board, or generate a reset and wait for the light sequence on each LED to complete. All the LEDs light.
2. Release the SW1 button. The LEDs D1 to D5 light up in sequential order. If all the LEDs light up twice, this indicates an error. Note that LEDs D6 to D8 are reserved for future use.
The LEDs represent the following test functions:
! D1 for the internal SRAM
! D2 for the external SRAM
(1)
! D3 for the external Flash
! D5 for the USART
! D6 reserved
! D7 reserved
! D8 reserved
During a complete test cycle, each LED flashes once to inform the user that the corre­sponding function has been successfully tested. If an error is detected, all the LEDs will light up twice. After a complete test cycle, the embedded self-test software called FTS (Functional Test Software) restarts a new cycle.
Note: 1. At factory, no external SRAM is mounted on the board. The test shows an error. If the
user upgrades the board with external SRAM, the test runs normally.
AT91EB40A Evaluation Board User Guide 2-3
2635C–ATARM–13-May-05
2-4 AT91EB40A Evaluation Board User Guide
2635C–ATARM–13-May-05

Section 3

The On-board Software

3.1 The AT91EB40A Evaluation Board

3.2 Boot Software Program

The AT91EB40A Evaluation Board embeds an AT49BV1604 or AT49BV1614 Flash memory device programmed with default software.
When delivered, the Flash memory device contains:
! the Boot Software Program
! the Functional Test Software (FTS)
! the Flash uploader
! the Angel Debug Monitor
! a default user boot with a default application (LED Swing Application)
The boot software program, functional test software (FTS), and the Flash downloader are in sectors 0 and 1 of the Flash device. Sectors 3 to 8 support the Angel Debug Mon­itor. The default user boot with a default application is located in sector 24.
These sectors are not locked in order to provide an easy on-board upgrade. The user must avoid overwriting these sectors. The remaining sectors are user definable, and can be programmed using one of the Flash downloader "Flash_16x4" solutions offered in the AT91 library. See “Appendix D – Flash Memory Mapping” on page 8-1 for further details.
The boot software program configures the AT91R40008, and thus controls the memory and other board components.
The boot software program is started at reset if JP1 is in the STD position. If JP1 is in the USER position, the AT91R40008 boots from address 0x01100000 in the Flash, which must have a user-defined boot.
The boot software program first initializes the EBI, then executes the REMAP procedure and, finally, checks the state of the buttons as described below.
! When the SW1 button is pressed:
All the LEDs light up together. The D1 LED remains lit when SW1 is released. The Functional Test Software (FTS) is started.
! The SW2 button is reserved.
AT91EB40A Evaluation Board User Guide 3-1
Rev. 2635C–ATARM–13-May-05
Loading...
+ 28 hidden pages