2010 Microchip Technology Inc.
DS70102K-page 27
dsPIC30F Flash Programming Specification
8.5.5
PROGP COMMAND
15
12 11
8 7
0
Opcode
Length
Reserved
Addr_MSB
Addr_LS
D_1
D_2
...
D_N
Field
Description
Opcode
0x5
Length
0x33
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 word 3 through 47
D_48
16-bit data word 48
The PROGP command instructs the programming
executive to program one row of code memory
(32 instruction words) to the specified memory
address. Programming begins with the row address
specified in the command. The destination address
should be a multiple of 0x40.
The data to program to memory, located in command
words D_1 through D_48, must be arranged using the
packed instruction word format shown in Figure 8-2.
After all data has been programmed to code memory,
the programming executive verifies the programmed
data against the data in the command.
Expected Response (2 words):
0x1500
0x0002
Note:
Refer to Table 5-2 for code memory size
information.
8.5.6
PROGC COMMAND
15
12 11
8 7
0
Opcode
Length
Reserved
Addr_MSB
Addr_LS
Data
Field
Description
Opcode
0x6
Length
0x4
Reserved
0x0
Addr_MSB
MSB of 24-bit destination address
Addr_LS
LS 16 bits of 24-bit destination
address
Data
Data to program
The PROGC command programs data to the specified
Configuration register and verifies the programming.
Configuration registers are 16 bits wide, and this
command allows one Configuration register to be
programmed.
Expected Response (2 words):
0x1600
0x0002
Note:
This command can only be used for
programming Configuration registers.
相关PDF资料
PIC24FJ64GB002-I/ML IC MCU 16BIT 64KB FLASH 28QFN
52746-1270 CONN FFC 12POS .5MM R/A ZIF SMD
TS80C31X2-MCE IC MCU 8BIT 40/20MHZ 44-VQFP
52746-0870 CONN FFC 8POS .5MM R/A ZIF SMD
PIC24FJ128GA008-I/PT IC PIC MCU FLASH 128K 80TQFP
PIC16F737-I/SP IC PIC MCU FLASH 4KX14 28DIP
PIC18F86K22-I/PTRSL MCU PIC 64K FLASH XLP 80TQFP
PIC16C63A-04I/SP IC MCU OTP 4KX14 PWM 28DIP
相关代理商/技术参数
DSPIC30F1010-30I/W 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:28/44-Pin High-Performance Switch Mode Power Supply Digital Signal Controllers
DSPIC30F1010AT-20E/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010AT-20I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010AT-30I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010BT-20I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010BT-30I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010CT-20I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers
DSPIC30F1010CT-30I/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Digital Signal Controllers