A FLASH Bootloader for PIC16 and PIC18 Devices--硬译(二)
Author: Ross M. Fosler and
? ? ? ? ? ? ? Rodger Richey ? ? ? ? ? ? ? Microchip Technology Inc. 译者: 逐影Linux Memory Organization 内存组织 PROGRAM MEMORY USAGE( 程序存储区使用) Currently,PIC18F devices reserve the first 512 bytes of Program Memory as the boot block. 目前,PIC18F器件使用第一个512字节的程序存储区作为boot block。 Future devices may expand this,depending on application requirements for these devices. 未来的器件有可能被扩展,依赖于这些器件的应用程序需求。? However,this bootloader is designed to occupy the current designated boot block of 512? bytes (or 256 words) of memory.? 然而,这个bootloader将会被设计占用当前内存中指定的512字节(或者256字)的boot block。 Figure 3 shows a memory map of the PIC18F452. 图3 显示了PIC18F452的内存映射 The boot area can be code protected to prevent accidental overwriting of the boot program. 这个boot区会编码保护,防止意外的boot程序覆盖。 PIC16F87XA enhanced microcontrollers are designed to use the first 256 words of program? memory.? PIC16F87XA 增强微控制器将被设计去利用第一个256字(应该是256字节吧,译者注)的程序 Like the PIC18F452 and other PIC18F devices,the boot area can be write protected? to prevent accidental overwriting of the boot program. 像PIC18F452和其他PIC18F器件,这个boot区会编码保护,防止意外的boot程序覆盖。 REMAPPED VECTORS(重映射向量表) DATA MEMORY USAGE (数据存储区的使用) The last location in data memory of the device (Figure 5) is reserved as a non-volatile Boot mode flag.? 器件在数据存储区的最后一个位置(图5)被保留作为一个非易失性启动模式标志。这个位置包含FFh默认情况下, (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |