Datasheet 搜索 > 微控制器 > Microchip(微芯) > DSPIC30F6014A-30I/PF 数据手册 > DSPIC30F6014A-30I/PF 用户编程技术手册 4/66 页


¥ 80.502
DSPIC30F6014A-30I/PF 用户编程技术手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
TQFP-80
描述:
MICROCHIP DSPIC30F6014A-30I/PF 芯片, 16位数字信号控制器, 144K闪存
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P2Hot
导航目录
DSPIC30F6014A-30I/PF数据手册
Page:
of 66 Go
若手册格式错乱,请下载阅览PDF原文件

dsPIC30F Flash Programming Specification
DS70102K-page 4 © 2010 Microchip Technology Inc.
3.0 PROGRAMMING EXECUTIVE
APPLICATION
3.1 Programming Executive Overview
The programming executive resides in executive
memory and is executed when Enhanced ICSP
Programming mode is entered. The programming exec
-
utive provides the mechanism for the programmer (host
device) to program and verify the dsPIC30F, using a
simple command set and communication protocol.
The following capabilities are provided by the
programming executive:
• Read memory
- Code memory and data EEPROM
- Configuration registers
-Device ID
• Erase memory
- Bulk Erase by segment
- Code memory (by row)
- Data EEPROM (by row)
• Program memory
- Code memory
- Data EEPROM
- Configuration registers
•Query
- Blank Device
- Programming executive software version
The programming executive performs the low-level
tasks required for erasing and programming. This
allows the programmer to program the device by
issuing the appropriate commands and data.
The programming procedure is outlined in Section 5.0
“Device Programming”.
3.2 Programming Executive Code
Memory
The programming executive is stored in executive code
memory and executes from this reserved region of
memory. It requires no resources from user code
memory or data EEPROM.
3.3 Programming Executive Data RAM
The programming executive uses the device’s data
RAM for variable storage and program execution. Once
the programming executive has run, no assumptions
should be made about the contents of data RAM.
4.0 CONFIRMING THE CONTENTS
OF EXECUTIVE MEMORY
Before programming can begin, the programmer must
confirm that the programming executive is stored in exec-
utive memory. The procedure for this task is illustrated in
Figure 4-1.
First, ICSP mode is entered. The unique application ID
word stored in executive memory is then read. If the
programming executive is resident, the application ID
word is 0xBB, which means programming can resume
as normal. However, if the application ID word is not
0xBB, the programming executive must be
programmed to Executive Code memory using the
method described in
Section 12.0 “Programming the
Programming Executive to Memory”.
Section 11.0 “ICSP™ Mode” describes the process
for the ICSP programming method. Section 11.13
“Reading the Application ID Word” describes the
procedure for reading the application ID word in ICSP
mode.
FIGURE 4-1: CONFIRMING PRESENCE
OF THE PROGRAMMING
EXECUTIVE
Is
Start
Enter ICSP™ Mode
Application ID
0xBB?
Resident in Memory
Yes
No
Prog. Executive is
Application ID
Read the
be Programmed
Prog. Executive must
from Address
0x8005BE
Finish
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件