1.1ScopeThe AT91EB42 Evaluation Board enables real-time code development and evaluation.
It supports the AT91M42800A.
This user guide focuses on the AT91EB42 Evaluation Board as an evaluation and dem-
onstration 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 and Section 6 are two appendixes covering configuration straps and
schematics, including pin connectors.
1.2DeliverablesThe 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 a CD-ROM that contains an evaluation version of the software development toolkit, the documentation that outlines the AT91
microcontroller family and the AT91 C Library.
1.3The AT91EB42
Evaluation Board
The evaluation board is capable of supporting different kinds of debugging systems,
using an ICE interface or the on-board Angel
The board consists of an AT91M42800A together with several peripherals:
! Two serial ports
! Reset push-button
! An indicator that memorizes a reset event
! Four user-defined push-buttons
! Eight LEDs
! A 256K bytes 16-bit SRAM (upgradeable to 1M byte)
™
Debug Monitor.
AT91EB42 Evaluation Board User Guide1-1
Rev. 1708C–ATARM–12-May-05
Page 6
Overview
! A 2M bytes 16-bit Flash (of which 1M byte is available for user software)
! A 4M bytes Serial DataFlash
! An analog-to-digital converter with SPI access
! 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.
2.2RequirementsIn order to set up the AT91EB42 Evaluation Board, the following requirements are
2.3LayoutFigure 2-1 shows the layout of the AT91EB42 Evaluation Board.
The AT91EB42 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 component pins or any other metallic element.
needed:
! The AT91EB42 Evaluation Board itself
! The DC power supply capable of supplying 7V to 12V at 1A (not supplied)
Figure 2-1. Layout of the AT91EB42 Evaluation Board
AT91EB42 Evaluation Board User Guide2-1
Rev. 1708C–ATARM–12-May-05
Page 8
Setting Up the AT91EB42 Evaluation Board
2.4Jumper SettingsJP1 is used to boot standard or user programs. For standard operations, set it in the
STD position.
JP8 is used to select the core power supply of the AT91M42800A. Operations at 2V are
not supported on the current silicon.
For more information about jumpers and other straps, see Section 5.
2.5Powering Up the
Board
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.
A battery is supplied on the AT91EB42. It supplies all on-board devices in the same way
that the external DC power operates. A battery fast-charge controller is provided onboard with a fast-charge indicator (D28), as shown in Figure 2-1.
Figure 2-2. 2.1 mm Socket
positive (+)
or
negative (-)
2.1 mm Connector
The board has a voltage regulator providing +3.3V. The regulator allows the input voltage to range from 7V to 12V. When you switch the power on, the red LED marked
POWER lights up. If it does not, switch off and check the power supply connections.
2.6Measuring
Current
Consumption
on the
The board is designed to generate the power for the AT91 product, and only the AT91
product, through the jumpers JP5 (V
surements of the consumption of the AT91 product to be made.
See Section 5 for further details.
) and JP8 (V
DDIO
DDCORE
). This feature enables mea-
AT91M42800A
2-2AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 9
Setting Up the AT91EB42 Evaluation Board
2.7Testing the
AT91EB42
Evaluation Board
To test the AT91EB42 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 D8 light up in sequential order. If all
the LEDs light up twice, this indicates an error.
The LEDs represent the following test functions:
! D1 for the internal SRAM
! D2 for the external SRAM
! D3 for the external Flash
! D4 reserved
! D5 for the SPI DataFlash
®
! D6 reserved
! D7 for the USART
! D8 for ADC with SPI access
During a complete test cycle, each LED flashes once to inform the user that the corresponding 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 Functional Test Software (FTS) restarts a new cycle.
AT91EB42 Evaluation Board User Guide2-3
1708C–ATARM–12-May-05
Page 10
Setting Up the AT91EB42 Evaluation Board
2-4AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 11
Section 3
The On-board Software
3.1AT91EB42
Evaluation Board
3.2Boot Software
Program
The AT91EB42 Evaluation Board embeds an AT49BV162A Flash memory device programmed with default software. Only the lowest 8 x 8 KB sectors are used. The
remaining sectors are user definable, and can be programmed using one of the Flash
downloader “Flash_16x4” solutions offered in the AT91 Library.
When delivered, the Flash memory device contains:
! the Boot Software Program
! the Functional Test Software (FTS)
! the Flash Uploader
! the power-down function
! the Angel Debug Monitor
! a default user boot with a default application (LED Swing Application)
The Boot Software Program and Functional Test Software (FTS) are in sectors 0 and 1
of the Flash. These sectors are not locked in order to provide an easy on-board
upgrade. The user must avoid overwriting these sectors.
The Boot Software Program configures the AT91M42800A, 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 AT91M42800A boots from address 0x01100000 in the Flash,
which must have a user-defined boot.
The Boot Software Program first initializes the master clock frequency at 32.768 MHz.
The EBI then executes the REMAP procedure and 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.
AT91EB42 Evaluation Board User Guide3-1
Rev. 1708C–ATARM–12-May-05
Page 12
The On-board Software
! When the SW2 button is pressed:
– Reserved
! When the SW3 button is pressed:
– All the LEDs light up together.
– The D3 LED remains lit when SW3 is released.
– The Flash uploader is activated.
! When the SW4 button is pressed:
– All the LEDs light up together.
– The D4 LED remains lit when SW4 is released.
– The power-down function is activated.
! When no buttons are pressed:
– Branch at address 0x01006000.
– The Angel Debug Monitor starts from this address by recopying itself in
external SRAM.
3.3Programmed
Default Memory
Mapping
Table 3-1 defines the mapping defined by the boot program.
Table 3-1. Memory Map
Part NameStart AddressEnd AddressSizeDevice
U10x010000000x011FFFFF2M Bytes Flash
AT49BV162A
U2 - U30x020000000x0203FFFF256K Bytes SRAM
The Boot Software Program, Functional Test Software (FTS), Flash Uploader and the
power-down demonstration are in sectors 0 and 1 of the Flash device. Sectors 3 to 8
support the Angel Debug Monitor.
Sector 24 at address 0x0110 0000 can be programmed with a user application to be
debugged. This sector is mapped at address 0x0100 0000 (or 0x0 after a reset) when
the jumper JP1 is in the USER position.
3.4Flash UploaderThe Flash Uploader included in the EB42 Boot Software is the same Flash Uploader
factory-programmed in the Flash-based AT91 devices, the AT91FR4042 and the
AT91FR40162/S. The Flash Uploader allows programming to Sector 24 of Flash
through a serial port. Either of the on-chip USARTs can be used by the Flash Uploader.
To boot from the application downloaded in Sector 24, the downloading address must
be 0x01100000. The boot starts the Flash Uploader if the SW3 button is pressed at
reset.
The procedure is as follows:
1. Connect the Serial A or B port of the AT91EB42 Evaluation Board to a host PC
Serial port using the straight serial cable provided.
2. Start the AT91Loader.exe program available in the AT91 Library on the host computer. The AT91 Loader must be configured beforehand. See the “Readme.pdf”
file in folder <CDROM>\ToolBox\host_tools\Dev PC windev\AT91Loader\Doc.
3-2AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 13
The On-board Software
3. Check JP1 is in STD position. Power-on or press RESET, holding down the SW3
button simultaneously. Wait for all LEDs to light up together and then release
SW3. LED3 remains lit. If the AT91Loader is configured in automatic mode, the
download starts. Wait for the download to end.
4. Put JP1 in USER position and press RESET button. The application downloaded
starts.
For further details, see the application note “Crystal Oscillator and PLL Considerations
for AT91M42800A and AT91M55800A”, literature number 1740A. A PLL Filter Calculator Tool is also available. See “Automatic_calculation_xls.zip”.
3.5Power-down
Demonstration
3.6Angel Debug
Monitor
The AT91EB42 Evaluation Board is delivered with a battery unit to supply the board
when the main power supply is removed. The aim of the power-down demonstration is
to save the battery unit. When the power-down function is started, the main clock of the
AT91M42800A is switched to the slow clock oscillator at 32.768 kHz. The processor is
put in IDLE mode and all peripheral clocks are turned off. The power-down mode is indicated by LED4 flashing every 10 seconds. The boot starts the power-down
demonstration if the SW4 button is pressed at reset.
The procedure is as follows:
1. Power-on or press RESET, holding down the SW4 button simultaneously.
2. Wait for all LEDs to light up and then release SW4. LED4 remains lit for
3 seconds and light off. Then LED4 flashes every 10 seconds.
3. Press SW4 or the reset button to re-start the board. When SW4 is pressed,
the power-down demonstration re-configures the AT91M42800A to run at
32.768 MHz and branches to Angel.
The Angel Debug Monitor is located in the Flash from 0x01006000 up to 0x01011FFF.
The boot program starts it if no button is pressed at reset.
When Angel starts, it recopies itself in SRAM in order to run faster. The SRAM used by
Angel is from 0x02020000 to 0x0203FFFF, i.e., the highest half part of the SRAM.
The Angel on the AT91EB42 Evaluation Board can be upgraded regardless of the version programmed on it.
Note that if the debugger is started through ICE while the Angel monitor is on, the
Advanced Interrupt Controller (AIC) and the USART channel are enabled.
3.7Programmed
Default Speed
AT91EB42 Evaluation Board User Guide3-3
As the speed of the AT91M42800A is programmable, the Boot Software Program initializes the device to run as fast as possible, i.e., at 32.768 MHz. The Boot Software
Program and the Functional Test Software are run at this speed. When Angel is started,
it also runs at 32.786 MHz and the user should not modify this frequency without reprogramming the speed of the USARTs.
1708C–ATARM–12-May-05
Page 14
The On-board Software
3-4AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 15
Section 4
Circuit Description
4.1AT91M42800A
Processor
4.2Expansion
Connectors and
JTAG Interface
4.2.1I/O Expansion
Connector
Figure 6-1 on page 6-2 shows the AT91M42800A. The footprint is for a 144-pin TQFP
package.
Strap CB20 enables the user to choose between the standard ICE debug mode and the
JTAG boundary scan mode of operation.
The operating mode is defined by the state of the JTAGSEL input detected at reset.
Jumper JP5 (see Figure 6-8 on page 6-9 in Section 6, “Appendix B – Schematics”) can
be removed by the user to allow measurement of the consumption of the whole microcontroller (V
microcontroller consumption (V
The two expansion connectors, I/O expansion connector and EBI expansion connector,
and the JTAG interface are described below.
The I/O and EBI expansion connectors’ pinout and position are compatible with other
AT91 evaluation boards (except the I/O expansion connector pinout and position of the
EB40) so that users can connect their prototype daughter boards to any of these evaluation boards.
The I/O expansion connector makes the general-purpose I/O (GPIO) lines, VCC3V3
and Ground, available to the user. Configuration straps CB2, CB3, CB4, CB11, CB13,
CB14, CB15, CB17, CB18 and CB19 are used to select between the I/O lines being
used by the evaluation board or by the user via the I/O expansion connector.
DDIO
and V
DDCORE
). Jumper JP8 can be removed to measure the core
DDCORE
).
4.2.2EBI Expansion
Connector
4.2.3JTAG InterfaceAn ARM
AT91EB42 Evaluation Board User Guide4-1
The schematic (see Figure 6-4 on page 6-5 in Section 6, “Appendix B – Schematics”)
also shows the bus expansion connector. The 32 x 2 connector allows the user to
access the data bus, all control bus signals and oscillator output. VCC3V3 and ground
are also available on this connector.
Configuration strap CB1, when open, allows the user to connect the EBI expansion connector to the MPI expansion connector of an AT91EB63 evaluation board without any
conflict.
®
-standard 20-pin box header (P5) is provided to enable connection of an ICE
interface to the JTAG inputs on the AT91. This allows code to be developed on the
board without using system resources such as memory and serial ports.
Rev. 1708C–ATARM–12-May-05
Page 16
Circuit Description
4.3MemoriesThe schematic (see Figure 6-3 on page 6-4 in Section 6, “Appendix B – Schematics”)
shows one AT49BV162A 2M bytes 16-bit Flash, one AT45DB321 4M bytes serial
DataFlash, one AT24C512 64K bytes EEPROM, one AT25256 32K Bytes EEPROM
and two 128K/512K x 8 SRAM devices.
Note:The AT24C512 64K byte EEPROM and the AT25256 32K byte EEPROM are
not mounted.
4.4Analog-to-digital
Converter
4.5Power and
Crystal Quartz
An on-board 4-channel, 10-bit ADC device (TLV1504 by Texas Instruments) is featured
on the AT91EB42. This device is interfaced to the AT91M42800A via the SPIA peripheral and embeds its voltage reference equal to 2V. Four channels are used on the
AT91EB42 for the following measurements:
! Channel 0 is used to measure the temperature near the 32.768 kHz crystal.
! Channel 1 is dedicated to supervise the External Power Supply.
! Channel 2 is dedicated to supervise the Battery Power Supply.
! Channel 3 is dedicated to supervise the V
Each ADC channel is fitted on the I/O extension connector and can be used in other
applications. For this reason, each ADC input can be taken away from its function by its
appropriate jumper.
The AT91M42800A master clock is derived from a 32.768 kHz crystal. The on-chip lowpower oscillator together with two PLL-based frequency multipliers and the prescaler
results in a programmable master clock between 500 Hz and 33 MHz. A temperature
sensor has been placed near the 32.768 kHz crystal and the analog signal output has
been fitted to Channel 0 of the on-board ADC.
Two sets of components for the PLL filters are fitted by default on the board (see Figure
6-6 on page 6-7 in Section 6, “Appendix B – Schematics”). They are calculated to provide a 16.77 MHz (PLLA: multiplier factor of 512 and settling time of 600 µs) or a 32.768
MHz (PLLB: multiplier factor of 1000 and settling time of 6 ms) master clock frequency.
DDCORE
.
For further details, see the application note “Crystal Oscillator and PLL Considerations
for AT91M42800A and AT91M55800A”, literature number 1740A. A PLL Filter Calculator Tool is also available. See “Automatic_calculation_xls.zip”.
The voltage regulator provides 3.3V to the board and will light the red POWER LED
(D11) when operating.
Power can be applied via the 2.1 mm connector to the regulator in either polarity
because of the diode-rectifying circuit. Another regulator allows the user to power the
AT91M42800A core with 3.3V or 1.8V by means of the JP8 jumper.
All functions can be supplied by the on-board battery. A connector permits the user to
disconnect the battery. The type of battery and connection to be used are shown in Section 6 of this user guide. This type of battery will ensure the power supply of the board
for approximately one hour. A battery fast-charge controller is provided on-board to
charge it and maintains the full charge. The user is warned while the fast-charge is
started via the on-board indicator (D28) or a logical signal on I/O port PB18.
4-2AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 17
Circuit Description
4.6Push-buttons,
LEDs, Reset and
Serial Interfaces
The IRQ0, TIOA0, PB6 and PB21 switches are debounced and buffered.
A supervisory circuit has been included in the design to detect and consequently reset
the board when the 3.3V supply voltage drops below 3.0V. Note that this voltage can be
changed depending on the board production series. The supervisory circuit also provides a debounced reset signal. This device can also generate the reset signal in case
of watchdog timeout as the pin NWDOVF of the AT91M42800A is connected to its input
MR
.
The assertion of this reset signal will light up the red RESET LED (D10). By pressing the
CLEAR RESET push-button (S1), the LED can be turned off.
Another supervisory circuit initializes separately the microcontroller-embedded
JTAG/ICE interface when the 3.3V supply voltage drops below 3.0V. Note that this voltage can be changed, depending on the board production series. These separated reset
lines allow the user to reset the board without resetting the JTAG/ICE interface while
debugging.
The schematic (see Figure 6-5 on page 6-6 in Section 6, “Appendix B – Schematics”)
also shows eight general-purpose LEDs connected to Port B PIO pins (PB8 to PB15).
Two 9-way D-type connectors (P3/4) are provided for serial port connection.
Serial Port A (P3) is used primarily for host PC communication and is a DB9 female con-
nector. TXD and RXD are swapped so that a straight-through cable can be used. CTS
and RTS are connected together, as are DCD, DSR and DTR.
Serial Port B (P4) is a DB9 male connector with TXD and RXD obeying the standard
RS-232 pinout. Apart from TXD, RXD and ground, the other pins are not connected.
LEDs are connected to the TX and RX signals of both serial ports and show activity on
these serial links.
A MAX3223 device (U10) and associated bulk storage capacitors provide RS-232 level
conversion.
4.7Layout DrawingThe layout diagram (see Figure 6-1 on page 6-2 in Section 6, “Appendix B – Schemat-
ics”) shows an approximate floor plan for the board. This has been designed to give the
lowest board area, while still providing access to all test points, jumpers and switches on
the board.
The board is provided with four mounting holes, one at each corner, into which feet are
attached. The board has two signal layers and two power planes.
AT91EB42 Evaluation Board User Guide4-3
1708C–ATARM–12-May-05
Page 18
Circuit Description
4-4AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 19
Section 5
Appendix A – Configuration Straps
5.1Functional Pin
Assignment
The following table provides a list of each peripheral used on the AT91EB42 Evaluation
Board.
Table 5-1. Functional Pin Assignment
Pin DesignationFunction Used on the AT91EB42
NCS0Chip Select signal for the Flash Memory (AT49BV162A)
NCS1Chip Select signal for the Static RAMs
PB7/TIOA0General I/O input line for the User Interface Push-button (SW1)
PA0/IRQ0General I/O input line for the User Interface Push-button (SW2)
PB6/TCLK0General I/O input line for the User Interface Push-button (SW3)
PB21/TCLK5General I/O input line for the User Interface Push-button (SW4)
PB8/TIOB0General I/O output line for the User Interface Light Indicator (Led D1)
PB9/TCLK1General I/O output line for the User Interface Light Indicator (Led D2)
PB10/TIOA1General I/O output line for the User Interface Light Indicator (Led D3)
PB11/TIOB1General I/O output line for the User Interface Light Indicator (Led D4)
PB12/TCLK2General I/O output line for the User Interface Light Indicator (Led D5)
PB13/TIOA2General I/O output line for the User Interface Light Indicator (Led D6)
PB14/TIOB2General I/O output line for the User Interface Light Indicator (Led D7)
PB15/TCLK3General I/O output line for the User Interface Light Indicator (Led D8)
PA6/TXD0To the RS232 Transceiver device and dedicated for the Serial A
socket
PA7/RXD0To the RS232 Transceiver device and dedicated for the Serial A
socket
PA9/TXD1/NTRITo the RS232 Transceiver device and dedicated for the Serial B
socket
PA10/RXD1To the RS232 Transceiver device and dedicated for the Serial B
socket
PB18/TCLK4General I/O input line to detect the fast-charge mode for the battery
PB16/TIOA3General I/O output line to generate SCL signal dedicated for a two
wire bus access
AT91EB42 Evaluation Board User Guide5-1
Rev. 1708C–ATARM–12-May-05
Page 20
Appendix A – Configuration Straps
Table 5-1. Functional Pin Assignment (Continued)
Pin DesignationFunction Used on the AT91EB42
PB17/TIOB3General I/O input/output line to generate SDA signal dedicated for a
two wire bus access
PA13/MOSIATo generate SPI bus Access to the DataFlash, EEPROM and ADC
devices
PA12/MISOATo generate SPI bus Access to the DataFlash, EEPROM and ADC
devices
PA11/SPCKATo generate SPI bus Access to the DataFlash, EEPROM and ADC
devices
PA14/NPCSA0/NSSAChip Select signal for the SPI device: DataFlash
PA15/NPCSA1Chip Select signal for the SPI device: EEPROM
PA16/NPCSA2Chip Select signal for the SPI device: ADC
PA3/IRQ3Interrupt line from the ADC device
5.2Configuration
Straps (CB1 - 23,
JP1 - 8)
By adding the I/O and EBI expansion connectors, users can connect their own peripherals to the evaluation board. These peripherals may require more I/O lines than available
while the board is in its default state. Extra I/O lines can be made available by disabling
some of the on-board peripherals or features. This is done using the configuration straps
detailed below. Some of these straps present a default wire (notified by the default mention) that must be cut before soldering the strap.
CB1On-board PB5/A23/CS4 Signal
(1)
Closed
OpenAT91 PB5/A23/CS4 signal is not connected to the EBI expansion connector
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
CB3On-board IRQ3 Signal
(1)
Closed
OpenAT91 IRQ3 signal is not connected to the external ADC (U20 pin 4). This
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
AT91 PB5/A23/CS4 signal is connected to the EBI expansion connector
(P1-B21).
(P1-B21).
This authorizes users to connect the EBI expansion connector of this board
to the MPI expansion connector of an AT91EB63 Evaluation Board without
conflicting problems.
the wire on the board.
AT91 IRQ3 signal is connected to the external ADC (U20 pin 4).
authorizes the user to use this signal for other applications via the I/O
Expansion connector (P2 - A8).
the wire on the board.
5-2AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 21
Appendix A – Configuration Straps
CB4ADC Chip Select Line
Closed
(1)
ADC (U20) control lines enabled.
OpenADC (U20) control lines disabled. This authorizes users to connect the
corresponding chip select line to their own resources via the I/O expansion
connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB5Standard Power Supply Supervisory Enabling
Closed
(1)
Standard power supply is supervised by the ADC (U20) channel 1 via a
resistor bridge. The ratio is set to 0.1013 so that the standard power supply
can be supervised up to 15V.
OpenStandard power supply is not connected to the ADC (U20) channel 1. This
allows the user to connect the corresponding ADC channel to their own
resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB6VDDCORE Voltage Monitoring
Closed
(1)
The ADC channel 3 is connected at the V
power supply. This allows
DDCORE
the user to tune the frequency clock according to the core voltage.
OpenThe ADC channel 3 is not connected and it is available on the I/O expansion
connector for user application.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB7Battery Power Supply Supervisory Enabling
Closed
(1)
Battery power supply is supervised by the ADC (U20) channel 2 via a
resistor bridge. The ratio is set to 0.24 so that the battery voltage range can
be supervised (5.5V to 6.2V).
OpenBattery power supply is not connected to the ADC (U20) channel 2. This
authorizes the user to connect the corresponding ADC channel to their own
resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB8Ambient Temperature Monitoring
Closed
(1)
The ADC channel 0 is connected to a temperature sensor near the
32.768 kHz crystal. This allows the user to evaluate the frequency drift
according to the ambient temperature.
OpenThe ADC channel 0 is not connected and it is available on the I/O expansion
connector for the user application.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
AT91EB42 Evaluation Board User Guide5-3
1708C–ATARM–12-May-05
Page 22
Appendix A – Configuration Straps
CB9On-board Boot Chip Select
Closed
(1)
AT91 NCS0 select signal is connected to the Flash memory.
OpenAT91 NCS0 select signal is not connected to the Flash memory. This
authorizes the user to connect the corresponding select signal to their own
resources via the EBI expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB10Flash Reset
Closed
(1)
The on-board reset signal is connected to the Flash NRESET input.
OpenThe on-board reset signal is not connected to the Flash NRESET input.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB12Boot Mode Strap Configuration
Open
(1)
BMS AT91 input pin is set for the microcontroller to boot on an external 16-bit
memory at reset.
ClosedBMS AT91 input pin is set for the microcontroller to boot on an external 8-bit
memory at reset.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB13, CB14Two-wire Interface EEPROM Enabling
Closed
(1)
EEPROM communication enabled.
OpenEEPROM communication disabled. This authorizes users to connect the
corresponding PIO to their own resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB15Serial DataFlash Enabling
Closed
(1)
AT91 NPCSA0 select signal is connected to the serial DataFlash memory.
OpenAT91 NPCSA0 select signal is not connected to the serial DataFlash
memory. This authorizes users to connect the corresponding PIO to their
own resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB16Control Line for the Internal Oscillator
ClosedDisables the internal low frequency oscillator.
(1)
Open
Enables the internal oscillator.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
5-4AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 23
Appendix A – Configuration Straps
CB17SPI EEPROM Enabling
Closed
(1)
EEPROM communication enabled.
OpenEEPROM communication disabled. This authorizes users to connect the
corresponding PIO to their own resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB18R(eturn) TCK ICE Signal Synchronization
(1)
1 - 2
The TCK and RTCK ICE signals are not synchronized with MCKO.
2 - 3The TCK signal from the JTAG interface can be synchronized with the MCKO
signal and returns to the JTAG interface (RTCK).
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB19PB18 End of Fast Charge Signal
Closed
(1)
AT91 PB18 signal is connected to the battery charger (U16), NFASTCHG
output pin.
OpenAT91 PB18 signal is not connected to the battery charger (U16), NFASTCHG
output pin. This authorizes users to connect the corresponding signal to their
own resources via the I/O expansion connector.
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
Note:1. Hardwired default position: To cancel this default configuration, the user should cut
the wire on the board.
CB21, CB22, CB23Charger Device (U16): Programming the Battery Number of Cells
Number of CellsCB21CB22CB23
1OpenClosedClosed
2OpenOpenClosed
4ClosedOpenClosed
(1)
5
OpenClosedOpen
6OpenOpenOpen
8ClosedOpenOpen
AT91EB42 Evaluation Board User Guide5-5
1708C–ATARM–12-May-05
Page 24
Appendix A – Configuration Straps
JP1User or Standard Boot Selection
2 - 3The first half part of the Flash memory is accessible at its base address.
1 - 2The second half part of the Flash memory is accessible at its base address.
This authorizes users to download their own application software in this part
and to boot on it.
JP2Push Button Enabling
OpenSW1-4 inputs to the AT91 are valid.
ClosedSW1-4 inputs to the AT91 are not valid. This authorizes users to connect the
corresponding PIO to their own resources via the I/O expansion connector.
JP3User or Standard Boot Selection
OpenThe RS-232 transceivers are enabled.
ClosedThe RS-232 transceivers are disabled. This authorizes users to connect the
corresponding PIO to their own resources via the I/O expansion connector.
JP4PME Function (Protect Mode Enable)
ClosedThe AT91M42800A is in Protect Mode.
OpenThis is the default mode on the AT91EB42. The AT91M42800A internal
registers are accessible in all processor modes.
JP8Core Power Supply Selection
2 - 3The AT91 core is powered by 3.3V power supply.
1 - 2Not supported on the current microcontroller revision.
5-6AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 25
Appendix A – Configuration Straps
5.3Power
Consumption
Measurement
Strap (JP5)
5.4Ground Links
(JP6)
5.5Increasing
Memory Size
The JP5 strap enables connection of an ammeter to measure the AT91M42800A global
consumption (V
DDCORE
and V
DDIO
) when V
DDCORE
power supply is derived from V
DDIO
(JP8 in 3V3 position). Core consumption can be measured by connecting another
ammeter between JP8 1 - 2 or 2 - 3, depending on the power supply used to power the
core.
The JP6 strap allows the user to connect the electrical and mechanical grounds.
The AT91EB42 Evaluation Board is supplied with two 128K x 8 SRAM memories. If,
however, the user needs more than 256K bytes of memory, the devices can be replaced
with two 512K x 8 3.3V 10/15 ns SRAMs, giving a total of 1024K bytes. The following
references for the 512K x 8 SRAM are available.
ManufacturerReference
Samsung KM68V4002BJ-15 in 36-SOJ-400 package
IDT71V424-15 in 36-pin 400-mil SOJ package (SO36-1)
AT91EB42 Evaluation Board User Guide5-7
1708C–ATARM–12-May-05
Page 26
Appendix A – Configuration Straps
5-8AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 27
Appendix B – Schematics
6.1SchematicsThe following schematics are appended:
! Figure 6-1 – PCB Layout
! Figure 6-2 – AT91EB42 Blocks Overview
! Figure 6-3 – EBI Memories
! Figure 6-4 – I/O and EBI Expansion Connectors
! Figure 6-5 – Push-buttons, LEDs and Serial Interface
Notes: 1. The AT91EB42 board is equipped with SRAM U2/U3 or U4/U5. The difference is in the type of case used. The selection is
2. U18 is wired according to availability.
3. Cannot be seen in Figure 6-1.
(1)
(2)
(2)
(3)
made based on availability.
AT49BV162A-70TI2-Mbyte x 16-bit FlashAtmel
IDT71V424S10YStatic memory:
IDT
128K x 8 - 15 ns/36-pin 400 mil SOJ
IDT71424S10PHStatic memory:
IDT
128K x 8 - 15 ns/44-pin TSOP Type II
MAXIM
Controllers
AT45DB321-TCSerial DataFlash Atmel
TI
SPI protocol (D package)
(4)
4-point socket, male2.54 mm pitch KK® vertical friction
Molex
lock header, series 6410/7395
(1)
4-point connector, female2.54 mm pitch KK crimp terminal
Molex
housing, series 6471
AT91EB42 Evaluation Board User Guide7-3
1708C–ATARM–12-May-05
Page 40
Appendix C – Bill of Materials
7-4AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 41
Section 8
Appendix D – Flash
Memory Mapping
Figure 8-1 shows the embedded software mapping after the remap. It describes the
location of the different programs in the AT49BV162A Flash memory and the division
into sectors.
Figure 8-1. EB42 Flash Memory Software Mapping
0x011FFFFF
Not Used
15 Sectors
(64K Bytes/Sector)
0x01100000
LED Swing Application
(Example)
1M Byte
User Mode
Not Used
Not Used
0x01011FFF
Angel Debug
Monitor
0x01006000
0x01005FFF
Free Sector for
Boot Upgrade
0x01004000
0x01000000
Flash Uploader
Functional Test Software
Boot Program
AT91EB42 Evaluation Board User Guide8-1
14 Sectors
(64K Bytes/Sector)
1 Sector
(64K Bytes/Sector)
5 Sectors
(8K Bytes/Sector) +
1 Sector
(64K Bytes/Sector)
1 Sector
(8K Bytes/Sector)
2 Sectors
(8K Bytes/Sector)
1M Byte
Standard
Mode
Rev. 1708C–ATARM–12-May-05
Page 42
Appendix D – Flash Memory Mapping
8-2AT91EB42 Evaluation Board User Guide
1708C–ATARM–12-May-05
Page 43
Document Details
TitleAT91EB42 Evaluation Board User Guide
Literature Number1708
Revision History
Version CPublication Date: 12-May-05
Revisions since last issue
All pagesRemoved all references to SRAM Downloader
Removed all references to two-wire interface
Changed all occurrences of AT49B1604(A) or AT49BV1614(A) or AT49BV16x4 to
AT49BV162A.
Section 1.3Removed references to:
64K bytes of EEPROM with two-wire access
32K bytes of SPI EEPROM
Fig.1-1Removed the 2 "SERIAL EEPROM" boxes
Section 2.7Changed
- D4 for the EEPROM with two-wire access to D4 reserved
- D6 for the SPI EEPROM to D6 reserved
Section 3.2Replaced the description of "When SW2 button is pressed" by Reserved
Section 3.4Removed
Section 3.5Replaced AT91F40816 and AT91FR4081 by AT91FR4042 and AT91FR40162/S
Section 4.3Added note:
The AT24C512 64K byte EEPROM and the AT25256 32K byte EEPROM are not
mounted.
Appendix ARemoved the table describing CB24
Figure 6-3EBI Memories
Changed AT49BV16X4-90TC to AT49BV162A for U1 part.
Figure 6-9Changed figure names into SPI and TWI Memories.
For U19 & U21 part: Add note NOT MOUNTED
Table 7-1Removed items 74 & 76
Item 60 / "Part" Column --> changed to AT49BV162A-70TI
1708C–ATARM–12-May-05
1
Page 44
Figure 8-1Updated with new memory sizes
2
1708C–ATARM–12-May-05
Page 45
Atmel CorporationAtmel Operations
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Regional Headquarters
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 Tsimshatsui
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
Memory
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
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, USA
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
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
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
Literature Requests
www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Atmel’s products are not
intended, authorized, or warranted for use as components in applications intended to support or sustain life.