Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24F04KA201 Datasheet(PDF) 5 Page - Microchip Technology

Part # PIC24F04KA201
Description  Flash Programming Specifications
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F04KA201 Datasheet(HTML) 5 Page - Microchip Technology

  PIC24F04KA201 Datasheet HTML 1Page - Microchip Technology PIC24F04KA201 Datasheet HTML 2Page - Microchip Technology PIC24F04KA201 Datasheet HTML 3Page - Microchip Technology PIC24F04KA201 Datasheet HTML 4Page - Microchip Technology PIC24F04KA201 Datasheet HTML 5Page - Microchip Technology PIC24F04KA201 Datasheet HTML 6Page - Microchip Technology PIC24F04KA201 Datasheet HTML 7Page - Microchip Technology PIC24F04KA201 Datasheet HTML 8Page - Microchip Technology PIC24F04KA201 Datasheet HTML 9Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 48 page
background image
PIC24FXXKAXXX
© 2008 Microchip Technology Inc.
Advance Information
DS39919A-page 5
3.0
DEVICE PROGRAMMING –
ICSP
The ICSP method is a special programming protocol
that
allows
reading
and
writing
to
the
PIC24FXXKAXXX device family memory. ICSP is the
most direct method used to program a device;
however, Enhanced ICSP is faster. The ICSP mode
also reads the contents of the executive memory to
determine if the programming executive is present.
This is accomplished by applying control codes and
instructions, serially to the device, using PGCx and
PGDx pins.
In ICSP mode, the system clock is taken from the
PGCx
pin regardless
of the device‘s
oscillator
Configuration bits. All of the instructions are shifted
serially to an internal buffer, loaded into the Instruction
Register (IR), and then executed. No program is
fetched from the internal memory. Instructions are fed
in 24 bits at a time. PGDx is used to shift data in, and
PGCx is used as both the serial shift clock and the CPU
execution clock.
3.1
Overview of the Programming
Process
Figure 3-1 illustrates the high-level overview of the
programming process.
After entering the ICSP mode, perform the following:
1.
Bulk Erase the device.
2.
Program and verify the code memory.
3.
Program and verify the data EEPROM memory.
4.
Program and verify the device configuration.
5.
Program the code-protect Configuration bits if
required.
FIGURE 3-1:
HIGH–LEVEL ICSP™
PROGRAMMING FLOW
3.2
ICSP Operation
Upon entry into ICSP mode, the CPU is Idle. An
internal state machine governs the execution of the
CPU. A 4-bit control code is clocked in, using PGCx
and PGDx, and this control code is used to command
the CPU (see Table 3-1).
The SIX control code is used to send instructions to the
CPU for execution, and the REGOUT control code is
used to read data out of the device via the VISI register.
TABLE 3-1:
CPU CONTROL CODES IN
ICSP™ MODE
Note:
During ICSP operation, the operating
frequency of PGCx should not exceed
10 MHz.
4-Bit
Control Code
Mnemonic
Description
0000b
SIX
Shift in 24-bit instruction
and execute.
0001b
REGOUT
Shift out the VISI
(0784h) register.
0010b-1111b
N/A
This is reserved.
Start
Perform Bulk
Erase
Program Memory
Verify Program
End
Enter ICSP™ Mode
Program Configuration Bits
Verify Configuration Bits
Exit ICSP Mode
Program Data EEPROM Memory
Verify Data EEPROM Memory



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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