PIC24F04KA201T-I/SO Microchip Technology, PIC24F04KA201T-I/SO Datasheet - Page 26
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC24F04KA201T-I/SO
Manufacturer Part Number
PIC24F04KA201T-I/SO
Description
PIC24F Core, 4KB Flash, 512B RAM, 3V, Deep Sleep, 10-bit 500ksps ADC, CTMU, UART
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr
Datasheets
1.PIC24F04KA201-ISS.pdf
(8 pages)
2.PIC24F04KA201-ISS.pdf
(48 pages)
3.PIC24F04KA201-ISS.pdf
(224 pages)
4.PIC24F04KA201-ISS.pdf
(26 pages)
Specifications of PIC24F04KA201T-I/SO
Core Processor
PIC
Core Size
16-Bit
Speed
32MHz
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
4KB (1.375K x 24)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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