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


¥ 3.71
DSPIC30F2012-30I/SP 用户编程技术手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
DIP-28
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P2Hot
导航目录
DSPIC30F2012-30I/SP数据手册
Page:
of 66 Go
若手册格式错乱,请下载阅览PDF原文件

© 2010 Microchip Technology Inc. DS70102K-page 1
dsPIC30F
1.0 OVERVIEW AND SCOPE
This document defines the programming specification
for the dsPIC30F family of Digital Signal Controllers
(DSCs). The programming specification is required
only for the developers of third-party tools that are used
to program dsPIC30F devices. Customers using
dsPIC30F devices should use development tools that
already provide support for device programming.
This document includes programming specifications
for the following devices:
• dsPIC30F2010/2011/2012
• dsPIC30F3010/3011/3012/3013/ 3014
• dsPIC30F4011/4012/4013
• dsPIC30F5011/5013/5015/5016
• dsPIC30F6010/6011/6012/6013/6014/6015
• dsPIC30F6010A/6011A/6012A/6013A/6014A
2.0 PROGRAMMING OVERVIEW
OF THE dsPIC30F
The dsPIC30F family of DSCs contains a region of on-
chip memory used to simplify device programming.
This region of memory can store a programming
executive, which allows the dsPIC30F to be
programmed faster than the traditional means. Once
the programming executive is stored to memory by an
external programmer (such as Microchip’s MPLAB
®
ICD 2, MPLAB
PM3, PRO MATE
®
II, or MPLAB REAL
ICE™), it can then interact with the external
programmer to efficiently program devices.
The programmer and programming executive have a
master-slave relationship, where the programmer is
the master programming device and the programming
executive is the slave, as illustrated in
Figure 2-1.
FIGURE 2-1: OVERVIEW OF dsPIC30F
PROGRAMMING
Two different methods are used to program the chip in
the user’s system. One method uses the Enhanced In-
Circuit Serial Programming™ (Enhanced ICSP™)
protocol and works with the programming executive.
The other method uses In-Circuit Serial Programming
(ICSP) protocol and does not use the programming
executive.
The Enhanced ICSP protocol uses the faster, high-
voltage method that takes advantage of the
programming executive. The programming executive
provides all the necessary functionality to erase,
program and verify the chip through a small command
set. The command set allows the programmer to
program the dsPIC30F without having to deal with the
low-level programming protocols of the chip.
The ICSP programming method does not use the
programming executive. It provides native, low-level
programming capability to erase, program and verify
the chip. This method is significantly slower because it
uses control codes to serially execute instructions on
the dsPIC30F device.
This specification describes the ICSP and Enhanced
ICSP programming methods. Section 3.0
“Programming Executive Application” describes
the programming executive application and
Section 5.0 “Device Programming” describes its
application programmer’s interface for the host
programmer. Section 11.0 “ICSP™ Mode”
describes the ICSP programming method.
2.1 Hardware Requirements
In ICSP or Enhanced ICSP mode, the dsPIC30F
requires two programmable power supplies: one for
V
DD and one for MCLR. For Bulk Erase programming,
which is required for erasing code protection bits, V
DD
must be greater than 4.5 volts. Refer to Section 13.0
“AC/DC Characteristics and Timing Requirements”
for additional hardware parameters.
Programmer
dsPIC30F Device
Programming
Executive
On-chip Memory
2
dsPIC30F Flash Programming Specification
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件