dsPIC33FJ128MC706 Datasheet

  • dsPIC33FJ128MC706

  • High-Performance,16-Bit Digital Signal Controllers

  • 2439.47KB

  • 340页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
5.9
Reading Configuration Memory
Table 5-10 shows the ICSP programming details for
reading all of configuration memory. Note that the
TBLPAG register is hard coded to 0xF8 (the upper byte
address of configuration memory) and the read pointer,
W6, is initialized to 0x0000.
The procedure for reading configuration memory is
similar to the procedure for reading code memory,
except that 16-bit data words are read (with the upper
byte read being all 鈥?鈥檚) instead of 24-bit words. Since
there are twelve Configuration registers, they are read
one register at a time.
TABLE 5-10:
Command
(Binary)
SERIAL INSTRUCTION EXECUTION FOR READING ALL CONFIGURATION MEMORY
Data
(Hex)
Description
Step 1:
Exit Reset vector.
0000
0000
0000
0000
0000
0000
0000
0000
0000
000000
000000
040200
000000
200F80
880190
EB0300
207847
000000
NOP
NOP
GOTO
NOP
MOV
MOV
CLR
MOV
NOP
0x200
Step 2:
Initialize TBLPAG, the read pointer (W6) and the write pointer (W7) for
TBLRD
instruction.
#0xF8, W0
W0, TBLPAG
W6
#VISI, W7
Step 3:
Read the Configuration register and write it to the VISI register (located at 0x784) and clock out the
VISI register using the
REGOUT
command.
0000
0000
0000
0001
BA0BB6
000000
000000
<VISI>
TBLRDL [W6++], [W7]
NOP
NOP
Clock out contents of VISI register
Step 4:
Repeat step 3 twelve times to read all the Configuration registers.
Step 5:
Reset device internal PC.
0000
0000
040200
000000
GOTO
NOP
0x200
2007 Microchip Technology Inc.
Preliminary
DS70152D-page 65

dsPIC33FJ128MC706相关型号PDF文件下载

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

热门IC型号推荐

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

在线人工客服

买家服务:
卖家服务:

0571-85317607

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

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

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

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