Datasheet
SAM9263 [DATASHEET]
Atmel-6249N-ATARM-SAM9263-Datasheet_14-Mar-16
102
12.6 NAND Flash Boot
The NAND Flash Boot program searches for a valid application in the NAND Flash memory. The first block must
be guaranteed by the manufacturer. There is no ECC check. If a valid application is found, this application is
loaded into internal SRAM and executed by branching at address 0x0000_0000 after remap. See “DataFlash
Boot” on page 99 for more information on Valid Image Detection.
12.6.1 Supported NAND Flash Devices
Any 8-bit or 16-bit NAND Flash device connected on EBI0 is supported.
12.7 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 occurred.
Check if character(s) 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 Table 12-3.
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
Output: The byte, halfword or word read in hexadecimal following by ‘>’
Send a file (S): Send a file to a specified address
Address: Address in hexadecimal
Output: ‘>’.
Note: There is a time-out on this command which is reached when the prompt ‘>’ appears before the end of the command
execution.
Table 12-3. 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#