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

X  

PIC24FJ64GA Datasheet(PDF) 27 Page - Microchip Technology

No. de pieza PIC24FJ64GA
Descripción Electrónicos  PIC24FJXXXGA0XX Flash Programming Specification
PDF  52 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

PIC24FJ64GA Datasheet(HTML) 27 Page - Microchip Technology

Back Button PIC24FJ64GA Datasheet HTML 23Page - Microchip Technology PIC24FJ64GA Datasheet HTML 24Page - Microchip Technology PIC24FJ64GA Datasheet HTML 25Page - Microchip Technology PIC24FJ64GA Datasheet HTML 26Page - Microchip Technology PIC24FJ64GA Datasheet HTML 27Page - Microchip Technology PIC24FJ64GA Datasheet HTML 28Page - Microchip Technology PIC24FJ64GA Datasheet HTML 29Page - Microchip Technology PIC24FJ64GA Datasheet HTML 30Page - Microchip Technology PIC24FJ64GA Datasheet HTML 31Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 52 page
background image
© 2008 Microchip Technology Inc.
DS39768D-page 27
PIC24FJXXXGA0XX
4.0
DEVICE PROGRAMMING –
ENHANCED ICSP
This section discusses programming the device
through Enhanced ICSP and the programming execu-
tive. The programming executive resides in executive
memory (separate from code memory) and is executed
when Enhanced ICSP Programming mode is entered.
The programming executive provides the mechanism
for the programmer (host device) to program and verify
the PIC24FJXXXGA0XX devices using a simple
command set and communication protocol. There are
several basic functions provided by the programming
executive:
• Read Memory
• Erase Memory
• Program Memory
• Blank Check
• Read Executive Firmware Revision
The programming executive performs the low-level
tasks required for erasing, programming and verifying
a device. This allows the programmer to program the
device by issuing the appropriate commands and data.
Table 4-1 summarizes the commands. A detailed
description
for
each
command
is
provided
in
Section 5.2 “Programming Executive Commands”.
TABLE 4-1:
COMMAND SET SUMMARY
The programming executive uses the device’s data
RAM for variable storage and program execution. After
the programming executive has run, no assumptions
should be made about the contents of data RAM.
4.1
Overview of the Programming
Process
Figure 4-1 shows the high-level overview of the
programming process. After entering Enhanced ICSP
mode, the programming executive is verified. Next, the
device
is
erased.
Then,
the
code
memory
is
programmed, followed by the configuration locations.
Code memory (including the Configuration registers) is
then verified to ensure that programming was successful.
After the programming executive has been verified
in memory
(or
loaded
if
not
present),
the
PIC24FJXXXGA0XX family can be programmed using
the command set shown in Table 4-1.
FIGURE 4-1:
HIGH-LEVEL ENHANCED
ICSP™ PROGRAMMING FLOW
4.2
Confirming the Presence of the
Programming Executive
Before programming can begin, the programmer must
confirm that the programming executive is stored in
executive memory. The procedure for this task is
shown in Figure 4-2.
First, In-Circuit Serial Programming mode (ICSP) is
entered. Then, the unique Application ID Word stored in
executive memory is read. If the programming executive
is resident, the Application ID Word is BBh, which means
programming can resume as normal. However, if the
Application ID Word is not BBh, the programming
executive must be programmed to executive code
memory using the method described in Section 5.4
“Programming the Programming Executive to
Memory”.
Section 3.0 “Device Programming – ICSP” describes
the ICSP programming method. Section 3.11 “Reading
the Application ID Word” describes the procedure for
reading the Application ID Word in ICSP mode.
Command
Description
SCHECK
Sanity Check
READC
Read Device ID Registers
READP
Read Code Memory
PROGP
Program One Row of Code Memory
and Verify
PROGW
Program One Word of Code Memory
and Verify
QBLANK
Query if the Code Memory is Blank
QVER
Query the Software Version
Start
Done
Perform Chip
Erase
Program Memory
Verify Program
Enter Enhanced ICSP™
Program Configuration Bits
Verify Configuration Bits
Exit Enhanced ICSP



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


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