dsPIC30F4012 Datasheet

  • dsPIC30F4012

  • High-Performance, 16-bit Digital Signal Controllers

  • 2035.22KB

  • 238页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC30F2010
6.0
FLASH PROGRAM MEMORY
6.2
Note:
This data sheet summarizes features of this group
of dsPIC30F devices and is not intended to be a complete
reference source. For more information on the CPU,
peripherals, register descriptions and general device
functionality, refer to the 鈥渄sPIC30F
Family Reference
Manual鈥?/div>
(DS70046). For more information on the device
instruction set and programming, refer to the
鈥渄sPIC30F/
33F Programmer鈥檚 Reference Manual鈥?/div>
(DS70157).
Run-Time Self-Programming
(RTSP)
RTSP is accomplished using
TBLRD
(table read) and
TBLWT
(table write) instructions.
With RTSP, the user may erase program memory, 32
instructions (96 bytes) at a time and can write program
memory data, 32 instructions (96 bytes) at a time.
The dsPIC30F family of devices contains internal
program Flash memory for executing user code. There
are two methods by which the user can program this
memory:
1.
2.
In-Circuit Serial Programming (ICSP)
programming capability
Run-Time Self-Programming (RTSP)
6.3
Table Instruction Operation Summary
The
TBLRDL
and the
TBLWTL
instructions are used to
read or write to bits<15:0> of program memory.
TBLRDL
and
TBLWTL
can access program memory in
Word or Byte mode.
The
TBLRDH
and
TBLWTH
instructions are used to read
or write to bits<23:16> of program memory.
TBLRDH
and
TBLWTH
can access program memory in Word or
Byte mode.
A 24-bit program memory address is formed using
bits<7:0> of the TBLPAG register and the EA from a W
register specified in the table instruction, as shown in
Figure 6-1.
6.1
In-Circuit Serial Programming
(ICSP)
dsPIC30F devices can be serially programmed while in
the end application circuit. This is simply done with two
lines for Programming Clock and Programming Data
(which are named PGC and PGD respectively), and
three other lines for Power (V
DD
), Ground (V
SS
) and
Master Clear (MCLR). this allows customers to manu-
facture boards with unprogrammed devices, and then
program the digital signal controller just before shipping
the product. This also allows the most recent firmware
or a custom firmware to be programmed.
FIGURE 6-1:
ADDRESSING FOR TABLE AND NVM REGISTERS
24 bits
Using
Program
Counter
0
Program Counter
0
NVMADR Reg EA
Using
NVMADR
Addressing
1/0
NVMADRU Reg
8 bits
16 bits
Working Reg EA
Using
Table
Instruction
1/0
TBLPAG Reg
8 bits
16 bits
User/Configuration
Space Select
24-bit EA
Byte
Select
2006 Microchip Technology Inc.
DS70118G-page 43

dsPIC30F4012相关型号PDF文件下载

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:
技术客服:

0571-85317607

网站技术支持

13606545031

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!