Atmel AT91EB01 Скачать руководство пользователя страница 19

Setting Up the AT91EB01 Evaluation Board

AT91EB01 Evaluation Board User Manual

3-7

- Transfer one character from USART 0 to USART 0 (loopback mode)

- Transfer one character from USART 1 to USART 1 (loopback mode)

- Transfer one character from USART 0 to USART 1 (normal mode)

- Transfer one character from USART 1 to USART 0 (normal mode)

For each case, the green or the red LED blinks once following the positive or nega-
tive result of the test. Note that the 2nd and 3rd tests can succeed only if the straight
serial cable (provided) is connected between SERIAL A and SERIAL B.

If the IRQ0 button is pressed, the buses of the SRAM are tested:

- Address bus

- Data bus

In each case, the green or the red LED blinks once following the positive or negative
result of the test.

3.7.5

The SRAM 
Downloader

The SRAM downloader is a part of the boot software and allows an application in the
SRAM to be loaded at the address 0x02000000, then activated. It is started by the boot
if the button TIOB1 is pressed at reset.

The procedure is as follows:

1.

Connect the AT91EB01 to the host PC using either the straight serial cable (pro-
vided) on the serial A, or a crossed serial cable (not provided) on the serial B.

2.

Set the clock frequency (LK2) to the desired frequency. Note that this directly 
determines the baud rate for the download (cf. table below).

3.

Generate a power on or a RESET with the TIOB1 pressed 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 for communications, then open 
the file to download and send it. Wait for the end of the transfer.

5.

Press the button IRQ0 to terminate the download. The control is switched to the 
address 0x02000000.

If the downloaded program is Angel, start the ARM debugger (first exit BINCOM). Refer
to the section “Communicating with Angel” on page 3-11 for more details.

The following table shows the relationship between the clock rate on the board, and the
serial baud rate:

Table 3-1.  

Clock Rate vs. Serial Baud Rate

Note that if the debugger is started through ICE while the SRAM downloader is on, then
both serial channels are enabled. 

3.7.6

The Angel Monitor

The Angel monitor is located in the flash from 0x01002000 up to 0x0100FFFF. It is
started by the boot if neither TIOB1 nor FIQ are pressed at reset. Refer to the section
“Communicating with Angel” on page 3-11 and “Using Angel” on page 3-12 for more
details.

The latest version of the Angel debugger is included in the AT91 library in the folder
“<MyFolderAT91>\Tools“, file “Angeleb01.exf”. The file “Angeleb01.txt” contains the cor-
responding prompt printed in the Console window at Angel startup.

The Angel on the AT91EB01 can be upgraded regardless of the version programmed on
it. Refer to the section “Using the Flash Downloader” on page 3-13 for more details.

Frequency

Serial A

Serial B

16 MHz

57600

19200

32 MHz (MASTER)

115200

38400

Содержание AT91EB01

Страница 1: ...AT91EB01 Evaluation Board USER MANUAL...

Страница 2: ......

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...Table of Contents iv...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 28: ...Setting Up the AT91EB01 Evaluation Board 3 16 AT91EB01 Evaluation Board User Manual...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 43: ......

Страница 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...

Отзывы: