1 supported nandflash devices, 6 sam-ba boot – Rainbow Electronics AT91CAP9S250A User Manual
Page 79

79
6264A–CAP–21-May-07
AT91CAP9S500A/AT91CAP9S250A
14.5.1
Supported NANDFlash Devices
Any 8 or 16-bit NANDFlash Devices from 1 Mbit to 16 Gbit density.
14.6
SAM-BA Boot
If no valid DataFlash device has been found during the DataFlash boot sequence, the SAM-
BA boot program is performed.
The SAM-BA boot principle is to:
– Check if USB Device enumeration has occured.
– Check if characters have been received on the DBGU.
– Once the communication interface is identified, the application runs in an infinite
loop waiting for different commands as in
• Write commands: Write a byte (O), a halfword (H) or a word (W) to the target.
– Address: Address in hexadecimal.
– Value: Byte, halfword or word to write in hexadecimal.
– Output: ‘>’.
• Read commands: Read a byte (o), a halfword (h) or a word (w) from the target.
– Address: Address in hexadecimal
Table 14-3.
Supported NANDFlash Manufacturers
Manufacturer
Identifier
Toshiba
®
0x98
Samsung
®
0xEC
Fujitsu
0x04
National Semiconductor
®
0x8F
Renesas
0x07
STMicroelectronics
0x20
Micron
®
0x2C
Table 14-4.
Commands Available through the SAM-BA Boot
Command
Action
Argument(s)
Example
O
write a byte
Address, Value#
O200001,CA#
o
read a byte
Address,#
o200001,#
H
write a half word
Address, Value#
H200002,CAFE#
h
read a half word
Address,#
h200002,#
W
write a word
Address, Value#
W200000,CAFEDECA#
w
read a word
Address,#
w200000,#
S
send a file
Address,#
S200000,#
R
receive a file
Address, NbOfBytes#
R200000,1234#
G
go
Address#
G200200#
V
display version
No argument
V#