avrcan芯片使用
- 格式:docx
- 大小:17.41 KB
- 文档页数:3
AVR单片机JTAG接口的使用方法AVR单片机JTAG(Joint Test Action Group)接口是一种用于单片机的调试和编程工具。
它提供了一种高效的方式来进行硬件调试、固件编程和软件调试。
在本文中,我将详细介绍AVR单片机JTAG接口的使用方法。
1.JTAG接口简介JTAG接口由四条线组成,分别是TCK(时钟线)、TMS(状态线)、TDI(数据输入线)和TDO(数据输出线)。
它是一种串行接口,用于与其他外设进行通信。
JTAG接口能够通过硬件调试、固件编程和软件调试来提高系统调试的效率。
2.JTAG接口的初始化在使用JTAG接口之前,需要对其进行初始化。
首先,需要确定使用的JTAG接口类型,然后根据类型选择与之匹配的调试工具和软件。
接下来,需要连接JTAG接口的四个引脚到单片机的相应引脚上。
通常,这些引脚在单片机的数据手册中有详细的说明。
3.JTAG接口的连接连接JTAG接口的四个引脚到单片机的相应引脚上,确保连接正确无误。
通常,TCK(时钟线)和TMS(状态线)引脚是共享的,它们分别连接到单片机的相应引脚上。
TDI(数据输入线)和TDO(数据输出线)引脚则是分别连接到单片机的相应引脚上。
请务必根据单片机的数据手册正确连接JTAG接口引脚。
4.JTAG接口的编程在使用JTAG接口进行编程之前,需要确保已经安装了合适的调试工具和软件。
这些工具和软件可以帮助我们完成对单片机的编程操作。
通常,这些工具和软件提供了一些简单的命令和接口,用于与单片机进行通信。
通过这些命令和接口,我们可以读取和写入单片机的内部寄存器,从而实现对单片机的编程操作。
5.JTAG接口的调试使用JTAG接口进行调试可以帮助我们找到系统中的错误和问题。
通过读取和写入单片机的内部寄存器,我们可以查看程序的执行状态、输入和输出数据、栈的使用情况等信息。
通过这些信息,我们可以判断程序中的错误和问题,并进行调试操作。
6.JTAG接口的注意事项在使用JTAG接口之前-确保JTAG接口的引脚连接正确无误,避免引脚连接错误导致的通信问题。
A VR教程11试图降低AVR 操纵系统的功耗时需要考虑几个问题。
通常来说,要尽可能利用睡眠模式,同时使尽可能少的模块继续工作。
不需要的功能务必禁止。
下面的模块需要特殊考虑以达到尽可能低的功耗。
模数转换器使能时, ADC 在睡眠模式下继续工作。
为了降低功耗,在进入睡眠模式之前需要禁止ADC。
重新启动后的第一次转换为扩展的转换。
具体请参照P192“模数转换器”。
模拟比较器在空闲模式时,假如没有使用模拟比较器,能够将其关闭。
在ADC 噪声抑制模式下也是如此。
在其他睡眠模式模拟比较器是自动关闭的。
假如模拟比较器使用了内部电压基准源,则不论在什么睡眠模式下都需要关闭它。
否则内部电压基准源将一直使能。
请参见P189“模拟比较器”以熟悉如何配置模拟比较器。
掉电检测BOD假如系统没有利用掉电检测器BOD,这个模块也能够关闭。
假如熔丝位BODEN 被编程,从而使能了BOD 功能,它将在各类休眠模式下继续工作。
在深层次的休眠模式下,这个电流将占总电流的很大比重。
请参看P38“掉电检测”以熟悉如何配置BOD。
片内基准电压使用BOD、模拟比较器与ADC 时可能需要内部电压基准源。
若这些模块都禁止了,则基准源也能够禁止。
重新使能后用户务必等待基准源稳固之后才能够使用它。
假如基准源在休眠过程中是使能的,其输出立即能够使用。
请参见P40“片内基准电压”以熟悉基准源启动时间的细节。
看门狗定时器假如系统无需利用看门狗,这个模块也能够关闭。
若使能,则在任何休眠模式下都持续工作,从而消耗电流。
在深层次的睡眠模式下,这个电流将占总电流的很大比重。
请参看P40“看门狗定时器”以熟悉如何配置看门狗定时器。
端口引脚进入休眠模式时,所有的端口引脚都应该配置为只消耗最小的功耗。
最重要的是避免驱动电阻性负载。
在休眠模式下I/O 时钟clkI/O 与ADC 时钟clkADC 都被停止了,输入缓冲器也禁止了,从而保证输入电路不可能消耗电流。
在某些情况下输入逻辑是使能的,用来检测唤醒条件。
BASCOM-AVR初级入门实例教程—第二讲认识AVR单片机第二讲认识AVR单片机关于AVR单片机的资料,网上一搜一大堆,这里就不细讲了。
这里主要介绍一下AVR单片机的基本电路和熔丝位设置,熔丝对于初学者来说可能比较头疼。
芯片的说明书(DATASHEET)是最好的老师,尤其初学者,一定要多看,反复看,初级问题一般会在上面找到答案。
AVR的说明书编得非常详细,多数常用芯片还提供中文版,这也降低了初学者的入门门槛。
MEGA8和MEGA16是比较常用的AVR芯片,本教程主要以这两款芯片为例。
2.1外部复位电路外部复位由外加于RESET 引脚的低电平产生,按下SW,触发复位动作,MCU重新启动。
C1的作用是为了稳定可靠,按键按下后电容被迅速放电,按键松开后,通过电阻向电容充电,以保证足够长的复位时间确保稳定复位。
D1的作用有两个:一是将复位输入的最高电压钳在Vcc+0.5V 左右;二是当断电时,将R1电阻短路,让C1快速放电,下一次来电时,能产生有效的复位。
实际应用电路中,可以省掉D1、C1。
若不需要外部复位,SW也可省掉,RESET 引脚只接10K电阻到VCC。
MCU上电后,RESET引脚内部上拉为高电平,悬空不接任何电路,MCU也能正常工作。
2.2振荡电路AVR系统时钟源可由外部晶体、内部RC振荡器、外部RC振荡器、外部时钟提供,通过配置熔丝位进行选择。
通常使用外部晶体和内部RC两种方式之一。
如果熔丝配置成外部RC或外部时钟,会造成芯片不能通过ISP(串行编程)进行正常编程,这就是所谓的芯片被锁,后面有较详细介绍。
MEGA16晶振连接电路MEGA16外部RC电路MEGA系列AVR单片机使用外部晶振时,C1、C2这两只电容不接也能正常工作,规范的电路一般还是接上。
如果不需要太高精度的时钟,可以使用内部RC 振荡,即不需要接任何外围零件。
当进行串口通讯时,一般需要接适合串口数据传输的特殊频率晶振,比如常用的3.6864MHz、7.3728MHz、11.0592MHz等。
SummaryMicrochip’s AVR DA family brings easy capacitive touch and real-time con-trol functionality to the low-power performance of the AVR ® Microcontrollers (MCUs). The AVR DA MCUs pair the latest Core Independent Peripherals (CIP) with a robust Intelligent Analog portfolio to create a device that not only excels as a standalone processor but also as a companion MCU in designs that demand precision. Furthermore, the high memory density of the AVR DA family makes these MCUs well suited for communication stack intensive functions, both wired and wireless.Available in 28- to 64-pin packages, with up to 128 KB Flash and operat-ing at up 24 MHz across the full supply voltage range of 1.8V to 5.5V the new AVR DA MCUs are ready to meet the needs of a diverse range of applications.AVR DA Product FamilyHigh Performance Functional Safety Ready MicrocontrollersNext Generation AVR ® MCUsThe family uses the latest Core Independent Peripherals with low power features and 5V operation for increased noise immunity. The Event System, Configurable Custom Logic (CCL), along with intelligent analog peripherals, like 12-bitdifferential ADC, Zero-Cross Detect (ZCD), 10-bit DAC and the latest generation Peripheral Touch Controller (PTC) with Driven Shield+ and Boost Mode technologies make the AVR DA family ideal for low-latency control applications and capacitive touch user interfaces. The AVR DA family is designed to bring capacitive touch sensing and real-time control functions to applications including industrial control, home appliance products, automotive and Internet of Things (IoT).State of the Art Capactive TouchThe PTC offers built-in hardware for capacitive touchmeasurement on sensors that function as buttons, sliders, wheels and 2D surfaces. The PTC is designed to perform capacitive touch acquisition on sensors independently from the CPU, resulting in low CPU utilization and reduced power consumption.The AVR DA products support up to 46 self-capacitance and 529 mutual capacitance touch channels, which makes the AVR DA family the perfect choice for human interface applications where multiple capacitive touch keys, sliders, wheels or 2D surface are required.• Driven Shield+ for increased noise immunity and water tolerance when using self-capacitance touch sensing.• Boost Mode for faster response time in high node count interfaces using mutual-capacitance touch sensing.The AVR DA family is recom-mended for safety critical applications targeting both industrial and automotive prod-ucts (IEC 61508 and ISO 26262).Necessary documentation such as FMEDA report and Safety Manual can be provided on request. Safety certified develop -ment tools are also available for this product. Please contact your local Microchip sales office or your distributor for more information.The Microchip name and logo, the Microchip logo, AVR and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies.© 2020, Microchip Technology Incorporated. All Rights Reserved. 5/20 DS30010210CIntelligent AnalogThe 12-bit differential Analog-to-Digital Converter (ADC) with conversion speeds of 130 ksps provides accurate and timely analog signal acquisition. Triggering and notifications can be transmitted to other peripherals without CPU intervention, enabling robust and deterministic response to system events.The 10-bit DAC output can either be sent to a pin or it can be used to generate an adjustable reference voltage for the Analog Comparator (AC). The AVR DA feature up to three ACs, each having a dedicated DAC reference.Get Started NowThe AVR128DA48 Curiosity Nano Evaluation kit is the ideal platform for rapid prototyp-ing with the AVR DA MCUs connecting seamlessly to the MPLAB X, Studio and IAR Embedded Workbench IDEs.Our intuitive, web-based graphical configuration tools, MPLAB ® Code Configurator (MCC) and START, will significantly reduce your development time.The AVR DA family is supported by the GCC, MPLAB XC8 and IAR compilers. For the AVRDA family we also offer a XC8 Functional Safety Compiler License, certified by TÜV SÜD.Key Features• Internal 24 MHz oscillator• Up to 128 KB of FLASH memory• PTC with up to 46 self-cap and 529 mutual cap channels • 12-bit differential ADC with up to 22-channels • 10-bit DAC• Analog Comparator with selectable reference inputs • Up to three Zero Cross Detectors (ZCD)•Built-in safety functions: POR, BOR, VLM and Cyclic Redundancy Check (CRC) scan• 16-bit Real-Time Clock and Periodic Interrupt Timer • Configurable Custom Logic (CCL) peripheral • Up to 10-channel Peripheral Event System• Configurable, internally generated Reference Voltage • USART/SPI/dual-mode TWI • Available with up to 54 I/O• Available in 28-, 32-, 48- and 64-pin packages • 1.8V–5.5V operating voltage range•–40˚C to +125˚C operating temperature range。
什么是熔丝位?熔丝是一个保护知识产权的设计。
简单的说,你在特定的引脚上加电压,足够的电流,就可以烧断里边的这根熔丝,烧断以后,片里的程序就不可以被读出来也不能改写了,只能用来运行。
一般成品出售时都这样做。
专用的写片机支持这个功能。
自己也可以根据芯片的官方文档来操作。
熔丝位是在一个特定的地址上可以读到熔丝状态的一个位。
0表示已熔断,1表示未熔断。
熔丝位介绍AVR Studio中STK500处理熔丝位有巨大的优势:它是以功能组合让用户配置。
这种方式与小马(PonyProg2000,SL-ISP)相比,具有以下的优势(优势是如此明显,可以用“巨大优势”来形容):有效避免因不熟悉熔丝位让芯片锁死(这是初学者的恶梦),笔者曾经锁死过三片Atmega16。
不需要靠记忆与查文档,就能配置熔丝位(这也是初学者的恶梦)动手之前:请你一定弄清楚了,你这样改会有什么后果,除非你有很多钱不在乎多锁死几个芯片。
AVR单片机熔丝位设置熔丝配置错,单片机被锁,非常抑闷,这篇文章具有一定价值,留作下次配置时参考之用。
对AVR熔丝位的配置是比较细致的工作,用户往往忽视其重要性,或感到不易掌握。
下面给出对AVR熔丝位的配置操作时的一些要点和需要注意的相关事项。
有关ATmega128熔丝位的具体定义和功能请查看本书相关章节,在附录中将给出一个完整的汇总表。
(1)在AVR的器件手册中,对熔丝位使用已编程(Programmed)和未编程(Unprogrammed)定义熔丝位的状态,“Unprogrammed”表示熔丝状态为“1”(禁止);“Programmed”表示熔丝状态为“0”(允许)。
因此,配置熔丝位的过程实际上是“配置熔丝位成为未编程状态“1”或成为已编程状态“0””。
(2)在使用通过选择打钩“√”方式确定熔丝位状态值的编程工具软件时,请首先仔细阅读软件的使用说明,弄清楚“√”表示设置熔丝位状态为“0”还是为“1”。
(3)使用CVAVR中的编程下载程序时应特别注意,由于CVAVR编程下载界面初始打开时,大部分熔丝位的初始状态定义为“1”,因此不要使用其编程菜单选项中的“all”选项。
基于AVR处理器at90can128的CAN总线应用1 前言现场总线是当前工业总线领域中最活跃的一个领域,CAN 总线是工业数据总线领域重要的现场总线之一。
CAN 是Contro ller Area N etw ork 的缩写,是国际标准化的串行通信协议。
在当今的汽车产业中,出于对安全性、舒适性、方便性、低公害、低成本的要求,各种各样的电子控制系统被开发出来。
由于这些系统之间通信所用的数据类型及对可靠性的要求不尽相同,由多条总线构成的情况很多,线束的数量也随之增加。
为减少线束的数量、通过多个LAN 进行大量数据的高速通信,1986 年德国电气商博世公司开发出面向汽车的CAN 通信协议。
而今CAN 在欧洲已是汽车网络的标准协议。
CAN 的初衷是为了解决汽车里多种复杂数据的通信,后来证实在很多工业领域也能应用自如。
2 CAN 总线特性及当今状况CAN 总线与其他通讯网络的不同之处在于: 报文传送中不包括目标地址,以全网广播为基础,各接收站根据报文中反映数据性质的标识符过滤报文;强化了对数据安全性的关注,满足控制系统较高的数据需求。
它具有如下显着特征: 极高的总线利用率、低成本、高速的数据传输速率、远距离传输、可靠的错误处理和检错机制、可根据报文的ID 决定接收或屏蔽该报文,节点在错误严重的情况下具有自动退出总线的功能等等。
CAN 总线所需完善的通信协议可由CAN 控制器芯片和接口芯片实现,大大降低了系统的开发难度、组成成本、缩短了开发周期,其高性能高可靠性以及灵活的设计受到人们的重视,应用也越来越广泛。
目前比较流行的控制器芯片是飞利浦公司的SJA1000 和收发器芯片TJA1050。
简易AVR单片机教程简介AVR单片机是一种低功耗、高性能的微控制器,由Atmel公司开发并广泛应用于嵌入式系统的开发中。
本教程将介绍AVR单片机的基本知识以及编程技巧,帮助初学者快速入门。
目录1.AVR单片机概述2.硬件基础– 2.1 芯片选型– 2.2 电路设计– 2.3 连接方式3.编程环境搭建– 3.1 AVR Studio– 3.2 AVR编程语言– 3.3 编译与烧录4.基本功知识– 4.1 GPIO控制– 4.2 定时器与计数器– 4.3 中断处理5.进阶内容– 5.1 PWM控制– 5.2 串口通信– 5.3 ADC模数转换6.实例项目– 6.1 LED灯控制– 6.2 电机控制– 6.3 温湿度监测1. AVR单片机概述AVR(Alf-Egil Bogen, Vegard Wollan, Ragnar Melland)单片机是Atmel公司推出的一款低功耗高性能的微控制器。
它采用RISC架构,具有较高的运算速度和较低的功耗。
由于其易于学习和使用的特点,AVR单片机被广泛应用于嵌入式系统的开发中。
2. 硬件基础2.1 芯片选型在开始使用AVR单片机之前,我们首先需要选择合适的芯片。
Atmel公司生产了多种型号的AVR单片机,各具特色。
在选择芯片时,我们需要考虑以下几个因素:•项目需求:根据项目的具体需求(如GPIO数量、模拟输入输出等),选择适合的芯片型号。
•价格:芯片的价格也是选择的一个重要因素,需要根据项目的预算进行合理选择。
•开发工具支持:确保选择的芯片在目标开发工具中有良好的支持,以便后期开发和调试。
2.2 电路设计在使用AVR单片机之前,我们还需要进行电路设计。
简单的AVR 单片机电路设计包含以下几个关键组成部分:•电源电路:AVR单片机需要稳定的电源来正常工作。
一般使用电源滤波电容、稳压电路等来提供稳定的电压。
•复位电路:AVR单片机上电时需要复位,复位电路可通过连接一个复位电阻和电容实现。
A VR芯片的ISP全攻略并行编程,最早的编程方法,功能最强大,但需要连接较多的引脚,通常需要12V~24V的高压,以示区别,下面称为高压并行编程。
ISP(In System Programmability) 在系统编程,简称为串行下载IAP(In Application Programing) 在应用编程,BootLoader也是类似的意思1 ISP虽然利用了SPI接口(例外:M64/M128为UASRT0接口,Tiny13等没有SPI接口)的引脚,但只在复位时起作用,而且下载完成后合格的下载器会自动断开端口的连接,对正常工作时没有影响的(在产品应用中,下载器一定是不会一直粘在上面的)。
2 虽然高压并行下载能修复任何熔丝位,但对于贴片封装来说是很不现实的,所以ISP接口是最常用的下载方式了3 虽然IAP是一种新的升级方法,但IAP程序本身也是要先用高压并行下载或ISP来烧进芯片里面才行4 Tiny13等少管脚AVR芯片因为管脚实在太少了,有ISP,但没有[高压并行编程]而特制了[高压串行编程] 所以,产品上一般都留有ISP接口插座,或更省位置的----留6个焊盘就行了ISP的工作前提1 芯片没有物理损坏2 芯片的SPIEN熔丝位=0 使能ISP功能3 芯片的RSTDISBL熔丝位=1 RESET引脚有效(假如芯片有这个熔丝位)4 线路正常---------接错线?短路?5 下载器正常-------特别要考虑连线的接触不良问题6 电源运行时钟ISP时钟(必须低于运行时钟的1/4)4096Hz <1024Hz //很变态的用法,外接32.768KHz晶体+CKDIV8 ,不过A VRISP还是提供了603Hz这个速度了//另一简易解决办法是下载时在32.768KHz晶体并联一个1MHz晶体,双龙的下载线就配有一个8MHz的石英晶体32768Hz <8192Hz128KHz < 32KHz //内部RC128KHz1.0MHz <250KHz //默认值(包括8MHz+CKDIV8),所以A VRISP的ISP速度多为230KHz 8.0MHz <2000KHz16.0MHz <4000KHz运行时钟不等于震荡器的频率,因为部分A VR芯片有系统时钟预分频器,可以对震荡器进行1~256分频CKDIV8熔丝位决定CLKPS位的初始值。
AVR / CAN Bootloader ISP Software AT90CAN128,AT90CAN64, AT90CAN321.FeaturesMicrocontrollers •Bootloader structure•Install BatchIsp on AVR studio•Setup BatchIsp Command File•Download UART/CAN Bootlader Example•ISP CAN example2.IntroductionThis guide is designed to help AT90CAN128/64/32 users to use IAP or ISP possibilitywith the UART/CAN Bootloader example. This document also provides details on howto us Flip BatchIsp on AVRStudio.27558A–AVR–11/053.How to setup BatchISP on AVRStudio1.Download Flip and install it on your Computer2.Save the file below on a directory of your computer:•Application files:–CAN128_ringtones.hex–CAN128_transducer1.hex–CAN64_ringtones.hex–CAN64_transducer1.hex–CAN32_ringtones.hex–CAN32_transducer1.hex•BatchIPS command files:–CAN128_CAN_ISP_ringtones.txt–CAN128_CAN_ISP_transducer1.txt–CAN64_CAN_ISP_ringtones.txt –CAN64_CAN_ISP_transducer1.txt37558A–AVR–11/05 –CAN32_CAN_ISP_ringtones.txt–CAN32_CAN_ISP_transducer1.txt•Bootloader files:–can128_uart_can_boot_loader_IAR.a90–can64_uart_can_boot_loader_IAR.a90–can32_uart_can_boot_loader_IAR.a9047558A–AVR–11/054.AVR studio Setup1.Open AVR studio•Open “Customize” on the “Tools” menu•On “Toolbars” menu, create a new Toolbar “ISP software”•Drag & Drop the “ISP Software ” menu57558A–AVR–11/05 •On the “Tools” menu, create two menus–Wordpad[command]C:\…….\wordpad.exe[argument]C:\ AVR_boot_ISP\CANxx_xx_ISP_xx.txt(example: CANxx_xx_ISP_xx.txt = CAN128_CAN_ISP_ringtones.txt)–BatchISP[command]C:\Program Files\Atmel\FLIP 2.4.4\bin\batchisp.exe[argument]-cmdfile “C:\ AVR_boot_ISP\ CANxx_xx_ISP_xx.txt”(example: CANxx_xx_ISP_xx.txt = CAN128_CAN_ISP_ringtones.txt)•On “Commands” menu, drag & drop the “Wordpad” and the “BatchISP” menu on the toolbar“ISP software”.2.Download the Bootloader fileDownload the Bootloader file on the flash memory of the AT90CAN128 with a JTAGICE orJTAGICEmkII.AT90CAN128: can128_uart_can_boot_loader_IAR.a90AT90CAN64: can64_uart_can_boot_loader_IAR.a90AT90CAN32: can32_uart_can_boot_loader_IAR.a9067558A–AVR–11/0577558A–AVR–11/053.Open the “CANxx_xx_ISP_xx.txt” command file with WordPad Note: 1.You may customize the ISP Command file, see Section 6. on page 9.87558A–AVR–11/055.ISP/IAP CAN Demonstration1.Connect the CAN interfaceConnect the CAN interface between the AT90CAN128 and the computer (on this example, we use a PCANUSB)2.Select “BatchISP” button to download the application fileThe following window shows you where you are in the programming phase.“CAN128_CAN_ISP_ringtones.txt” file is programmed on the AT90CAN128 of the ATDVK90CAN1.3.Play with the application Press the “up” or “down” or “right” or “left” button on the board and you hear 4 different ring tones.97558A–AVR–11/056.BATCH ISP CommandsBatchIsp help[-demo][-version][-autoisp{ 0 | 1* } { 0* | 1 }][-no_usbdrvchk][-debug {<out_logfile>}]-device<device_name>[-hardware{ RS232 | usb | atmel_rs232 |vector | ixxat | janz | peaksystecusbcan | usb_lpc | usb_uart | usb_spi}][-port{ COM1 | ... | comx | lpt1 | lpt2 | pcmcia0 | pcmcia1 }][-baudrate{ 9600 | 19200 | 38400 | 57600 | 115200* }][-canbitrate{ 20 | 100 | 125 | 250 | 500* | 1000 }][-cmdfile<cmd_file>]-operation[ CANOPEN <node_number> ][ CANCLOSE <node_number> ][ MEMORY { FLASH | eeprom | <id> } ][ ERASE { f | <n> } ][ ADDRANGE <start> <end> ][ BLANKCHECK ][ PROGRAM ][ VERIFY ][ READ ][ SERIALIZE <dest_addr> <serial_number> <number | ascii | unicode> <step> ][ START { RESET | noreset } <address> ][ WAIT <Nsec> ][ LOADBUFFER <in_hexfile> ][ FILLBUFFER <data> ][ SAVEBUFFER <out_hexfile> ][ ONFAIL < ASK | abort | retry | ignore > ][ ASSERT < PASS | fail > ][ RBOOTID1 [ expected_data ] ][ RBOOTID2 [ expected_data ] ][ WSBV <data> ][ RSBV [ expected_data ] ][ WBSB <data> ][ RBSB [ expected_data ] ][ WHWB <data> ][ RHWB [ expected_data ] ][ WEB <data> ][ REB [ expected_data ] ][ SSL1 ][ SSL2 ][ RSSB [ expected_data ] ][ RSIGB ][ WCRIS <data> ][ RCRIS [ expected data ] ][ WNNB <data> ][ RNNB [ expected data ] ][ WBTC1 <data> ][ RBTC1 [ expected data ] ][ WBTC2 <data> ][ RBTC2 [ expected data ] ][ WBTC3 <data> ][ RBTC3 [ expected data ] ][ WP1CFG <data> ][ RP1CFG [ expected data ] ][ WP3CFG <data> ][ RP3CFG [ expected data ] ][ WP4CFG <data> ][ RP4CFG [ expected data ] ][ ENAX2 ][ DISX2 ][ ENABLJB ][ DISBLJB ][ ENAOSC ][ DISOSC ][ ENASELBOOT ][ DISSELBOOT ][ INCLUDE <cmd_file> ][ ECHO <"your_comment"> ]107558A–AVR–11/057558A–AVR–11/05© Atmel Corporation 2005. All rights reserved. Atmel ®, logo and combinations thereof, are registered trademarks, and Everywhere You Are SM are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise,to anyintellectu-alproperty right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORYWAR-RANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICU-LARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN-TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMA-TION) ARISING OUTOF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAM-AGES. Atmel makes norepresentationsor warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specificationsand 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 useas components in applications intended to support or sustainlife.Atmel CorporationAtmel Operations2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311Fax: 1(408) 487-2600Regional HeadquartersEuropeAtmel SarlRoute des Arsenaux 41Case Postale 80CH-1705 Fribourg SwitzerlandTel: (41) 26-426-5555Fax: (41) 26-426-5500AsiaRoom 1219Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong KongTel: (852) 2721-9778Fax: (852) 2722-1369Japan9F, Tonetsu Shinkawa Bldg.1-24-8 ShinkawaChuo-ku, Tokyo 104-0033JapanTel: (81) 3-3523-3551Fax: (81) 3-3523-7581Memory2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311Fax: 1(408) 436-4314Microcontrollers2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311Fax: 1(408) 436-4314La Chantrerie BP 7060244306 Nantes Cedex 3, France Tel: (33) 2-40-18-18-18Fax: (33) 2-40-18-19-60ASIC/ASSP/Smart CardsZone Industrielle13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00Fax: (33) 4-42-53-60-011150 East Cheyenne Mtn. Blvd.Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300Fax: 1(719) 540-1759Scottish Enterprise Technology Park Maxwell BuildingEast Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000Fax: (44) 1355-242-743RF/AutomotiveTheresienstrasse 2Postfach 353574025 Heilbronn, Germany Tel: (49) 71-31-67-0Fax: (49) 71-31-67-23401150 East Cheyenne Mtn. Blvd.Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300Fax: 1(719) 540-1759Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF DatacomAvenue de Rochepleine BP 12338521 Saint-Egreve Cedex, France Tel: (33) 4-76-58-30-00Fax: (33) 4-76-58-34-80Literature Requests/literature。