![Atmel AT91EB01 User Manual Download Page 26](http://html1.mh-extra.com/html/atmel/at91eb01/at91eb01_user-manual_3003428026.webp)
Setting Up the AT91EB01 Evaluation Board
3-14
AT91EB01 Evaluation Board User Manual
■
with Angel downloaded and started by the SRAM downloader (see “The SRAM
Downloader” on page 3-7). The file to download is
“<MyFolderAT91>\Tools\Angeleb01.axf”.
Angel is started by pressing the button IRQ0, then the connection with the debugger can
be established.
Once the connection is established between the debugger on the PC and Angel/ICE on
the target, following steps must be performed to download a new image in flash :
1.
Set the top of the memory for the debugger (ADW & MDW only):
$top_of_memory=0x02200000
(
Note:
This line should not be entered if using Angel.)
2.
Load the flash programmer and set the arguments :
load <MyFolderAT91>\Tools\FlashPgm\at91eb01\flash.li <filename> <address>
where:
filename
is the file name (including the path) to download and program
address
is the address where the file is programmed (generally 0x01010000)
3.
Activate the debugger:
g
The flash programmer displays the following in the Console Window :
**** AT91EB01 Flash Programming Utility ****
Trying to identify Flash at base address (0x1010000)
Flash recognised : AT29LV1024
Input file is : <filename>
Load address is: 0x1010000
Programming 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_memory=0x02200000
(
Note:
This line should not be entered if using Angel.)
load <MyFolderAT91>\Tools\FlashPgm\at91eb01\flash.li <filename> <address>
g
and then execute the file by entering the command:
ob <command_file>
Another way is by using the item “Flash Download” in the menu “File” of the debugger.
For this, the file “flash.li” must be previously copied in the current directory or in the “bin”
directory of the ARM setup. The arguments are
<filename>
and
<address>
.
In the case where the boot software has been overwritten, and before any use of the
flash downloader, the EBI must be programmed :
EBI_CSR0:
0xFFE00000=0x01002535
EBI_CSR1:
0xFFE00004=0x02002121
REMAP done:
0xFFE00020=1
2M bytes per CS:
0xFFE00024=6
A command file called “ebi_eb0x” which performs the default EBI configuration is avail-
able in “<MyFolderAT91>\Tools”.
3.12.2
Upper 64K Flash
Downloading
The upper 64K Flash can be used to program then execute an application software (see
the section “Booting with the Flash” on page 3-5).
To have the application software executed at reset, the switch SW1 must be set with the
position “UPPER MEM”. Therefore, the image must be generated with a “Read only”
space based at the address 0x01000000.
Summary of Contents for AT91EB01
Page 1: ...AT91EB01 Evaluation Board USER MANUAL...
Page 2: ......
Page 6: ...Table of Contents iv...
Page 28: ...Setting Up the AT91EB01 Evaluation Board 3 16 AT91EB01 Evaluation Board User Manual...
Page 43: ......