欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA2560 参数 Datasheet PDF下载

ATMEGA2560图片预览
型号: ATMEGA2560
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与256K字节的系统内可编程闪存 [8- BIT Microcontroller with 256K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 407 页 / 2985 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560的Datasheet PDF文件第338页浏览型号ATMEGA2560的Datasheet PDF文件第339页浏览型号ATMEGA2560的Datasheet PDF文件第340页浏览型号ATMEGA2560的Datasheet PDF文件第341页浏览型号ATMEGA2560的Datasheet PDF文件第343页浏览型号ATMEGA2560的Datasheet PDF文件第344页浏览型号ATMEGA2560的Datasheet PDF文件第345页浏览型号ATMEGA2560的Datasheet PDF文件第346页  
1. Set XA1, XA0 to “00”. This enables address loading.  
2. Set BS2, BS1 to “00”. This selects the address low byte.  
3. Set DATA = Address low byte (0x00 - 0xFF).  
4. Give XTAL1 a positive pulse. This loads the address low byte.  
C. Load Data Low Byte  
1. Set XA1, XA0 to “01”. This enables data loading.  
2. Set DATA = Data low byte (0x00 - 0xFF).  
3. Give XTAL1 a positive pulse. This loads the data byte.  
D. Load Data High Byte  
1. Set BS1 to “1”. This selects high data byte.  
2. Set XA1, XA0 to “01”. This enables data loading.  
3. Set DATA = Data high byte (0x00 - 0xFF).  
4. Give XTAL1 a positive pulse. This loads the data byte.  
E. Latch Data  
1. Set BS1 to “1”. This selects high data byte.  
2. Give PAGEL a positive pulse. This latches the data bytes. (See Figure 141 for  
signal waveforms)  
F. Repeat B through E until the entire buffer is filled or until all data within the page is  
loaded.  
While the lower bits in the address are mapped to words within the page, the higher bits  
address the pages within the FLASH. This is illustrated in Figure 140 on page 343. Note  
that if less than eight bits are required to address words in the page (pagesize < 256),  
the most significant bit(s) in the address low byte are used to address the page when  
performing a Page Write.  
G. Load Address High byte (Address bits15..8)  
1. Set XA1, XA0 to “00”. This enables address loading.  
2. Set BS2, BS1 to “01”. This selects the address high byte.  
3. Set DATA = Address high byte (0x00 - 0xFF).  
4. Give XTAL1 a positive pulse. This loads the address high byte.  
H. Load Address Extended High byte (Address bits 23..16)  
1. Set XA1, XA0 to “00”. This enables address loading.  
2. Set BS2, BS1 to “10”. This selects the address extended high byte.  
3. Set DATA = Address extended high byte (0x00 - 0xFF).  
4. Give XTAL1 a positive pulse. This loads the address high byte.  
I. Program Page  
1. Set BS2, BS1 to “00”  
2. Give WR a negative pulse. This starts programming of the entire page of data.  
RDY/BSY goes low.  
3. Wait until RDY/BSY goes high (See Figure 141 for signal waveforms).  
J. Repeat B through I until the entire Flash is programmed or until all data has been  
programmed.  
K. End Page Programming  
342  
ATmega640/1280/1281/2560/2561  
2549A–AVR–03/05  
 复制成功!