전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

DSPIC33F 데이터시트(PDF) 57 Page - Microchip Technology

부품명 DSPIC33F
상세설명  Flash Programming Specification
PDF  80 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC33F 데이터시트(HTML) 57 Page - Microchip Technology

Back Button DSPIC33F Datasheet HTML 53Page - Microchip Technology DSPIC33F Datasheet HTML 54Page - Microchip Technology DSPIC33F Datasheet HTML 55Page - Microchip Technology DSPIC33F Datasheet HTML 56Page - Microchip Technology DSPIC33F Datasheet HTML 57Page - Microchip Technology DSPIC33F Datasheet HTML 58Page - Microchip Technology DSPIC33F Datasheet HTML 59Page - Microchip Technology DSPIC33F Datasheet HTML 60Page - Microchip Technology DSPIC33F Datasheet HTML 61Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 80 page
background image
© 2007 Microchip Technology Inc.
Preliminary
DS70152D-page 57
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
5.3
Entering ICSP Mode
As shown in Figure 5-4, entering ICSP Program/Verify
mode requires three steps:
1.
MCLR is briefly driven high then low.
2.
A 32-bit key sequence is clocked into PGD.
3.
MCLR is then driven high within a specified
period of time and held.
The programming voltage applied to MCLR is VIH,
which is essentially VDD in the case of dsPIC33F/
PIC24H devices. There is no minimum time require-
ment for holding at VIH. After VIH is removed, an inter-
val of at least P18 must elapse before presenting the
key sequence on PGD.
The key sequence is a specific 32-bit pattern,
‘0100 1101 0100 0011 0100 1000 0101 0001’
(more easily remembered as 0x4D434851 in hexa-
decimal). The device will enter Program/Verify mode only
if the sequence is valid. The Most Significant bit (MSb) of
the most significant nibble must be shifted in first.
Once the key sequence is complete, VIH must be
applied to MCLR and held at that level for as long as
Program/Verify mode is to be maintained. An interval of
at least time P19 and P7 must elapse before presenting
data on PGD. Signals appearing on PGD before P7
has elapsed will not be interpreted as valid.
On successful entry, the program memory can be
accessed and programmed in serial fashion. While
in ICSP mode, all unused I/Os are placed in the
high-impedance state.
FIGURE 5-4:
ENTERING ICSP™ MODE
5.4
Flash Memory Programming in
ICSP Mode
5.4.1
PROGRAMMING OPERATIONS
Flash memory write and erase operations are controlled
by the NVMCON register. Programming is performed by
setting NVMCON to select the type of erase operation
(Table 5-2) or write operation (Table 5-3) and initiating
the programming by setting the WR control bit
(NVMCON<15>).
In ICSP mode, all programming operations are self-
timed. There is an internal delay between the user set-
ting the WR control bit and the automatic clearing of the
WR control bit when the programming operation is
complete. Please refer to Section TABLE 8-1: “AC/
DC Characteristics and Timing Requirements” for
information about the delays associated with various
programming operations.
TABLE 5-2:
NVMCON ERASE
OPERATIONS
MCLR
PGD
PGC
VDD
P6
P14
b31
b30
b29
b28
b27
b2
b1
b0
b3
...
Program/Verify Entry Code = 0x4D434851
P1A
P1B
P18
P19
0
1
001
000
1
P7
VIH
VIH
NVMCON
Value
Erase Operation
0x404F
Erase all code memory, executive memory
and Configuration registers (does not
erase Unit ID or Device ID registers).
0x404D
Erase General Segment and FGS
Configuration register.
0x404C
Erase Secure Segment and FSS
Configuration register. This operation will
also erase the General Segment and FGS
Configuration register.
0x4042
Erase a page of code memory or
executive memory.
0x4040
Erase a Configuration register byte.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com