dsPIC33FJ128MC706 Datasheet

  • dsPIC33FJ128MC706

  • High-Performance,16-Bit Digital Signal Controllers

  • 2439.47KB

  • 340页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
3.0
DEVICE PROGRAMMING 鈥?/div>
ENHANCED ICSP
3.1
Overview of the Programming
Process
This section discusses programming the device
through Enhanced ICSP and the programming execu-
tive. The programming executive resides in executive
memory (separate from code memory) and is executed
when Enhanced ICSP Programming mode is entered.
The programming executive provides the mechanism
for the programmer (host device) to program and verify
the dsPIC33F/PIC24H Programming Specification
family devices using a simple command set and com-
munication protocol. There are several basic functions
provided by the programming executive:
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
Read Memory
Erase Memory
Program Memory
Blank Check
Read Executive Firmware Revision
Figure 3-1 shows the high-level overview of the
programming process. After entering Enhanced ICSP
mode, the programming executive is verified. Next, the
device is erased. Then, the code memory is pro-
grammed, followed by the nonvolatile device Configu-
ration registers. Code memory (including the
Configuration registers) is then verified to ensure that
programming was successful.
After the programming executive has been verified
in memory (or loaded if not present), the dsPIC33F/
PIC24H Programming Specification can be pro-
grammed using the command set shown in Table 3-1.
FIGURE 3-1:
HIGH-LEVEL ENHANCED
ICSP鈩?PROGRAMMING
FLOW
Start
The programming executive performs the low-level
tasks required for erasing, programming and verifying
a device. This allows the programmer to program the
device by issuing the appropriate commands and data.
Table 3-1 summarizes the commands. A detailed
description for each command is provided in
Section 4.2 鈥淧rogramming Executive Commands鈥?
Enter Enhanced ICSP鈩?/div>
Perform Bulk
Erase
TABLE 3-1:
Command
SCHECK
READC
READP
PROGC
PROGP
PROGW
QBLANK
QVER
COMMAND SET SUMMARY
Description
Sanity check
Read Configuration registers or Device
ID registers
Read code memory
Program a Configuration register and
verify
Program one row of code memory and
verify
Program one word of code memory
and verify
Query if the code memory is blank
Query the software version
Done
Exit Enhanced ICSP
Program Configuration Bits
Verify Program
Program Memory
Verify Configuration Bits
The programming executive uses the device鈥檚 data
RAM for variable storage and program execution. After
the programming executive has run, no assumptions
should be made about the contents of data RAM.
2007 Microchip Technology Inc.
Preliminary
DS70152D-page 33

dsPIC33FJ128MC706相关型号PDF文件下载

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

在线人工客服

买家服务:
卖家服务:

0571-85317607

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

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

建议反馈

联系人:

联系方式:

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