Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC12F510-I/P 数据手册 > PIC12F510-I/P 用户编程技术手册 2/20 页


¥ 4.911
PIC12F510-I/P 用户编程技术手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
DIP-8
描述:
MICROCHIP PIC12F510-I/P 微控制器, 8位, 闪存, AEC-Q100, PIC12F5xx, 8 MHz, 1.5 KB, 38 Byte, 8 引脚, DIP
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P1Hot
电气规格在P17
导航目录
PIC12F510-I/P数据手册
Page:
of 20 Go
若手册格式错乱,请下载阅览PDF原文件

PIC12F510
DS41257B-page 2 © 2007 Microchip Technology Inc.
2.0 MEMORY MAPPING
2.1 User Program Memory Map
The user memory space extends from (0x000-0x3FF)
on the PIC12F510. In Program/Verify mode, the pro-
gram memory space extends from (0x000-0x7FF) for
the PIC12F510. The first half, (0x000-0x3FF), is user
program memory. The second half, (0x400-0x7FF), is
configuration memory. The PC will increment from
(0x000-0x3FF) then to 0x400, (not to 0x000).
In the configuration memory space, 0x400-0x43F are
physically implemented. However, only locations
0x400-0x403 are available. Other locations are
reserved.
2.2 User ID Locations
A user may store identification information (ID) in four
user ID locations. The user ID locations are mapped in
[0x400:0x403]. It is recommended that the user use
only the four Least Significant bits (LSb) of each user
ID location. The user ID locations read out normally,
even after code protection is enabled. It is recom-
mended that user ID locations are written as ‘xxxx
xxxx bbbb’ where ‘bbbb’ is user ID information.
The 12 bits may be programmed, but only the four LSbs
are displayed by MPLAB
®
IDE. The xxxx’s are “don’t
care” bits and are not read by MPLAB IDE.
2.3 Configuration Word
The Configuration Word is physically located at 0x7FF.
It is only available upon Program mode entry. Once an
Increment Address command is issued, the Configura-
tion Word is no longer accessible, regardless of the
address of the program counter.
FIGURE 2-1: PIC12F510 PROGRAM
MEMORY MAP
2.4 Oscillator Calibration Bits
The oscillator calibration bits are stored at the Reset
vector as the operand of a MOVLW instruction. Program-
ming interfaces must allow users to program the
calibration bits themselves for custom trimming of the
INTOSC. Capability for programming the calibration
bits when programming the entire memory array must
also be maintained for backwards compatibility.
2.5 Backup OSCCAL Value
The backup OSCCAL value, 0x404, is a factory location
where the OSCCAL value is stored during testing of the
INTOSC. This location is not erased during a standard
Bulk Erase, but is erased if the PC is moved into
configuration memory prior to invoking a Bulk Erase. If
this value is erased, it is the user’s responsibility to
rewrite it back to this location for future use.
Note: By convention, the Configuration Word is
stored at the logical address location of
0xFFF within the hex file generated for the
PIC12F510. This logical address location
may not reflect the actual physical address
for the part itself. It is the responsibility of
the programming software to retrieve the
Configuration Word from the logical
address within the hex file and granulate
the address to the proper physical location
when programming.
User Memory
Space
000h
1FFh
Reset Vector
On-chip User
Program
Memory (Page 0)
200h
3FFh
3FEh
User ID Locations
Reserved
Configuration Word
400h
403h
404h
7FEh
7FFh
43Fh
440h
Unimplemented
On-chip User
Program
Memory (Page 1)
Backup OSCCAL value
405h
Config Memory
Space
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件