AT91RM9200-CI-002 Atmel, AT91RM9200-CI-002 Datasheet - Page 105

no-image

AT91RM9200-CI-002

Manufacturer Part Number
AT91RM9200-CI-002
Description
IC ARM9 MCU 256 BGA
Manufacturer
Atmel
Series
AT91SAMr

Specifications of AT91RM9200-CI-002

Core Processor
ARM9
Core Size
16/32-Bit
Speed
180MHz
Connectivity
EBI/EMI, Ethernet, I²C, MMC, SPI, SSC, UART/USART, USB
Peripherals
POR
Number Of I /o
122
Program Memory Size
128KB (128K x 8)
Program Memory Type
ROM
Ram Size
48K x 8
Voltage - Supply (vcc/vdd)
1.65 V ~ 1.95 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
256-BGA
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91RM9200-CI-002
Manufacturer:
Atmel
Quantity:
10 000
Description of the
SvcXmodem Structure
1768I–ATARM–09-Jul-09
The Xmodem Service implementation gives an example of SvcComm use.
The SvcXmodem service is a reusable implementation of the Xmodem protocol. It supports only
the 128-byte packet format and provides read and write functions. The SvcXmodem structure
defines:
With this structure, the Xmodem protocol can be used with all media (USART, USB, etc.). Only
private methods may be overloaded to adapt the Xmodem protocol to a new media.
The default implementation of the Xmodem uses a USART to send and receive packets. Read
and write functions implement Peripheral DMA Controller facilities to reduce interrupt overhead.
It assumes the USART is initialized, the memory buffer allocated and the interrupts
programmed.
A periodic timer is required by the service to manage timeouts and the periodic transmission of
the character “C” (Refer to Xmodem protocol). This feature is provided by the Tempo Service.
The following structure defines the Xmodem Service:
• a pointer to a handler initialized to readHandler or writeHandler
• a pointer to a function that processes the xmodem packet crc
• a pointer to a function that checks the packet header
• a pointer to a function that checks data
typedef struct _AT91S_Service
{
} AT91S_SvcComm, *AT91PS_SvcComm;
typedef struct _AT91PS_SvcXmodem {
int csr);
// Methods:
AT91S_SvcCommStatus (*Reset)
AT91S_SvcCommStatus (*StartTx)(struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StartRx)(struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StopTx) (struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StopRx) (struct _AT91S_Service *pService);
char
char
// Data:
struct _AT91S_Buffer *pBuffer; // Link to a buffer object
void *pChild;
// Public Methods:
AT91S_SvcCommStatus (*Handler) (struct _AT91PS_SvcXmodem *, unsigned int);
AT91S_SvcCommStatus (*StartTx) (struct _AT91PS_SvcXmodem *, unsigned int);
AT91S_SvcCommStatus (*StopTx)
// Private Methods:
AT91S_SvcCommStatus (*ReadHandler)
(*TxReady)(struct _AT91S_Service *pService);
(*RxReady)(struct _AT91S_Service *pService);
(struct _AT91S_Service *pService);
(struct _AT91PS_SvcXmodem *, unsigned int);
(struct _AT91PS_SvcXmodem *, unsigned
AT91RM9200
105

Related parts for AT91RM9200-CI-002