SAM3N00A Atmel Corporation, SAM3N00A Datasheet - Page 304

no-image

SAM3N00A

Manufacturer Part Number
SAM3N00A
Description
Manufacturer
Atmel Corporation
Datasheets
20.5
304
SAM-BA Monitor
SAM3N
The SAM-BA boot principle:
Once the communication interface is identified, to run in an infinite loop waiting for different com-
mands as shown in
Table 20-2.
Note:
Command
N
T
O
o
H
h
W
w
S
R
G
V
• Mode commands:
• Write commands: Write a byte (O), a halfword (H) or a word (W) to the target.
• Read commands: Read a byte (o), a halfword (h) or a word (w) from the target.
• Send a file (S): Send a file to a specified address
• Receive a file (R): Receive data into a file from a specified address
• Go (G): Jump to a specified address and execute the code
– 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.
– Address: Address in hexadecimal.
– Value: Byte, halfword or word to write in hexadecimal.
– Output: ‘>’.
– Address: Address in hexadecimal
– Output: The byte, halfword or word read in hexadecimal following by ‘>’
– Address: Address in hexadecimal
– Output: ‘>’.
– Address: Address in hexadecimal
– Output: ‘>’
– Address: Address to jump in hexadecimal
NbOfBytes
There is a time-out on this command which is reached when the prompt ‘>’ appears before the
end of the command execution.
Commands Available through the SAM-BA Boot
Action
set Normal mode
set Terminal mode
write a byte
read a byte
write a half word
read a half word
write a word
read a word
send a file
receive a file
go
display version
: Number of bytes in hexadecimal to receive
Table
20-2.
Argument(s)
No argument
No argument
Address, Value#
Address,#
Address, Value#
Address,#
Address, Value#
Address,#
Address,#
Address, NbOfBytes#
Address#
No argument
Example
N#
T#
O200001,CA#
o200001,#
H200002,CAFE#
h200002,#
W200000,CAFEDECA#
w200000,#
S200000,#
R200000,1234#
G200200#
V#
11011A–ATARM–04-Oct-10

Related parts for SAM3N00A