background image

 

 

 

Disclaimer 

Headquarters  

International 

 

 

Atmel Corporation

 

2325 Orchard Parkway

 

San Jose, CA 95131

 

USA

 

Tel: 1(408) 441-0311

 

Fax: 1(408) 487-2600

 

 

 

Atmel Asia

 

Room 1219

 

Chinachem Golden Plaza

 

77 Mody Road Tsimshatsui

 

East Kowloon

 

Hong Kong

 

Tel: (852) 2721-9778

 

Fax: (852) 2722-1369

 

 

 
 
 
 
 
Product Contact

 

 

Atmel Europe

 

Le Krebs

 

8, Rue Jean-Pierre Timbaud

 

BP 309

 

78054 Saint-Quentin-en-
Yvelines Cedex

 

France

 

Tel: (33) 1-30-60-70-00 

 

Fax: (33) 1-30-60-71-11

 

 

Atmel Japan

 

9F, Tonetsu Shinkawa Bldg.

 

1-24-8 Shinkawa

 

Chuo-ku, Tokyo 104-0033

 

Japan

 

Tel: (81) 3-3523-3551

 

Fax: (81) 3-3523-7581

 

 

 

Web Site

 

www.atmel.com

 

 

Technical Support

 

[email protected]

 

 

Sales Contact

 

www.atmel.com/contacts

 

 

 
 

 

Literature Request

 

www.atmel.com/literature

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Disclaimer:

 The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any 

intellectual property right is granted by this document or in connection with the sale of Atmel products. 

EXCEPT AS SET FORTH IN ATMEL’S TERMS AND 

CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED 
OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, 
CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, 
BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS 
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

 Atmel makes no representations or warranties with respect to the accuracy or completeness of the 

contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any 
commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, 
automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. 

 
 
 

© 2008 Atmel Corporation. All rights reserved

. Atmel®, logo and combinations thereof, AVR® and others, are the registered trademarks or 

trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 

 

 

1472D-AVR-01/08 

Summary of Contents for AVR AVR350

Page 1: ...s than 1K Bytes of Code Space C High level Language Code 1 Introduction The Xmodem protocol was created years ago as a simple means of having two computers talk to each other With its half duplex mode...

Page 2: ...132 133 Start of Header Packet Number Packet Number Packet Data 16 bit CRC 3 Definitions The following defines are used for protocol flow control Table 3 1 Protocol Flow Control Symbol Description Val...

Page 3: ...self correcting after the receiver NACKs the sender 6 Data Flow Diagram The data flow diagram below simulates a 5 packet file being sent Table 6 1 Data Flow Diagram Sender Receiver C Times Out after T...

Page 4: ...scillator This is sufficiently accurate at room temperature for operation up to 38 4K Baud For higher Baud rates the on board 3 6864MHz oscillator or a 7 3728 MHz crystal should be used with the init...

Page 5: ...9 3 recv_wait c initialize timer1 counter for a 1 second delay wait till buffer is full or timeout 9 4 respond c clear error flags If packet was good or end of transmission then Send an ACK Else Purge...

Page 6: ...cond character in buffer plus the third character in buffer 0xff then compute CRC on packet data if CRC ok then increment packet number packet good else packet bad else bad packet number checksum else...

Page 7: ...ARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIR...

Reviews: