SAM3X8C Atmel Corporation, SAM3X8C Datasheet - Page 327

no-image

SAM3X8C

Manufacturer Part Number
SAM3X8C
Description
Manufacturer
Atmel Corporation
Datasheets
21.4.1
21.4.2
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
UART Serial Port
Xmodem Protocol
Communication is performed through the UART initialized to 115200 Baud, 8, n, 1.
The Send and Receive File commands use the Xmodem protocol to communicate. Any terminal
performing this protocol can be used to send the application file to the target. The size of the
binary file to send depends on the SRAM size embedded in the product. In all cases, the size of
the binary file must be lower than the SRAM size because the Xmodem protocol requires some
SRAM memory to work. See
The Xmodem protocol supported is the 128-byte length block. This protocol uses a two-charac-
ter CRC-16 to guarantee detection of a maximum bit error.
Xmodem protocol with CRC is accurate provided both sender and receiver report successful
transmission. Each block of the transfer looks like:
<SOH><blk #><255-blk #><--128 data bytes--><checksum> in which:
Figure 21-2
• Go (G): Jump to a specified address and execute the code
• Get Version (V): Return the SAM-BA boot version
– Output: ‘>’
– Address: Address to jump in hexadecimal
– Output: ‘>’
– Output: ‘>’
– <SOH> = 01 hex
– <blk #> = binary number, starts at 01, increments by 1, and wraps 0FFH to 00H (not
– <255-blk #> = 1’s complement of the blk#.
– <checksum> = 2 bytes CRC16
NbOfBytes
to 01)
shows a transmission using this protocol.
: Number of bytes in hexadecimal to receive
Section 21.5 ”Hardware and Software
Constraints”.
SAM3X/A
SAM3X/A
327
327

Related parts for SAM3X8C