參數資料
型號: DSPIC30F2020-30I/SP
廠商: Microchip Technology
文件頁數: 44/66頁
文件大小: 0K
描述: IC DSPIC MCU/DSP 12K 28DIP
產品培訓模塊: Asynchronous Stimulus
標準包裝: 15
系列: dsPIC™ 30F
核心處理器: dsPIC
芯體尺寸: 16-位
速度: 30 MIP
連通性: I²C,IrDA,LIN,SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數: 21
程序存儲器容量: 12KB(4K x 24)
程序存儲器類型: 閃存
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
數據轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-DIP(0.300",7.62mm)
包裝: 管件
產品目錄頁面: 650 (CN2011-ZH PDF)
配用: DM300023-ND - KIT DEMO DSPICDEM SMPS BUCK
DV164005-ND - KIT ICD2 SIMPLE SUIT W/USB CABLE
2010 Microchip Technology Inc.
DS70102K-page 49
dsPIC30F Flash Programming Specification
11.10 Reading Code Memory
Reading from code memory is performed by executing
a series of TBLRD instructions and clocking out the data
using the REGOUT command. To ensure efficient
execution and facilitate verification on the programmer,
four instruction words are read from the device at a
time.
Table 11-10 shows the ICSP programming details for
reading code memory. In Step 1, the Reset vector is
exited. In Step 2, the 24-bit starting source address for
reading is loaded into the TBLPAG and W6 registers.
The upper byte of the starting source address is stored
to TBLPAG, while the lower 16 bits of the source
address are stored to W6.
To minimize the reading time, the packed instruction
word format that was utilized for writing is also used for
reading (see Figure 11-5). In Step 3, the write pointer
W7 is initialized, and four instruction words are read
from code memory and stored to working registers
W0:W5. In Step 4, the four instruction words are
clocked out of the device from the VISI register using
the REGOUT command. In Step 5, the internal PC is
reset to 0x100, as a precautionary measure, to prevent
the PC from incrementing into unimplemented memory
when large devices are being read. Lastly, in Step 6,
Steps 3-5 are repeated until the desired amount of
code memory is read.
TABLE 11-10: SERIAL INSTRUCTION EXECUTION FOR READING CODE MEMORY
Command
(Binary)
Data
(Hexadecimal)
Description
Step 1: Exit the Reset vector.
0000
040100
000000
GOTO 0x100
NOP
Step 2: Initialize TBLPAG and the read pointer (W6) for TBLRD instruction.
0000
200xx0
880190
2xxxx6
MOV
#<SourceAddress23:16>, W0
MOV
W0, TBLPAG
MOV
#<SourceAddress15:0>, W6
Step 3: Initialize the write pointer (W7) and store the next four locations of code memory to W0:W5.
0000
EB0380
000000
BA1B96
000000
BADBB6
000000
BADBD6
000000
BA1BB6
000000
BA1B96
000000
BADBB6
000000
BADBD6
000000
BA0BB6
000000
CLR
W7
NOP
TBLRDL
[W6], [W7++]
NOP
TBLRDH.B
[W6++], [W7++]
NOP
TBLRDH.B
[++W6], [W7++]
NOP
TBLRDL
[W6++], [W7++]
NOP
TBLRDL
[W6], [W7++]
NOP
TBLRDH.B
[W6++], [W7++]
NOP
TBLRDH.B
[++W6], [W7++]
NOP
TBLRDL
[W6++], [W7]
NOP
相關PDF資料
PDF描述
PIC18F4515-I/PT IC MCU FLASH 24KX16 44TQFP
PIC18F97J60-I/PT IC PIC MCU FLASH 64KX16 100TQFP
PIC18F2525-I/SO IC MCU FLASH 24KX16 28SOIC
PIC18F4431-I/PT IC PIC MCU FLASH 8KX16 44TQFP
PIC24HJ128GP502-I/MM IC PIC MCU FLASH 128K 28QFN-S
相關代理商/技術參數
參數描述
DSPIC30F2020AT-20E 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers
DSPIC30F2020AT-20I 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers
DSPIC30F2020AT-30E 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers
DSPIC30F2020AT-30I 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers
DSPIC30F2020BT-20E 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers