Atmel AT91EB01 User Manual Download Page 15

Setting Up the AT91EB01 Evaluation Board

AT91EB01 Evaluation Board User Manual

3-3

3.5.1

Measuring Current 
Consumption on the 
AT91M40400 

The board is designed so as to generate the whole power supply of the AT91 device,
and only the AT91 device through the wirelink WL2. This feature enables measure-
ments to be made of the current consumption of the AT91 device.

3.6

Getting Started 
with the 
AT91EB01

In the following, it is assumed that:

the ARM Software Development Toolkit has been installed,

there are no default options for the APM tools, and

the directory “Bin\Config” of the ARM setup is empty (except “readme.txt”).

3.6.1

Testing the Board

Connect the straight cable between Serial A and Serial B. With the FIQ button pressed
down, power up the board, or generate a reset. The 3 LEDs (green, amber, red) light up.
Release the FIQ. The 3 LEDs go off and then blink once. 

Press the TIOB1 button. The red LED lights up. Release the TIOB1. The red LED goes
off. If the board has 512 Kbytes SRAM, the green LED blinks twice. If the board has
2048 Kbytes SRAM, the green LED blinks four times. 

Press the FIQ button. The amber LED lights up. Release the FIQ. The amber LED goes
off and the green LED blinks four times. If the green LED blinks twice and then the red
LED blinks twice, the straight cable is not connected. 

Press the IRQ0 button. The amber and red LEDs light up. Release the IRQ0. The LEDs
go off and the green LED blinks twice. 

3.6.2

Building the 
Software Library

Copy the AT91 library (complete folder and sub-folder) onto your hard disk in a directory
referred to in the following description as <MyFolderAT91>.

Copy/move the files from the directory “<MyFolderAT91>\Template” in the directory
“Template” of the ARM setup.

Start the ARM Project Manager (APM).

Open the project “at91_l16” in the directory “<MyFolderAT91>\Library” and build the 16-
bit THUMB library.

Open the project “at91_l32” in the directory “<MyFolderAT91>\Library” and build the 32-
bit ARM library.

3.6.3

Use with the Angel 
Debugger

Note:

 Angel can be run only when LK2 is in position MAST (= 32,768 MHz).

Build the project for the Angel Debug System variant.

Open the project “led_blink.apj” in the directory “<MyFolderAT91>\Examples\ 
led_blink”.

Select the variant “EB01SramAngel”, and build the application.

Connect the AT91EB01 on your host computer.

Connect the COM port of the PC with the SERIAL A port of the AT91EB01 using the 
straight cable.

Check the SW1 switch is on the “LOWER_MEM” position.

Supply power to the AT91EB01: the amber LED lights up.

Configure the debugger to work with Angel:

Start the ARM Debugger for Windows (ADW) in Armulate Mode. 

Activate the menu “Options – Configure Debugger”.

If not already done, add the “remote_a.dll” target environment to the debugger.

Select the target environment “remote_a.dll” and configure it:

- “Serial” Remote Connection

- Heartbeat enabled

- COMx port at 38400 baud

Summary of Contents for AT91EB01

Page 1: ...AT91EB01 Evaluation Board USER MANUAL...

Page 2: ......

Page 3: ...ion Board 3 1 3 1 Electrostatic Warning 3 1 3 2 Requirements 3 1 3 3 Layout 3 1 3 4 Jumper Settings 3 2 3 5 Powering Up the Board 3 2 3 5 1 Measuring Current Consumption on the AT91M40400 3 3 3 6 Gett...

Page 4: ...l 3 12 3 10 3 Configuring the armsd Debugger to Use Angel 3 12 3 11 Using Angel 3 12 3 11 1 Memory Mapping 3 13 3 11 2 Interrupt Handling 3 13 3 11 3 Stacks Setup 3 13 3 12 Using the Flash Downloader...

Page 5: ...Table of Contents iii 6 2 Surface Mount Links LK1 LK3 9 6 1 6 3 Increasing Memory Size 6 2 Section 7 Appendix B Schematics 7 1...

Page 6: ...Table of Contents iv...

Page 7: ...ables The evaluation board is supplied with a DB9 plug to DB9 socket straight through serial cable to connect the target evaluation board to a PC There is also a bare power lead with a 2 1 mm jack on...

