PIC24F16KA101 MICROCHIP [Microchip Technology], PIC24F16KA101 Datasheet - Page 26

no-image

PIC24F16KA101

Manufacturer Part Number
PIC24F16KA101
Description
Flash Programming Specifications
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24F16KA101-I/MQ
Manufacturer:
SIEMENS
Quantity:
43
Part Number:
PIC24F16KA101-I/SS
Manufacturer:
MICROCHIP
Quantity:
4 500
Part Number:
PIC24F16KA101-I/SS
0
Part Number:
PIC24F16KA101T-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24F16KA101T-I/SS
Manufacturer:
MICROCHIR
Quantity:
20 000
PIC24FXXKAXXX
4.5.2
After the code memory is programmed, the contents of
the memory can be verified to ensure that the
programming is successful. Verification requires the
code memory to be read back and compared with the
copy held in the programmer‘s buffer.
The READP command can be used to read back all of
the programmed code memory.
Alternatively, you can have the programmer perform
the verification after the entire device is programmed
using a checksum computation.
FIGURE 4-5:
DS39919A-page 26
BaseAddress + 40h
BaseAddress =
PROGRAMMING VERIFICATION
No
RemainingCmds = 176
Command to Program
RemainingCmds – 1
BaseAddress = 00h
RemainingCmds =
FLOWCHART FOR
PROGRAMMING CODE
MEMORY
RemainingCmds
PROGP response
BaseAddress
Send PROGP
PASS?
Start
End
Are
‘0‘?
Is
Yes
Yes
Report Error
Failure
No
Advance Information
4.6
4.6.1
The programming executive uses the PROGD command
to program the data EEPROM. Figure 4.7 illustrates
this process.
• First, the number of words to program
• The first PROGD command programs the first word
• Once the command completes successfully,
• Since there are 255 more words to program,
• This process is then repeated until all 256 words
4.6.2
Once the data EEPROM is programmed, the contents
of the memory can be verified to ensure if the
programming was successful. Verification requires the
data EEPROM to be read back and compared with the
copy held in the programmer‘s buffer. The READD
command reads back the programmed data EEPROM.
Alternatively, the programmer can perform the
verification once the entire device is programmed using
a
Section 6.1.1 “Checksum Computation”.
(RemainingWords) is based on the device size
and the destination address (DestAddress) is set
to 0. In this example, 256 words of data EEPROM
will be programmed.
of data EEPROM.
‘RemainingWords’ is decremented by 1 and
compared with 0.
‘BaseAddress’ is incremented by 02h to point to
the next word of data EEPROM.
of data EEPROM are programmed.
checksum
Data EEPROM Programming
PROGRAMMING METHODOLOGY
PROGRAMMING VERIFICATION
computation,
© 2008 Microchip Technology Inc.
as
described
in

Related parts for PIC24F16KA101