at91sam9g20-cu ATMEL Corporation, at91sam9g20-cu Datasheet - Page 81

no-image

at91sam9g20-cu

Manufacturer Part Number
at91sam9g20-cu
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9G20-CU
Manufacturer:
Atmel
Quantity:
5
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
188
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
705
Company:
Part Number:
AT91SAM9G20-CU
Quantity:
4
13.10.1
13.10.2
6384B–ATARM–15-Dec-08
DBGU Serial Port
Xmodem Protocol
Communication is performed through the DBGU serial port 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.
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 13-8
Figure 13-8. Xmodem Transfer Example
– <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
to 01)
shows a transmission using this protocol.
Host
SOH 02 FD Data[128] CRC CRC
SOH 01 FE Data[128] CRC CRC
SOH 03 FC Data[100] CRC CRC
AT91SAM9G20 Preliminary
ACK
EOT
ACK
ACK
ACK
C
Device
81

Related parts for at91sam9g20-cu