Atmel manual Section On-board Software, AT91EB42 Evaluation Board, Program

Page 9

Section 3

The On-board Software

3.1AT91EB42 Evaluation Board

The AT91EB42 Evaluation Board embeds an AT49BV1604 Flash memory device pro- grammed 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 solutions offered in the AT91 library.

When delivered, the Flash memory device contains: the boot program

the functional test software

the SRAM downloader

the Angel Debug Monitor

￿a default user boot with a default application

The boot program, functional test software (FTS) and SRAM downloader are in sector 0 of the Flash. This sector is locked to prevent accidental erase, but it can be unlocked by applying 12V to the RESET pin.

3.2Boot Software The boot software program configures the AT91M42800, and thus controls the memory

Program

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 AT91M42800 boots from address 0x01010000 in the Flash,

 

which must have a user-defined boot.

 

 

The boot software program first initializes the EBI, then executes the REMAP proce-

 

dure, and then checks the state of the buttons.

 

 

￿

When the button SW1 is pressed:

 

 

All the LEDs light up together.

 

 

The D1 LED remains lit until SW1 is released.

 

 

The functional test software (FTS) is started.

 

 

When the button SW2 is pressed:

 

 

All the LEDs light up together.

 

 

The D2 LED remains lit until SW2 is released.

 

 

The SRAM downloader is activated.

 

 

￿

When SW3 or SW4 are pressed or no buttons are pressed:

 

 

Branch at address 0x0100 2000.

 

 

The Angel Debug Monitor starts from this address by recopying itself in external

 

SRAM.

 

AT91EB42 Evaluation Board User￿

Guide

3-1

 

 

Image 9
Contents AT91EB42 Evaluation Board User Guide Page Table of Contents Table of Contents Appendix a Configuration StrapsScope Section OverviewDeliverables Evaluation Board Two serial portsASB OverviewSection Setting Up the AT91EB42 Evaluation Board Electrostatic WarningLayout Board TestingMeasuring CurrentSection On-board Software AT91EB42 Evaluation BoardProgram Default Speed Programmed Default Memory MappingDownloader On-board SoftwareSection Circuit Description ConnectorsProcessor ExpansionMemories PowerConverter Crystal QuartzCircuit Description Circuit Description Configuration Straps CB1 23, JP1 Section Appendix a Configuration StrapsAppendix a Configuration Straps CB19 PB18 End of Fast Charge Signal CB18 PB20 ADC Write Access SignalCB15 Serial DataFlash Enabling CB17 SPI Eeprom EnablingMeasurement ConsumptionStrap JP5 JP6 Increasing Memory SizeSchematics Section Appendix B SchematicsPCB Layout Appendix B SchematicsEBI Memories AT91EB42 Evaluation Board User GuideAppendix EBI Memories SchematicsI/O and EBI Expansion Connectors Valbp Serial InterfaceAT91M42800 ICE Reset and Jtag Schematics InterfaceVDDCORE=1.8V Saft VRE 1/2 AA AT91EB42 Evaluation Board User Atmel Headquarters Atmel Operations