Category:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
0
1
2
3
4
5
6
7
8
9
Position:IcFull.com » IC Electronic information » Category: D

IC Electronic information

DsPIC33F MCU based applications upgrade

In Electronic Infomation Category: D | on April 27,2011

DSPIC33F series microcontroller is Microchip Corporation (Microchip) launched a high-performance microcontroller, digital signal processor will (DIGItal Signal Pr ocessor, DSP), high-speed computing power and UM62256DM-70LL datasheet and control characteristics of the microcontroller integrated seamlessly together, for embedded system design cost-effective single-chip, single-instruction stream solution for audio processing, video processing and UM62256DM-70LL price and industrial control has been widely applied. However, in practice, changes in customer demand or procedures BU G changes and UM62256DM-70LL suppliers and other reasons, often need to upgrade the case of SCM applications, we use run-time self-dsPIC33F microcontroller programming (RunTime SelfProgr amming, RTSP) features, implemented based on The SCM application upgrades.

1 Basic principles

DsPIC33F family of microcontrollers offers two ways for programming its internal program memory: Circuit Serial Programming (InCir cuit Serial Progr amming, ICSP), and run-time self-programming (RunTimeSelfProg ramming, RT SP). ICSP using five lines of microcontroller programming, mainly for product commissioning or production process, is obviously not suitable for running the program for product upgrades. RTSP is through the use of TBLRD (table read) and T BLWT (table write) instructions to complete, using the RT SP 64 instructions at once (192 B) blocks (or "Bank") or a single program memory word write programs memory 512 can also erase instructions (1 536 B) blocks (or "page"), as the method implemented by program instructions from the programming operation can be applied to products, programs to upgrade, so this paper, RT SP Methods dsPIC33F MCU-based application upgrades. Substantial upgrade program is the program memory content update, it is necessary to first understand what dsPIC33F MCU internal structure of the program memory.

1. 1 dsPIC33F MCU program memory internal structure of the

DsPIC33F MCU program memory structure shown in Figure 1.


Figure 1, the internal structure of the program memory map

Normal circumstances, the "reset address" for the whole contents of 0, processor reset all program memory address 0 from the position started, from Figure 1 "GOTO command" position started. Store here, a jump instruction, point directly to the user program the first address, by default, the location of the command to "GOT O 0x 200", which is the default jump to the first address of 0x 200 of the user program (Figure 1 "user program memory space") started. dsPIC33F microcontroller interrupt vector table with two, namely, "Interrupt Vector" and "Alternate Interrupt Vector Table", address respectively, from 0x 000004 ~ 0x0000FF and 0x 000100 ~ 0x0001FF the two interrupt vector interrupt allows the use of different procedures to deal with Each interrupt source. Program upgrades is based on the internal structure of the program memory to achieve the above characteristics.

Full Text PDF Download: dsPIC33F MCU based applications upgrade. Pdf

UM62256DM-70LL datasheetUM62256DM-70LL suppliersUM62256DM-70LL Price

All right reserved:icfull.com © 2010-2016 Certificate