Page 8: ...h 64K bytes is available for user software 20 pin JTAG interface connector If required user defined peripherals can also be added to the board See Appendix A Configuration Links and SRAM Bank 1 on pag...

Page 9: ...environment for the devel opment of AT91 targeted software on non ARM based host systems A target system is not necessary to use the ARMulator The ARMulator is included in the ARM Software Developmen...

Page 10: ...gh EmbeddedICE is generally non intrusive there are two exceptions When an ARM debugger is started it attempts to find out the state of the target microcontroller To do this it halts the target and in...

Page 11: ...ions on the AT91 Evaluation Board bring into operation new hardware that includes an ARM processor port operating systems to the AT91 microcontroller These activities require some understanding of how...

Page 12: ...xecute the application code An ICE does not provide a memory emulation EmbeddedICE and Multi ICE may pollute the exception vectors if semihosting and or vector catch are enabled EmbeddedICE and Multi...

Page 13: ...ing the component pins or any other metallic element 3 2 Requirements Requirements in order to set up the AT91EB01 Evaluation Board are the host computer running the ARM Software Development Toolkit a...

Page 14: ...x A Configuration Links and SRAM Bank 1 on page 6 1 3 5 Powering Up the Board DC power is supplied to the board via the 2 1mm socket J4 shown below in Figure 1 The polarity of the power supply is not...

Page 15: ...button The amber and red LEDs light up Release the IRQ0 The LEDs go off and the green LED blinks twice 3 6 2 Building the Software Library Copy the AT91 library complete folder and sub folder onto yo...

Page 16: ...f the PC to the DB09 connector of the Embedded ICE Box with the crossed cable not delivered with the AT91EB01 Connect the parallel port of the PC to the DB25 connector of the Embedded ICE Box with the...

Page 17: ...t Refer to the sections above Execute the programming sequence as described in the section Using the Flash Downloader on page 3 13 top_of_memory 0x02200000 Note This line should not be entered if usin...

Page 18: ...a jumper or a link on the footprint J7 Note If the lower 64K are not protected the user must be especially careful Even though one of the features of the boot is the ability to restore Angel it canno...

Page 19: ...essed down Wait for the red LED to light up and then release the TIOB1 button 4 Start the BINCOM utility located in the folder MyFolderAT91 Tools on the host computer Select the port and the baud rate...

Page 20: ...in 5 Power up the EmbeddedICE interface and press the red reset button 6 On releasing the reset button the LED on the unit lights up If the LED immedi ately blinks off once for a fraction of a second...

Page 21: ...an image you must reconfigure the EmbeddedICE Error during initialization Recoverable error in RDI initialization Target processor not stopped Note Ensure that the selected configuration is correct ot...

Page 22: ...nd agent facilities from within armsd listconfig lists the configurations known to the debug agent Note that the first configuration listed is the default for the version of the agent in use selectcon...

Page 23: ...Configu ration property sheet is displayed 6 Click on the Target tab 7 If this is the first time using Multi ICE click on add and select multi ice dll If not jump to step 9 8 Click on OK 9 Select Mul...

Page 24: ...tor When the configuration has completed successfully a mes sage similar to the following is displayed in the host console window Angel Debug Monitor serial 1 04 Advanced RISC Machines SDT 2 11a for A...

Page 25: ...n in the new defined interrupt handling to test if the interrupt which has occurred comes from the USART 0 Interrupt source number 2 and in this case branch at address saved in AIC_SVR 2 3 11 3 Stacks...

Page 26: ...mming flash 1 sector Flash written and verified successfully The sequence described above can be automatically executed by using a command file Build a file command_file with the commands top_of_memor...

Page 27: ...Boot ing with the Flash on page 3 5 In any case when an attempt to download the lower 64K is done the Flash downloader asks for a confirmation Extra caution is required when the lower 64K are not prot...

Page 28: ...Setting Up the AT91EB01 Evaluation Board 3 16 AT91EB01 Evaluation Board User Manual...

Page 29: ...Memory 7 H7FFFFFFF H70000000 1 4 16 or 64M bytes not used undefined External Memory 6 H6FFFFFFF H60000000 1 4 16 or 64M bytes not used undefined External Memory 5 H5FFFFFFF H50000000 1 4 16 or 64M by...

