AVR414
5.2 Programming the ATmega1281
The precompiled firmware used in the following subsection can be found in the “bin”
folder of the .zip file accompanying this document.
1. Connect a serial cable to the connector marked RS232CTRL on the STK500 to a
COM port on the PC.
2. Apply power to the STK500 by moving the power switch toward the edge of the
board.
3. Start AVR Studio and press the “Cancel” button in the Welcome dialog window.
4. From the Tools menu, select “Program AVR” and “Connect…”.
5. Select STK500 or AVRISP as platform and then press “Connect…”. Verify that a
dialog named “STK500 with STK501 top module” appears.
6. Open the “Program” tab. Select ATmega1281 from the Device pull down menu.
7. Select the “Fuses” tab and ensure that the Fuses are set as listed in Table 5-1:
Table 5-1. ATmega1281 Fuse Settings
Fuse Name
Brown-out detection disabled
Preserve EEPROM
Boot Flash section size=4096 words
Divide clock by 8 internally
Int. RC Osc.;Start-up time: 6CK + 65 ms
Setting
Checked
Checked
Checked
Not Checked
Checked
Comment
This way the user only needs to
program the EEPROM once.
Will divide the clock by 8. This
will corrupt the MAC execution.
8. Go back to the “Program” tab. Program the flash of the ATmega1281 with the
“bin\AVR414_evaluation_application.hex” file found in the “bin” folder.
9. Program the EEPROM of the ATmega1281 with the .hex file generated in
subsection 5.1.
10.Close the STK500 window.
6 Running the Evaluation Application
As mentioned in the introduction of this document an evaluation application is
available as a part of this application note. This is a peer-to-peer chat application,
where two RZ502 top modules are used to send messages back and forth. Figure 6-1
gives an overview of the evaluation application and its components from a system
point of view. The reminder of this section describes two different ways to interface
with the evaluation application.
11
8051A-AVR-11/06
相关PDF资料
ATP101-TL-H MOSFET P-CH 30V 25A ATPAK
ATP102-TL-H MOSFET P-CH 30V 40A ATPAK
ATP103-TL-H MOSFET P-CH 30V 55A ATPAK
ATP104-TL-H MOSFET P-CH 30V 75A ATPAK
ATP106-TL-H MOSFET P-CH 40V 30A ATPAK
ATP107-TL-H MOSFET P-CH 40V 50A ATPAK
ATP108-TL-H MOSFET P-CH 40V 70A ATPAK
ATP112-TL-H MOSFET P-CH 60V 25A ATPAK
相关代理商/技术参数
ATMEGA64RZAPV-10MU 功能描述:射频微控制器 - MCU AVR Z-Link BUNDLE RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
ATMEGA64RZAV-10AU 功能描述:射频微控制器 - MCU AVR Z-Link Bundle RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
ATMEGA64RZAV-10MU 功能描述:射频微控制器 - MCU AVR Z-Link Bundle RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
ATMEGA64RZAV-10PU 功能描述:射频微控制器 - MCU AVR Z-Link Bundle RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
ATMEGA8-16AC 功能描述:8位微控制器 -MCU AVR 8K FLASH 512B EE 1K SRAM ADC RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ATMEGA8-16AI 功能描述:8位微控制器 -MCU AVR 8K FLASH 512B EE 1K SRAM ADC RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ATMEGA8-16AI SL383 制造商:Atmel Corporation 功能描述:MCU 8-Bit ATmega AVR RISC 8KB Flash 5V 32-Pin TQFP T/R
ATMEGA8-16AJ 功能描述:IC MCU AVR 8K 5V 16MHZ 32-TQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR® ATmega 标准包装:9 系列:87C 核心处理器:8051 芯体尺寸:8-位 速度:40/20MHz 连通性:UART/USART 外围设备:POR,WDT 输入/输出数:32 程序存储器容量:32KB(32K x 8) 程序存储器类型:OTP EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:- 振荡器型:内部 工作温度:0°C ~ 70°C 封装/外壳:40-DIP(0.600",15.24mm) 包装:管件