English
Language : 

SAM7X256_14 Datasheet, PDF (129/662 Pages) ATMEL Corporation – ARM-based Flash MCU
21.4
SAM-BA Boot
The SAM-BA boot principle is to:
 Check if USB Device enumeration has occurred
 Check if the AutoBaudrate sequence has succeeded (see Figure 21-2)
Figure 21-2.
AutoBaudrate Flow Diagram
Device
Setup
Character '0x80'
No
received ?
Yes
Character '0x80'
No
received ?
Yes
Character '#'
No
received ?
Yes
Send Character '>'
1st measurement
2nd measurement
Test Communication
UART operational
Run SAM-BA Boot
 Once the communication interface is identified, the application runs in an infinite loop waiting for different
commands as in Table 21-1.
Table 21-1.
Command
O
o
H
h
W
w
S
R
G
V
Commands Available through the SAM-BA Boot
Action
Argument(s)
write a byte
Address, Value#
read a byte
Address,#
write a half word
Address, Value#
read a half word
Address,#
write a word
Address, Value#
read a word
Address,#
send a file
Address,#
receive a file
Address, NbOfBytes#
go
Address#
display version
No argument
Example
O200001,CA#
o200001,#
H200002,CAFE#
h200002,#
W200000,CAFEDECA#
w200000,#
S200000,#
R200000,1234#
G200200#
V#
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
129