Datasheet
129
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
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
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. 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#
Device
Setup
Character '0x80'
received ?
No
Ye s
Character '0x80'
received ?
No
Ye s
Character '#'
received ?
Ye s
Run SAM-BA Boot
Send Character '>'
No
1st measurement
2nd measurement
Test Communication
UART operational