Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

PIC24F04KA201 Datasheet(PDF) 9 Page - Microchip Technology

Part # PIC24F04KA201
Description  Flash Programming Specifications
Download  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) 9 Page - Microchip Technology

Back Button 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 PIC24F04KA201 Datasheet HTML 10Page - Microchip Technology PIC24F04KA201 Datasheet HTML 11Page - Microchip Technology PIC24F04KA201 Datasheet HTML 12Page - Microchip Technology PIC24F04KA201 Datasheet HTML 13Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 48 page
background image
PIC24FXXKAXXX
© 2008 Microchip Technology Inc.
Advance Information
DS39919A-page 9
3.4
Flash Memory Programming in
ICSP Mode
3.4.1
PROGRAMMING OPERATIONS
The NVMCON register controls the Flash memory write
and erase operations. To program the device, set the
NVMCON register to select the type of erase operation
(see Table 3-2) or write operation (see Table 3-3). Set
the WR control bit (NVMCON<15>) to initiate the
program.
In ICSP mode, all programming operations are
self-timed. There is an internal delay between setting
and automatic clearing of the WR control bit when the
programming
operation
is complete.
Refer
to
Section 7.0 “AC/DC Characteristics and Timing
Requirements”
for
information
on
the
delays
associated with various programming operations.
TABLE 3-3:
NVMCON VALUES FOR
WRITE OPERATIONS
3.4.2
STARTING AND STOPPING A
PROGRAMMING CYCLE
The WR bit (NVMCON<15>) is used to start an erase
or write cycle. Initiate the programming cycle by setting
the WR bit.
All erase and write cycles are self-timed. The WR bit
should be polled to determine if the erase or write cycle
is completed. Start a programming cycle as follows:
BSET
NVMCON, #WR
3.5
Erasing Program Memory
To erase the program memory (all of code memory,
data memory and Configuration bits, including the
code-protect bits), set the NVMCON to 4064h and then
execute the programming cycle.
Figure 3-6 illustrates the ICSP programming process
for Bulk Erase. This process includes the ICSP
command code, which must be transmitted (for each
instruction), LSB first, using the PGCx and PGDx pins
(see Figure 3-2).
Table 3-4 provides the steps for executing serial
instruction for the Bulk Erase mode.
FIGURE 3-6:
BULK ERASE FLOW
TABLE 3-2:
NVMCON VALUES FOR
ERASE OPERATIONS
NVMCON
Value
Erase Operation
4064h
Erase the code memory and
Configuration registers (does not erase
programming executive code and
Device ID registers).
404Ch
Erase the general segment and
Configuration bits associated with it.
4068h
Erase the boot segment and
Configuration bits associated with it.
405Ah(1)
Erase four rows of code memory.
4059h(1)
Erase two rows of code memory.
4058h(1)
Erase a row of code memory.
4050h
Erase the entire data EEPROM
memory and Configuration bits
associated with it.
405Ah(1)
Erase eight words of data EEPROM
memory.
4059h(1)
Erase four words of data EEPROM
memory.
4058h(1)
Erase one word of data EEPROM
memory.
4054h
Erase all the Configuration registers
(except the code-protect fuses).
4058h(1)
Erase Configuration registers except
FBS and FGS.
Note 1:
The destination address decides the
region (code memory, data EEPROM
memory or Configuration register) of the
erased rows/words.
NVMCON
Value
Write Operation
4004h(1)
Write one Configuration register.
4004h(1)
Program one row (32 instruction words)
of code memory or executive memory.
4004h(1)
Program one word of data EEPROM
memory.
Note 1:
The destination address decides the
region (code memory, data EEPROM
memory or Configuration register) of the
erased rows/words.
Note:
Program memory must be erased before
writing any data to program memory.
End
Set the WR bit to Initiate Erase
Write 4064h to NVMCON SFR
Delay P11 + P10 Time
Start


Similar Part No. - PIC24F04KA201

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
PIC24F04KA201 MICROCHIP-PIC24F04KA201 Datasheet
3Mb / 224P
   14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP??Technology
2009
PIC24F04KA201 MICROCHIP-PIC24F04KA201 Datasheet
207Kb / 26P
   Flash Programming Specifications
2010
PIC24F04KA201 MICROCHIP-PIC24F04KA201 Datasheet
97Kb / 8P
   Silicon Errata and Data Sheet Clarification
2011
PIC24F04KA201 MICROCHIP-PIC24F04KA201 Datasheet
782Kb / 78P
   Debug Header Specification
2006-2012
PIC24F04KA201T-I/MQ MICROCHIP-PIC24F04KA201T-I/MQ Datasheet
3Mb / 224P
   14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP??Technology
2009
More results

Similar Description - PIC24F04KA201

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
PIC24F04KA200 MICROCHIP-PIC24F04KA200 Datasheet
207Kb / 26P
   Flash Programming Specifications
2010
logo
STMicroelectronics
PM0018 STMICROELECTRONICS-PM0018 Datasheet
158Kb / 10P
   ST7 Flash programming
AN1496 STMICROELECTRONICS-AN1496 Datasheet
240Kb / 17P
   Flash Programming / Reprogramming
logo
Microchip Technology
DSPIC33F MICROCHIP-DSPIC33F Datasheet
988Kb / 80P
   Flash Programming Specification
2007
logo
STMicroelectronics
AN4035 STMICROELECTRONICS-AN4035 Datasheet
582Kb / 42P
   Flash programming through
logo
Microchip Technology
PIC18LF2XK22 MICROCHIP-PIC18LF2XK22 Datasheet
545Kb / 42P
   Flash Memory Programming Specification
01/05/10 2010
PIC24FJ16GA004-EPT MICROCHIP-PIC24FJ16GA004-EPT Datasheet
681Kb / 52P
   PIC24FJXXXGA0XX Flash Programming Specification
01/02/08
logo
Renesas Technology Corp
RX100 RENESAS-RX100 Datasheet
1Mb / 71P
   Flash memory programming software
logo
Microchip Technology
PIC32MX795F512L-80IPT MICROCHIP-PIC32MX795F512L-80IPT Datasheet
1Mb / 68P
   PIC32 Flash Programming Specification
2007-2013
PIC18FXXK80 MICROCHIP-PIC18FXXK80 Datasheet
376Kb / 52P
   Flash Microcontroller Programming Specification
08/04/10 2011
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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