参数资料
型号: DSPIC30F2020-30I/SP
厂商: Microchip Technology
文件页数: 64/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 7
dsPIC30F Flash Programming Specification
5.5
Code Memory Programming
5.5.1
OVERVIEW
The Flash code memory array consists of 512 rows of
thirty-two, 24-bit instructions. Each panel stores 16K
instruction words, and each dsPIC30F device has
either 1, 2 or 3 memory panels (see Table 5-2).
TABLE 5-2:
DEVICE CODE MEMORY SIZE
Device
Code Size
(24-bit
Words)
Number
of
Rows
Number
of
Panels
dsPIC30F2010
4K
128
1
dsPIC30F2011
4K
128
1
dsPIC30F2012
4K
128
1
dsPIC30F3010
8K
256
1
dsPIC30F3011
8K
256
1
dsPIC30F3012
8K
256
1
dsPIC30F3013
8K
256
1
dsPIC30F3014
8K
256
1
dsPIC30F4011
16K
512
1
dsPIC30F4012
16K
512
1
dsPIC30F4013
16K
512
1
dsPIC30F5011
22K
704
2
dsPIC30F5013
22K
704
2
dsPIC30F5015
22K
704
2
dsPIC30F5016
22K
704
2
dsPIC30F6010
48K
1536
3
dsPIC30F6010A
48K
1536
3
dsPIC30F6011
44K
1408
3
dsPIC30F6011A
44K
1408
3
dsPIC30F6012
48K
1536
3
dsPIC30F6012A
48K
1536
3
dsPIC30F6013
44K
1408
3
dsPIC30F6013A
44K
1408
3
dsPIC30F6014
48K
1536
3
dsPIC30F6014A
48K
1536
3
dsPIC30F6015
48K
1536
3
5.5.2
PROGRAMMING METHODOLOGY
Code memory is programmed with the PROGP
command. PROGP programs one row of code memory
to the memory address specified in the command. The
number of PROGP commands required to program a
device depends on the number of rows that must be
programmed in the device.
A flowchart for programming of code memory is illus-
trated in Figure 5-3. In this example, all 48K instruction
words of a dsPIC30F6014A device are programmed.
First, the number of commands to send (called
‘RemainingCmds’ in the flowchart) is set to 1536 and
the destination address (called ‘BaseAddress’) is set to
‘0’.
Next, one row in the device is programmed with a
PROGP command. Each PROGP command contains
data for one row of code memory of the
dsPIC30F6014A. After the first command is processed
successfully, ‘RemainingCmds’ is decremented by 1
and compared to 0. Since there are more PROGP
commands to send, ‘BaseAddress’ is incremented by
0x40 to point to the next row of memory.
On the second PROGP command, the second row of
each memory panel is programmed. This process is
repeated until the entire device is programmed. No
special handling must be performed when a panel
boundary is crossed.
FIGURE 5-3:
FLOWCHART FOR
PROGRAMMING
dsPIC30F6014A CODE
MEMORY
Is
PROGP response
PASS?
Is
RemainingCmds
0?
BaseAddress = 0x0
RemainingCmds = 1536
RemainingCmds =
RemainingCmds – 1
Finish
BaseAddress =
BaseAddress
No
Yes
+ 0x40
Start
Failure
Report Error
Send
PROGP
Command to Program
BaseAddress
相关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