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

X  

DSPIC33F 데이터시트(PDF) 62 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) 62 Page - Microchip Technology

Back Button DSPIC33F Datasheet HTML 58Page - Microchip Technology DSPIC33F Datasheet HTML 59Page - Microchip Technology DSPIC33F Datasheet HTML 60Page - Microchip Technology DSPIC33F Datasheet HTML 61Page - Microchip Technology DSPIC33F Datasheet HTML 62Page - Microchip Technology DSPIC33F Datasheet HTML 63Page - Microchip Technology DSPIC33F Datasheet HTML 64Page - Microchip Technology DSPIC33F Datasheet HTML 65Page - Microchip Technology DSPIC33F Datasheet HTML 66Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 80 page
background image
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DS70152D-page 62
Preliminary
© 2007 Microchip Technology Inc.
5.7
Writing Configuration Memory
The 8-bit Configuration registers are programmable, one
register at a time. The default programming values rec-
ommended for the Configuration registers are shown in
Table 5-6 and Table 5-7. The recommended default
FOSCSEL value is 0x07, which selects the FRC clock
oscillator setting.
The FBS, FSS and FGS Configuration registers are
special since they enable code protection for the
device. For security purposes, once any bit in these
registers is programmed to ‘0’ (to enable code protec-
tion), it can only be set back to ‘1’ by performing a Bulk
Erase as described in Section 5.5 “Erasing Program
Memory”. Programming any of these bits from a ‘0’ to
‘1’ is not possible, but they may be programmed from a
‘1’ to a ‘0’ to enable code protection.
Table 5-8 shows the ICSP programming details for clear-
ing the Configuration registers. In Step 1, the Reset vec-
tor is exited. In Step 2, the write pointer (W7) is loaded
with 0x0000, which is the original destination address (in
TBLPAG, 0xF8 of program memory). In Step 3, the
NVMCON is set to program one Configuration register.
In Step 4, the TBLPAG register is initialized to 0xF8 for
writing to the Configuration registers. In Step 5, the value
to write to each Configuration register is loaded to W0.
In Step 6, the Configuration register data is written to the
write latch using the TBLWTL instruction. In Steps 7 and
8, the programming cycle is initiated. In Step 9, the inter-
nal PC is set to 0x200 as a safety measure to prevent the
PC from incrementing into unimplemented memory.
Lastly, Steps 4-9 are repeated until all twelve
Configuration registers are written.
TABLE 5-6:
DEFAULT CONFIGURATION
REGISTER VALUES FOR
dsPIC33FJ12GP201/202,
dsPIC33FJ12MC201/202 AND
PIC24HJ12GP201/202
TABLE 5-7:
DEFAULT CONFIGURATION
REGISTER VALUES FOR ALL
OTHER DEVICES
Address
Name
Default Value
0xF80000
FBS
0xCF
0xF80002
FSS
0xFF
0xF80004
FGS
0x07
0xF80006
FOSCSEL
0xA7
0xF80008
FOSC
0xE7
0xF8000A
FWDT
0xDF
0xF8000C
FPOR
0xF7
0xF8000E
FICD
0xE3
0xF80010
FUID0
0xFF
0xF80012
FUID1
0xFF
0xF80014
FUID2
0xFF
0xF80016
FUID3
0xFF
Address
Name
Default Value
0xF80000
FBS
0xCF
0xF80002
FSS
0xCF
0xF80004
FGS
0x07
0xF80006
FOSCSEL
0xA7
0xF80008
FOSC
0xC7
0xF8000A
FWDT
0xDF
0xF8000C
FPOR
0xE7
0xF8000E
FICD
0xE3
0xF80010
FUID0
0xFF
0xF80012
FUID1
0xFF
0xF80014
FUID2
0xFF
0xF80016
FUID3
0xFF



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