dsPIC30F Flash Programming Specification
DS70102K-page 26
2010 Microchip Technology Inc.
8.5.3
READP COMMAND
15
12 11
8 7
0
Opcode
Length
N
Reserved
Addr_MSB
Addr_LS
Field
Description
Opcode
0x2
Length
0x4
N
Number of 24-bit instructions to read
(max of 32768)
Reserved
0x0
Addr_MSB
MSB of 24-bit source address
Addr_LS
LS 16 bits of 24-bit source address
The READP command instructs the programming
executive to read N 24-bit words of code memory
starting from the 24-bit address specified by
Addr_MSB and Addr_LS. This command can only be
used to read 24-bit data. All data returned in response
to this command uses the packed data format
Expected Response (2 + 3 * N/2 words for N even):
0x1200
2 + 3 * N/2
Least significant program memory word 1
...
Least significant data word N
Expected Response (4 + 3 * (N – 1)/2 words for N
odd):
0x1200
4 + 3 * (N – 1)/2
Least significant program memory word 1
...
MSB of program memory word N (zero padded)
Note:
Reading unimplemented memory will
cause the programming executive to
reset.
8.5.4
PROGD COMMAND
15
12 11
8 7
0
Opcode
Length
Reserved
Addr_MSB
Addr_LS
D_1
D_2
...
D_16
Field
Description
Opcode
0x4
Length
0x13
Reserved
0x0
Addr_MSB
MSB of 24-bit destination address
Addr_LS
LS 16 bits of 24-bit destination
address
D_1
16-bit data word 1
D_2
16-bit data word 2
...
16-bit data words 3 through 15
D_16
16-bit data word 16
The PROGD command instructs the programming
executive to program one row of data EEPROM. The
data to be programmed is specified by the 16 data
words (D_1, D_2,..., D_16) and is programmed to the
destination address specified by Addr_MSB and
Addr_LSB. The destination address should be a
multiple of 0x20.
Once the row of data EEPROM has been programmed,
the programming executive verifies the programmed
data against the data in the command.
Expected Response (2 words):
0x1400
0x0002
Note:
Refer to Table 5-3 for data EEPROM size
information.
相关PDF资料
DSPIC30F2011-30I/SO IC DSPIC MCU/DSP 12K 18SOIC
PIC16LF87-I/P IC MCU FLASH 4KX14 EEPROM 18DIP
PIC16C711-20/P IC MCU OTP 1KX14 A/D 18DIP
SFW30R-1STE1 SFW30R-1STE1-FFC/FPC CONN
SFW25R-1STE1 SFW25R-1STE1-FFC/FPC CONN
SFW14R-2STE1 SFW14R-2STE1-FFC/FPC CONN
SFW17R-1STE1 SFW17R-1STE1-FFC/FPC CONN
SFW18R-2STE1 SFW18R-2STE1-FFC/FPC CONN
相关代理商/技术参数
dsPIC30F2011-30I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 28LD 30MIPS 12 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
dsPIC30F2011-30I/P 功能描述:数字信号处理器和控制器 - DSP, DSC 18LD 30MIPS 12 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F2011-30I/P 制造商:Microchip Technology Inc 功能描述:16- Bit Digital Signal Controller
dsPIC30F2011-30I/SO 功能描述:数字信号处理器和控制器 - DSP, DSC 18LD 30MIPS 12 KB RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F2011-30I/SO 制造商:Microchip Technology Inc 功能描述:16- Bit Digital Signal Controller
DSPIC30F2011A20E/ML 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F2011A-20E/ML 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F2011A20E/P 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers