PIC24H Microchip Technology, PIC24H Datasheet - Page 64
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC24H
Manufacturer Part Number
PIC24H
Description
Flash Programming Specification
Manufacturer
Microchip Technology
Datasheet
1.PIC24H.pdf
(80 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC24HI16GP-3041/PT
Manufacturer:
MICROCHIP
Quantity:
250
Company:
Part Number:
PIC24HJ128GP202-E/MM
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC24HJ128GP204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP204-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC24HJ128GP204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
SMSC
Quantity:
7 600
Company:
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24HJ128GP206-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC24HJ128GP206A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24HJ128GP206A-I/MR
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC24HJ128GP206A-I/PT
Manufacturer:
Microchip Technology
Quantity:
1 987
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
5.8
Reading from code memory is performed by executing
a series of TBLRD instructions and clocking out the data
using the REGOUT command.
Table 5-9 shows the ICSP programming details for
reading code memory. In Step 1, the Reset vector is
exited. In Step 2, the 24-bit starting source address for
reading is loaded into the TBLPAG register and W6
register. The upper byte of the starting source address
is stored in TBLPAG and the lower 16 bits of the source
address are stored in W6.
TABLE 5-9:
DS70152D-page 64
Step 1: Exit Reset vector.
Step 2: Initialize TBLPAG and the read pointer (W6) for TBLRD instruction.
Step 3: Initialize the write pointer (W7) to point to the VISI register.
Step 4: Read and clock out the contents of the next two locations of code memory, through the VISI register, using
Step 5: Repeat step 4 until all desired code memory is read.
Step 6: Reset device internal PC.
Command
(Binary)
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0001
0000
0000
0000
0001
0000
0000
Reading Code Memory
the REGOUT command.
SERIAL INSTRUCTION EXECUTION FOR READING CODE MEMORY
000000
000000
040200
000000
200xx0
880190
2xxxx6
207847
000000
BA1B96
000000
000000
<VISI>
BA9BB6
000000
000000
<VISI>
040200
000000
(Hex)
Data
NOP
NOP
GOTO
NOP
MOV
MOV
MOV
MOV
NOP
TBLRDL [W6], [W7]
NOP
NOP
Clock out contents of VISI register
TBLRDH [W6++], [W7]
NOP
NOP
Clock out contents of VISI register
GOTO
NOP
0x200
#<SourceAddress23:16>, W0
W0, TBLPAG
#<SourceAddress15:0>, W6
#VISI, W7
0x200
Preliminary
To minimize the reading time, the packed instruction
word format that was utilized for writing is also used for
reading (see Figure 5-6). In Step 3, the write pointer,
W7, is initialized. In Step 4, two instruction words are
read from code memory and clocked out of the device,
through the VISI register, using the REGOUT command.
Step 4 is repeated until the desired amount of code
memory is read.
Description
© 2007 Microchip Technology Inc.
www.DataSheet4U.com