67
11054A–ATARM–27-Jul-11
SAM9X25
67
11054A–ATARM–27-Jul-11
SAM9X25
Figure 11-10.
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
#
Summary of Contents for SAM9X25
Page 26: ...26 11054A ATARM 27 Jul 11 SAM9X25...
Page 138: ...138 11054A ATARM 27 Jul 11 SAM9X25 138 11054A ATARM 27 Jul 11 SAM9X25...
Page 162: ...162 11054A ATARM 27 Jul 11 SAM9X25 162 11054A ATARM 27 Jul 11 SAM9X25...
Page 216: ...216 11054A ATARM 27 Jul 11 SAM9X25 216 11054A ATARM 27 Jul 11 SAM9X25...
Page 266: ...266 11054A ATARM 27 Jul 11 SAM9X25 266 11054A ATARM 27 Jul 11 SAM9X25...
Page 330: ...330 11054A ATARM 27 Jul 11 SAM9X25 330 11054A ATARM 27 Jul 11 SAM9X25...
Page 374: ...374 11054A ATARM 27 Jul 11 SAM9X25...
Page 468: ...468 11054A ATARM 27 Jul 11 SAM9X25 468 11054A ATARM 27 Jul 11 SAM9X25...
Page 532: ...532 11054A ATARM 27 Jul 11 SAM9X25 532 11054A ATARM 27 Jul 11 SAM9X25...
Page 692: ...692 11054A ATARM 27 Jul 11 SAM9X25 692 11054A ATARM 27 Jul 11 SAM9X25...
Page 777: ...777 11054A ATARM 27 Jul 11 SAM9X25 777 11054A ATARM 27 Jul 11 SAM9X25...
Page 886: ...886 11054A ATARM 27 Jul 11 SAM9X25 886 11054A ATARM 27 Jul 11 SAM9X25...
Page 962: ...962 11054A ATARM 27 Jul 11 SAM9X25 962 11054A ATARM 27 Jul 11 SAM9X25...
Page 1036: ...1036 11054A ATARM 27 Jul 11 SAM9X25 1036 11054A ATARM 27 Jul 11 SAM9X25...
Page 1128: ...1128 11054A ATARM 27 Jul 11 SAM9X25 1128 11054A ATARM 27 Jul 11 SAM9X25...
Page 1130: ...1130 11054A ATARM 27 Jul 11 SAM9X25...
Page 1132: ...1132 11054A ATARM 27 Jul 11 SAM9X25...
Page 1144: ...xii 11054A ATARM 27 Jul 11 SAM9X25...