PIC24FJ128GA MICROCHIP [Microchip Technology], PIC24FJ128GA Datasheet - Page 47

no-image

PIC24FJ128GA

Manufacturer Part Number
PIC24FJ128GA
Description
General Purpose, 16-Bit Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ128GA006-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GA006-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24FJ128GA006-I/PT
0
Part Number:
PIC24FJ128GA006T-I/PT
Manufacturer:
FSC
Quantity:
13 520
Part Number:
PIC24FJ128GA006T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GA006T-I/PT
0
Part Number:
PIC24FJ128GA008-I/PT
Manufacturer:
ISSI
Quantity:
38
Part Number:
PIC24FJ128GA008-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GA008-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24FJ128GA008T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GA010-I/PF
Manufacturer:
MICROCHIP
Quantity:
225
Part Number:
PIC24FJ128GA010-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ128GA010-I/PF
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24FJ128GA010-I/PF
Quantity:
3
Part Number:
PIC24FJ128GA010-I/PF
0
Part Number:
PIC24FJ128GA010-I/PT
Manufacturer:
Microchi
Quantity:
627
Part Number:
PIC24FJ128GA010-I/PT
Manufacturer:
MICROCHIP
Quantity:
212
4.0
The PIC24FJ128GA family of devices contains internal
Flash program memory for storing and executing appli-
cation code. The memory is readable, writable and
erasable during normal operation over the entire V
range.
Flash memory can be programmed in two ways:
1.
2.
ICSP allows a PIC24FJ128GA family device to be seri-
ally programmed while in the end application circuit.
This is simply done with two lines for Programming
Clock and Programming Data (which are named PGCx
and PGDx, respectively), and three other lines for
power (V
This allows customers to manufacture boards with
unprogrammed devices and then program the micro-
controller just before shipping the product. This also
allows the most recent firmware or a custom firmware
to be programmed.
FIGURE 4-1:
© 2006 Microchip Technology Inc.
Note:
In-Circuit Serial Programming (ICSP)
Run-Time Self-Programming (RTSP)
FLASH PROGRAM MEMORY
DD
), ground (V
This data sheet summarizes the features
of this group of PIC24FJ devices. It is not
intended to be a comprehensive reference
source.
User/Configuration
Space Select
ADDRESSING FOR TABLE REGISTERS
SS
) and Master Clear (MCLR).
Using
Table
Instruction
Using
Program
Counter
1/0
0
TBLPAG Reg
8 bits
Preliminary
DD
PIC24FJ128GA FAMILY
Program Counter
24-bit EA
24 bits
RTSP is accomplished using TBLRD (table read) and
TBLWT (table write) instructions. With RTSP, the user
may write program memory data in blocks of 64 instruc-
tions (192 bytes) at a time, and erase program memory
in blocks of 512 instructions (1536 bytes) at a time.
4.1
Regardless of the method used, all programming of
Flash memory is done with the table read and table
write instructions. These allow direct read and write
access to the program memory space from the data
memory while the device is in normal operating mode.
The 24-bit target address in the program memory is
formed using bits<7:0> of the TBLPAG register and the
Effective Address (EA) from a W register specified in
the table instruction, as shown in Figure 4-1.
The TBLRDL and the TBLWTL instructions are used to
read or write to bits<15:0> of program memory.
TBLRDL and TBLWTL can access program memory in
both Word and Byte modes.
The TBLRDH and TBLWTH instructions are used to read
or write to bits<23:16> of program memory. TBLRDH
and TBLWTH can also access program memory in Word
or Byte mode.
Working Reg EA
16 bits
Table Instructions and Flash
Programming
0
Byte
Select
DS39747C-page 45

Related parts for PIC24FJ128GA