Page 30: ...ry 0 H01FFFFFF H01000000 128K bytes 16 bit Flash 1M byte page size undefined On chip RAM reboot H00300FFF H00300000 4K bytes Reserved On chip device H002FFFFF H00200000 1M byte Reserved On chip device...

Page 31: ...on a 0 1 2 54 mm pitch to gain access to the data address chip select read write oscillator output and wait state pins Pin 8 on this connector can be used to apply an external clock frequency to the b...

Page 32: ...1 P4 and TIOB0 P2 5 7 Serial Interface Two 9 way D type connectors J5 6 are provided for serial port connection Serial port A J5 is used primarily for Host PC communication and is a DB9 Female connect...

Page 33: ...nes can be made available by disabling some of the on board peripherals This is done using the surface mount links detailed below If these links need to be changed then a fine tipped soldering iron is...

Page 34: ...he two SRAM sizes cannot be mixed LK4 Function A C RXD lines are set tri state on the RS 232 transceiver so that the receiver signals to AT91 can be used for external I O via the I O connector B C Rec...

Page 35: ...rupts and LEDs Figure 5 I O Expansion Figure 6 Power Crystal Oscillator and Clock Distribution Figure 7 AT91M40400 in TQFP Package Figure 8 Serial Interface The pin connectors are indicated on the sch...

Page 36: ...OA1 TIOB0 IRQ0_ONB SERIAL INTERFACE RS232 TXD_ONB 1 0 RXD 1 0 OSCILLATOR POWER OSCPOWER AT91CLK EBI_MCKI I O EXPANSION IOEXP SCK 1 0 TIOA 2 0 TIOB 2 0 TXD 1 0 RXD 1 0 TCLK 2 0 IRQ 2 0 P12 FIQ TXD_ONB...

Page 37: ...74LVC139D GROUND SIGNAL FROM DB9 PLUG WILL BE PLACED OVER CHASSIS PLANE AND WILL CONNECT TO GROUND NEAR STARPOINT 124 3mm 112mm SRAM SRAM SRAM 0 1 PITCH LEAVE SPACE AROUND 2x32 HEADER TO FIT A DIN 416...

Page 38: ...9 A18 A20 A18 A20 SW_A16 FLASH_WE SW_A16 D12 D9 D13 A5 NRD NOE D0 D1 D2 D3 GND A16 NWR0 NWR FLASH_WE A16 VDD VDD VDD VDD VDD VDD VDD VDD VDD VDD VDD R1 10K U6 74LVC139D 1 2 3 4 5 6 7 8 12 11 10 9 14 1...

Page 39: ...actory fitted ARM EOI 0042 JTAG SCH B JTAG interface Reset Interrupts LEDs c ARM Ltd 90 Fulbourn Road Cherry Hinton Cambridge CB1 4JN B 4 8 Thursday August 20 1998 Title Size Document Number Rev Date...

Page 40: ...OA2 P18 P19 TIOB2 TIOB0 VDD P12 FIQ_EXP P16 TCLK2 TXD0 P17 TXD0_EXP TXD_ONB0 TXD0_EXP TXD1_EXP TIOB1_EXP IRQ2 TXD1 TXD1_EXP TXD_ONB1 TIOB1_ONB IRQ0 IRQ0_EXP IRQ0_ONB RXD1 SCK1 P12 FIQ_ONB P12 FIQ P12...

Page 41: ...r the various clock frequencies i e MAST 8 4 2 EBI Place capacitors as close as possible to the connector Print on PCB Power ARM EOI 0042 OSCPOWER SCH B Power Crystal oscillator and clock distribution...

Page 42: ...R0 NWR NWAIT NWAIT RXD 1 0 NWDOVF AT91CLK P24 BMS TIOA0 D3 D7 D6 D5 D14 D2 D8 D9 D11 D12 TCLK0 D0 D10 D13 D15 D4 D1 P24 BMS VDD_PROC VDD VDD_PROC VDD VDD C38 10u WL2 WIRE LINK LK3 SMLINK 4K7 1 2 3 A C...

Page 43: ......

Page 44: ...arters 2325 Orchard Parkway San Jose CA 95131 TEL 408 441 0311 FAX 408 487 2600 Europe Atmel U K Ltd Coliseum Business Centre Riverside Way Camberley Surrey GU15 3YL England TEL 44 1276 686 677 FAX 44...

Reviews: