dsPIC33FJ64MC506 Datasheet

  • dsPIC33FJ64MC506

  • High-Performance,16-Bit Digital Signal Controllers

  • 2437.73KB

  • 340页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
5.7
Writing Configuration Memory
TABLE 5-6:
DEFAULT CONFIGURATION
REGISTER VALUES FOR
dsPIC33FJ12GP201/202,
dsPIC33FJ12MC201/202 AND
PIC24HJ12GP201/202
Name
FBS
FSS
FGS
FOSCSEL
FOSC
FWDT
FPOR
FICD
FUID0
FUID1
FUID2
FUID3
Default Value
0xCF
0xFF
0x07
0xA7
0xE7
0xDF
0xF7
0xE3
0xFF
0xFF
0xFF
0xFF
The 8-bit Configuration registers are programmable, one
register at a time. The default programming values rec-
ommended for the Configuration registers are shown in
Table 5-6 and Table 5-7. The recommended default
FOSCSEL value is 0x07, which selects the FRC clock
oscillator setting.
The FBS, FSS and FGS Configuration registers are
special since they enable code protection for the
device. For security purposes, once any bit in these
registers is programmed to 鈥?鈥?(to enable code protec-
tion), it can only be set back to 鈥?鈥?by performing a Bulk
Erase as described in
Section 5.5 鈥淓rasing Program
Memory鈥?
Programming any of these bits from a 鈥?鈥?to
鈥?鈥?is not possible, but they may be programmed from a
鈥?鈥?to a 鈥?鈥?to enable code protection.
Table 5-8 shows the ICSP programming details for clear-
ing the Configuration registers. In Step 1, the Reset vec-
tor is exited. In Step 2, the write pointer (W7) is loaded
with 0x0000, which is the original destination address (in
TBLPAG, 0xF8 of program memory). In Step 3, the
NVMCON is set to program one Configuration register.
In Step 4, the TBLPAG register is initialized to 0xF8 for
writing to the Configuration registers. In Step 5, the value
to write to each Configuration register is loaded to W0.
In Step 6, the Configuration register data is written to the
write latch using the
TBLWTL
instruction. In Steps 7 and
8, the programming cycle is initiated. In Step 9, the inter-
nal PC is set to 0x200 as a safety measure to prevent the
PC from incrementing into unimplemented memory.
Lastly, Steps 4-9 are repeated until all twelve
Configuration registers are written.
Address
0xF80000
0xF80002
0xF80004
0xF80006
0xF80008
0xF8000A
0xF8000C
0xF8000E
0xF80010
0xF80012
0xF80014
0xF80016
TABLE 5-7:
DEFAULT CONFIGURATION
REGISTER VALUES FOR ALL
OTHER DEVICES
Name
FBS
FSS
FGS
FOSCSEL
FOSC
FWDT
FPOR
FICD
FUID0
FUID1
FUID2
FUID3
Default Value
0xCF
0xCF
0x07
0xA7
0xC7
0xDF
0xE7
0xE3
0xFF
0xFF
0xFF
0xFF
Address
0xF80000
0xF80002
0xF80004
0xF80006
0xF80008
0xF8000A
0xF8000C
0xF8000E
0xF80010
0xF80012
0xF80014
0xF80016
DS70152D-page 62
Preliminary
2007 Microchip Technology Inc.

dsPIC33FJ64MC506相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:
技术客服:

0571-85317607

网站技术支持

13606545031

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!