dsPIC30F Flash Programming Specification
DS70102K-page 60
2010 Microchip Technology Inc.
APPENDIX A: DEVICE-SPECIFIC
INFORMATION
A.1
Checksum Computation
The checksum computation is described in Section 6.8
16-bit computation can be made for each dsPIC30F
device. Computations for read code protection are
shown both enabled and disabled. The checksum
values assume that the Configuration registers are also
erased. However, when code protection is enabled, the
value of the FGS register is assumed to be 0x5.
A.2
dsPIC30F5011 and dsPIC30F5013
A.2.1
ICSP PROGRAMMING
The dsPIC30F5011 and dsPIC30F5013 processors
require that the FBS and FSS registers be programmed
with 0x0000 before the device is chip erased. The steps
to perform this action are shown in Table 11-4.
A.2.2
ENHANCED ICSP PROGRAMMING
The dsPIC30F5011 and dsPIC30F5013 processors
require that the FBS and FSS registers be programmed
with 0x0000 using the PROGC command before the
ERASEB command is used to erase the chip.
TABLE A-1:
CHECKSUM COMPUTATION
Device
Read Code
Protection
Checksum Computation
Erased
Value
Value with
0xAAAAAA at 0x0
and Last
Code Address
dsPIC30F2010
Disabled
CFGB+SUM(0:001FFF)
0xD406
0xD208
Enabled
CFGB
0x0404
dsPIC30F2011
Disabled
CFGB+SUM(0:001FFF)
0xD406
0xD208
Enabled
CFGB
0x0404
dsPIC30F2012
Disabled
CFGB+SUM(0:001FFF)
0xD406
0xD208
Enabled
CFGB
0x0404
dsPIC30F3010
Disabled
CFGB+SUM(0:003FFF)
0xA406
0xA208
Enabled
CFGB
0x0404
dsPIC30F3011
Disabled
CFGB+SUM(0:003FFF)
0xA406
0xA208
Enabled
CFGB
0x0404
dsPIC30F3012
Disabled
CFGB+SUM(0:003FFF)
0xA406
0xA208
Enabled
CFGB
0x0404
dsPIC30F3013
Disabled
CFGB+SUM(0:003FFF)
0xA406
0xA208
Enabled
CFGB
0x0404
dsPIC30F3014
Disabled
CFGB+SUM(0:003FFF)
0xA406
0xA208
Enabled
CFGB
0x0404
dsPIC30F4011
Disabled
CFGB+SUM(0:007FFF)
0x4406
0x4208
Enabled
CFGB
0x0404
dsPIC30F4012
Disabled
CFGB+SUM(0:007FFF)
0x4406
0x4208
Enabled
CFGB
0x0404
dsPIC30F4013
Disabled
CFGB+SUM(0:007FFF)
0x4406
0x4208
Enabled
CFGB
0x0404
dsPIC30F5011
Disabled
CFGB+SUM(0:00AFFF)
0xFC06
0xFA08
Enabled
CFGB
0x0404
dsPIC30F5013
Disabled
CFGB+SUM(0:00AFFF)
0xFC06
0xFA08
Enabled
CFGB
0x0404
dsPIC30F5015
Disabled
CFGB+SUM(0:00AFFF)
0xFC06
0xFA08
Enabled
CFGB
0x0404
Item Description:
SUM(a:b) = Byte sum of locations a to b inclusive (all 3 bytes of code memory)
CFGB
= Configuration Block (masked) = Byte sum of ((FOSC&0xC10F) + (FWDT&0x803F) +
(FBORPOR&0x87B3) + (FBS&0x310F) + (FSS&0x330F) + (FGS&0x0007) + (FICD&0xC003))
相关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