Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK Hoja De Datos
Los códigos de productos
AT91SAM9M10-G45-EK
63
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
Figure 11-8.
SAM-BA Monitor Diagram
11.5.1
Command List
• Mode commands:
– Normal mode configures SAM-BA Monitor to send / receive data in binary format,
– Terminal mode configures SAM-BA Monitor to send / receive data in ascii format.
• 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.
Character(s) received
on DBGU
Run monitor
Wait for command
on the USB link
Run monitor
Wait for command
on the DBGU link
USB Enumeration
Successful
Yes
Yes
No
No
Init DBGU and USB
No valid code in NVM
Table 11-4.
Commands Available through the SAM-BA Monitor
Command
Action
Argument(s)
Example
N
set Normal mode
No argument
N
#
T
set Terminal mode
No argument
T
#
O
write a byte
Address, Value#
O
200001,CA#
o
read a byte
Address,#
o
200001,#
H
write a half word
Address, Value#
H
200002,CAFE#
h
read a half word
Address,#
h
200002,#
W
write a word
Address, Value#
W
200000,CAFEDECA#
w
read a word
Address,#
w
200000,#
S
send a file
Address,#
S
200000,#
R
receive a file
Address, NbOfBytes#
R
200000,1234#
G
go
Address#
G
200200#
V
display version
No argument
V
#