dsPIC33FJ128MC706 Datasheet

  • dsPIC33FJ128MC706

  • High-Performance,16-Bit Digital Signal Controllers

  • 2439.47KB

  • 340页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
TABLE 3-4:
Address
0xF80000
0xF80002
0xF80004
0xF80008
0xF8000A
0xF8000C
0xF8000E
0xF80010
0xF80012
0xF80014
0xF80016
Note 1:
2:
3:
dsPIC33F/PIC24H DEVICE CONFIGURATION REGISTER MAP
Name
FBS
FSS
FGS
IESO
FWDTEN
BKBUG
鈥?/div>
WINDIS
COE
FOSC
FWDT
FPOR
FICD
FUID0
FUID1
FUID2
FUID3
FCKSM<1:0>
PWMPIN
(1)
HPOL
(1)
Bit 7
Bit 6
Bit 5
鈥?/div>
鈥?/div>
鈥?/div>
TEMP
IOL1WAY
-
LPOL
(1)
JTAGEN
(2)
Bit 4
Bit 3
Bit 2
BSS<2:0>
SSS<2:0>
(3)
Bit 1
Bit 0
BWRP
SWRP
(3)
GWRP
RBS<1:0>
(3)
RSS<1:0>
(3)
GSS<1:0>
鈥?/div>
鈥?/div>
WDTPRE
ALTI2C
(2)
鈥?/div>
鈥?/div>
User Unit ID Byte 0
User Unit ID Byte 1
User Unit ID Byte 2
User Unit ID Byte 3
FNOSC<2:0>
OSCIOFNC
0xF80006 FOSCSEL
POSCMD<1:0>
WDTPOST<3:0>
FPWRT<2:0>
ICS<1:0>
On the dsPIC33F General Purpose Family devices (dsPIC33FJXXXGPXXX) and PIC24H devices, these
bits are reserved (read as 鈥?鈥?and must be programmed as 鈥?鈥?.
These bits are only present in the dsPIC33FJ12GP201/202, dsPIC33FJ12MC201/202 and
PIC24HJ12GP201/202 devices. In all other devices, they are unimplemented (read as 鈥?鈥?.
In the dsPIC33FJ12GP201/202, dsPIC33FJ12MC201/202 and PIC24HJ12GP201/202 devices, these bits
are reserved (read as 鈥?鈥?and must be programmed as 鈥?鈥?.
3.6.2
PROGRAMMING METHODOLOGY
3.6.4
Configuration bits may be programmed a single byte at
a time using the
PROGC
command. This command
specifies the configuration data and Configuration
register address. When Configuration bits are
programmed, any unimplemented bits must be
programmed with a 鈥?鈥?and any reserved bits must be
programmed with a 鈥?鈥?
Twelve
PROGC
commands are required to program all
the Configuration bits. A flowchart for Configuration bit
programming is shown in Figure 3-5.
Note:
If the General Code Segment Code-
Protect bit (GCP) is programmed to 鈥?鈥?
code memory is code-protected and
can not be read. Code memory must
be verified before enabling read protec-
tion. See
Section 3.6.4 鈥淐odeGuard
Security Configuration Bits鈥?/span>
for more
information about code-protect Configura-
tion bits.
CODEGUARD SECURITY
CONFIGURATION BITS
The FBS, FSS and FGS Configuration registers are
special Configuration registers that control the size and
level of code protection for the Boot Segment, Secure
Segment and General Segment, respectively. For each
segment, two main forms of code protection are
provided. One form prevents code memory from being
written (write protection), while the other prevents code
memory from being read (read protection).
BWRP, SWRP and GWRP bits control write protection
and BSS<2:0>, SSS<2:0> and GSS<1:0> bits controls
read protection. The Chip Erase
ERASEB
command
sets all the code protection bits to 鈥?鈥? which allows the
device to be programmed.
When write protection is enabled, any programming
operation to code memory will fail. When read protec-
tion is enabled, any read from code memory will cause
a 鈥?x0鈥?to be read, regardless of the actual contents of
code memory. Since the programming executive
always verifies what it programs, attempting to program
code memory with read protection enabled will also
result in failure.
It is imperative that all code protection bits are 鈥?鈥?while
the device is being programmed and verified. Only after
the device is programmed and verified should any of
the above bits be programmed to 鈥?鈥?
3.6.3
PROGRAMMING VERIFICATION
After the Configuration bits are programmed, the
contents of memory should be verified to ensure that
the programming was successful. Verification requires
the Configuration bits to be read back and compared
against the copy held in the programmer鈥檚 buffer. The
READC
command reads back the programmed
Configuration bits and verifies that the programming
was successful.
Any unimplemented Configuration bits are read-only
and read as 鈥?鈥? The reserved bits are read-only and
read as 鈥?鈥?
2007 Microchip Technology Inc.
Preliminary
DS70152D-page 45

dsPIC33FJ128MC706相关型号PDF文件下载

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

在线人工客服

买家服务:
卖家服务:

0571-85317607

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

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

建议反馈

联系人:

联系方式:

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