Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

DSPIC33F Datasheet(PDF) 68 Page - Microchip Technology

No. de pieza DSPIC33F
Descripción Electrónicos  Flash Programming Specification
PDF  80 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC33F Datasheet(HTML) 68 Page - Microchip Technology

Back Button DSPIC33F Datasheet HTML 64Page - Microchip Technology DSPIC33F Datasheet HTML 65Page - Microchip Technology DSPIC33F Datasheet HTML 66Page - Microchip Technology DSPIC33F Datasheet HTML 67Page - Microchip Technology DSPIC33F Datasheet HTML 68Page - Microchip Technology DSPIC33F Datasheet HTML 69Page - Microchip Technology DSPIC33F Datasheet HTML 70Page - Microchip Technology DSPIC33F Datasheet HTML 71Page - Microchip Technology DSPIC33F Datasheet HTML 72Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 80 page
background image
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
DS70152D-page 68
Preliminary
© 2007 Microchip Technology Inc.
6.0
PROGRAMMING THE
PROGRAMMING EXECUTIVE
TO MEMORY
6.1
Overview
If it is determined that the programming executive is not
present in executive memory (as
described
in
Section 3.2 “Confirming the Presence of the Pro-
gramming Executive”), it must be programmed into
executive memory using ICSP, as described in
Section 5.0 “Device Programming – ICSP”.
Storing the programming executive to executive
memory is similar to normal programming of code
memory. Namely, the executive memory must first be
erased, and then the programming executive must be
programmed 64 words at a time. This control flow is
summarized in Table 6-1.
TABLE 6-1:
PROGRAMMING THE PROGRAMMING EXECUTIVE
Command
(Binary)
Data
(Hex)
Description
Step 1: Exit Reset vector and erase executive memory.
0000
0000
0000
0000
000000
000000
040200
000000
NOP
NOP
GOTO
0x200
NOP
Step 2: Initialize the NVMCON to erase a page of executive memory.
0000
0000
24072A
883B0A
MOV
#0x4042, W10
MOV
W10, NVMCON
Step 3: Initiate the erase cycle, wait for erase to complete and make sure WR bit is clear.
0000
0000
0000
-
0000
0000
0000
0001
A8E761
000000
000000
-
807600
887840
000000
<VISI>
BSET
NVMCON, #15
NOP
NOP
Externally time ‘P12’ msec
(see Section TABLE 8-1: “AC/DC
Characteristics and Timing Requirements”
) to allow suffi-
cient time for the Page Erase operation to complete.
MOV
NVMCON, W0
MOV
W0, VISI
NOP
Clock out contents of VISI register. Repeat until the WR bit
is clear.
Step 4: Repeat Step 3 four times to erase all four pages of executive memory.
Step 5: Initialize the NVMCON to program 64 instruction words.
0000
0000
24001A
883B0A
MOV
#0x4001, W10
MOV
W10, NVMCON
Step 6: Initialize TBLPAG and the write pointer (W7).
0000
0000
0000
0000
200800
880190
EB0380
000000
MOV
#0x80, W0
MOV
W0, TBLPAG
CLR
W7
NOP



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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