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

90USB82-16MU 参数 Datasheet PDF下载

90USB82-16MU图片预览
型号: 90USB82-16MU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8 / 16K字节 [8-bit Microcontroller with 8/16K Bytes of ISP Flash]
分类和应用: 微控制器和处理器外围集成电路异步传输模式ATM时钟
文件页数/大小: 306 页 / 2299 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB82-16MU的Datasheet PDF文件第229页浏览型号90USB82-16MU的Datasheet PDF文件第230页浏览型号90USB82-16MU的Datasheet PDF文件第231页浏览型号90USB82-16MU的Datasheet PDF文件第232页浏览型号90USB82-16MU的Datasheet PDF文件第234页浏览型号90USB82-16MU的Datasheet PDF文件第235页浏览型号90USB82-16MU的Datasheet PDF文件第236页浏览型号90USB82-16MU的Datasheet PDF文件第237页  
AT90USB82/162  
Note:  
Only one SPM instruction should be active at any time.  
23.6 Addressing the Flash During Self-Programming  
The Z-pointer is used to address the SPM commands. The Z pointer consists of the Z-registers  
ZL and ZH in the register file. The number of bits actually used is implementation dependent.  
Since the Flash is organized in pages (see Table 25-11 on page 248), the Program Counter can  
be treated as having two different sections. One section, consisting of the least significant bits, is  
addressing the words within a page, while the most significant bits are addressing the pages.  
This is shown in Figure 23-4. Note that the Page Erase and Page Write operations are  
addressed independently. Therefore it is of major importance that the Boot Loader software  
addresses the same page in both the Page Erase and Page Write operation. Once a program-  
ming operation is initiated, the address is latched and the Z-pointer can be used for other  
operations.  
The (E)LPM instruction use the Z-pointer to store the address. Since this instruction addresses  
the Flash byte-by-byte, also bit Z0 of the Z-pointer is used.  
Figure 23-4. Addressing the Flash During SPM(1)  
BIT 15  
ZPCMSB  
ZPAGEMSB  
1
0
0
Z - REGISTER  
PCMSB  
PAGEMSB  
PCWORD  
PROGRAM  
COUNTER  
PCPAGE  
PAGE ADDRESS  
WITHIN THE FLASH  
WORD ADDRESS  
WITHIN A PAGE  
PROGRAM MEMORY  
PAGE  
PAGE  
INSTRUCTION WORD  
PCWORD[PAGEMSB:0]:  
00  
01  
02  
PAGEEND  
Note:  
1. The different variables used in Figure 23-4 are listed in Table 23-10 on page 240.  
23.7 Self-Programming the Flash  
The program memory is updated in a page by page fashion. Before programming a page with  
the data stored in the temporary page buffer, the page must be erased. The temporary page  
buffer is filled one word at a time using SPM and the buffer can be filled either before the Page  
Erase command or between a Page Erase and a Page Write operation:  
Alternative 1, fill the buffer before a Page Erase  
• Fill temporary page buffer  
233  
7707D–AVR–07/08  
 复制成功!