最新免费av在线观看,亚洲综合一区成人在线,中文字幕精品无码一区二区三区,中文人妻av高清一区二区,中文字幕乱偷无码av先锋

DSPIC33FJ256MC710 Datasheet

  • DSPIC33FJ256MC710

  • 342頁

  • MICROCHIP   MICROCHIP

掃碼查看芯片數(shù)據(jù)手冊

上傳產(chǎn)品規(guī)格書

PDF預覽

dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
FIGURE 3-3:
ENTERING ENHANCED ICSP鈩?MODE
P6
P14
MCLR
V
IH
V
IH
P19
P7
V
DD
PGD
PGC
P18
0
b31
Program/Verify Entry Code = 0x4D434850
1
b30
0
b29
0
b28
1
b27
...
0
b3
0
b2
0
b1
0
b0
P1A
P1B
3.4
Blank Check
3.5
3.5.1
Code Memory Programming
PROGRAMMING METHODOLOGY
The term 鈥淏lank Check鈥?implies verifying that the
device has been successfully erased and has no
programmed memory locations. A blank or erased
memory location is always read as a 鈥?鈥?
The Device ID registers (0xFF0000:0xFF0002) can be
ignored by the Blank Check since this region stores
device information that cannot be erased. The device
Configuration registers are also ignored by the Blank
Check. Additionally, all unimplemented memory space
should be ignored from the Blank Check.
The
QBLANK
command is used for the Blank Check. It
determines if the code memory is erased by testing
these memory regions. A 鈥楤LANK鈥?or 鈥楴OT BLANK鈥?/div>
response is returned. If it is determined that the device
is not blank, it must be erased before attempting to
program the chip.
Code memory is programmed with the
PROGP
command.
PROGP
programs one row of code memory
starting from the memory address specified in the
command. The number of
PROGP
commands required
to program a device depends on the number of write
blocks that must be programmed in the device.
A flowchart for programming code memory is shown in
Figure 3-4. In this example, all 88K instruction words of
a dsPIC33F/PIC24H device are programmed. First, the
number of commands to send (called 鈥楻emainingC-
mds鈥?in the flowchart) is set to 1368 and the destination
address (called 鈥楤aseAddress鈥? is set to 鈥?鈥? Next, one
write block in the device is programmed with a
PROGP
command. Each
PROGP
command contains data for
one row of code memory of the dsPIC33F/PIC24H.
After the first command is processed successfully,
鈥楻emainingCmds鈥?is decremented by 鈥?鈥?and compared
with 鈥?鈥? Since there are more
PROGP
commands to
send, 鈥楤aseAddress鈥?is incremented by 0x80 to point to
the next row of memory.
On the second
PROGP
command, the second row is
programmed. This process is repeated until the entire
device is programmed..
Note:
If a bootloader needs to be programmed,
the bootloader code must not be pro-
grammed into the first page of code mem-
ory. For example, if a bootloader located at
address 0x200 attempts to erase the first
page, it would inadvertently erase itself.
Instead, program the bootloader into the
second page, e.g. 0x400.
2007 Microchip Technology Inc.
Preliminary
DS70152D-page 35

DSPIC33FJ256MC710相關型號PDF文件下載

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買家服務:
賣家服務:
技術客服:

0571-85317607

網(wǎng)站技術支持

13606545031

客服在線時間周一至周五
9:00-17:30

關注官方微信號,
第一時間獲取資訊。

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫提出的寶貴意見,您的參與是維庫提升服務的動力!意見一經(jīng)采納,將有感恩紅包奉上哦!