dsPIC30F Flash Programming Specification
DS70102K-page 20
2010 Microchip Technology Inc.
6.0
OTHER PROGRAMMING
FEATURES
6.1
Erasing Memory
Memory is erased by using an ERASEB, ERASED or
ERASEP command, as detailed in Section 8.5
erased by row using ERASEP. Data EEPROM can be
erased by row using ERASED. When memory is erased,
the affected memory locations are set to ‘1’s.
ERASEB provides several Bulk Erase options.
Performing a Chip Erase with the ERASEB command
clears all code memory, data EEPROM and code
protection registers. Alternatively, ERASEB can be used
to selectively erase either all code memory or data
EEPROM. Erase options are summarized in Table 6-1.
TABLE 6-1:
ERASE OPTIONS
Command
Affected Region
ERASEB
Entire chip(1) or all code memory or all
data EEPROM, or erase by segment
ERASED
Specified rows of data EEPROM
ERASEP(2)
Specified rows of code memory
Note 1: The system operation Configuration
registers and device ID registers are not
erasable.
2: ERASEP cannot be used to erase code-
protect Configuration bits. These bits must
be erased using ERASEB.
6.2
Modifying Memory
Instead
of
bulk-erasing
the
device
before
programming, it is possible that you may want to modify
only a section of an already programmed device. In this
situation, Chip Erase is not a realistic option.
Instead, you can erase selective rows of code memory
and data EEPROM using ERASEP and ERASED,
respectively. You can then reprogram the modified
rows with the PROGP and PROGD command pairs. In
these cases, when code memory is programmed,
single-panel programming must be specified in the
PROGP command.
For modification of Advanced Code Protection bits for
a particular segment, the entire chip must first be
erased with the ERASEB command. Alternatively, on
devices that support Advanced Security, individual
segments (code and/or data EEPROM) may be
erased, by suitably changing the MS (Memory Select)
field in the ERASEB command. The code-protect
Configuration bits can then be reprogrammed using the
PROGC command.
Note:
If read or write code protection is enabled
for a segment, no modifications can be
made to that segment until code
protection is disabled. Code protection
can only be disabled by performing a Chip
Erase or by performing a Segment Erase
operation for the required segment.
6.3
Reading Memory
The READD command reads the data EEPROM,
Configuration bits and device ID of the device. This
command only returns 16-bit data and operates on
16-bit registers. READD can be used to return the
entire contents of data EEPROM.
The READP command reads the code memory of the
device. This command only returns 24-bit data packed
READP can be used to read up to 32K instruction words
of code memory.
Note:
Reading an unimplemented memory
location
causes
the
programming
executive to reset. All READD and READP
commands must specify only valid
memory locations.
6.4
Programming Executive Software
Version
At times, it may be necessary to determine the version
of programming executive stored in executive memory.
The QVER command performs this function. See
about this command.
6.5
Data EEPROM Information in the
Hexadecimal File
To allow portability of code, the programmer must read
the data EEPROM information from the hexadecimal
file. If data EEPROM information is not present, a
simple warning message should be issued by the
programmer. Similarly, when saving a hexadecimal file,
all data EEPROM information must be included. An
option to not include the data EEPROM information can
be provided.
Microchip Technology Inc. believes that this feature is
important for the benefit of the end customer.
相关PDF资料
PIC16LF767-I/ML IC PIC MCU FLASH 8KX14 28QFN
PIC18LF2320-I/SO IC MCU FLASH 4KX16 EEPROM 28SOIC
PIC18F4458-I/ML IC PIC MCU FLASH 12KX16 44QFN
DSPIC33FJ64GP706A-I/PT IC DSPIC MCU/DSP 64K 64-TQFP
PIC16F874-20/P IC MCU FLASH 4KX14 EE 40DIP
DSPIC33FJ64GP706-I/PT IC DSPIC MCU/DSP 64K 64TQFP
PIC24HJ128GP210-I/PT IC PIC MCU FLASH 128KB 100TQFP
84854-101LF METRAL 1000 RCPT 5ROW PRESS FIT
相关代理商/技术参数
dsPIC30F2023-30I/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O 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
DSPIC30F2023-30I/PTD32 功能描述:IC DSPIC MCU/DSP 12K 44-TQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:dsPIC™ 30F 产品培训模块:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 标准包装:60 系列:MSP430F2xx 核心处理器:RISC 芯体尺寸:16-位 速度:12MHz 连通性:SPI,UART/USART 外围设备:欠压检测/复位,PWM,WDT 输入/输出数:11 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 3x24b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:24-TSSOP(0.173",4.40mm 宽) 包装:管件
dsPIC30F2023T-30I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O 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
dsPIC30F2023T-30I/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O 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
dsPIC30F3010-20E/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 44LD 20MIPS 24 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
dsPIC30F3010-20E/SO 功能描述:数字信号处理器和控制器 - DSP, DSC 28LD 20MIPS 24 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
dsPIC30F3010-20E/SP 功能描述:数字信号处理器和控制器 - DSP, DSC 28LD 20MIPS 24 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
dsPIC30F3010-20I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 44LD 20MIPS 24 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