F
Fred
- Jan 1, 1970
- 0
Hi everyone,
I didn't find a newsgroup for this particular subject so I decided to post
here.
Programming specs for 18F452:
http://ww1.microchip.com/downloads/en/DeviceDoc/39576b.pdf
I'm trying to understand the "code memory" programming of a 18F452 (or same
family PIC) using multi-panel writing (p. 10 and up). Microchip explanation
confuses me when it comes to the address I must use in the TBLPTR register.
Is TBLPTR register actually holding the address of the code memory to be
program?
Using the equation in their programming flow (p. 13), it doesn't give a
linear incrementing address at each iteration of the programming loop:
Panel Base Address = (N-1) * 2000h
Addr = Panel Base Address + (8*LoopCount)
Anyone could shade some light?
Freddy
I didn't find a newsgroup for this particular subject so I decided to post
here.
Programming specs for 18F452:
http://ww1.microchip.com/downloads/en/DeviceDoc/39576b.pdf
I'm trying to understand the "code memory" programming of a 18F452 (or same
family PIC) using multi-panel writing (p. 10 and up). Microchip explanation
confuses me when it comes to the address I must use in the TBLPTR register.
Is TBLPTR register actually holding the address of the code memory to be
program?
Using the equation in their programming flow (p. 13), it doesn't give a
linear incrementing address at each iteration of the programming loop:
Panel Base Address = (N-1) * 2000h
Addr = Panel Base Address + (8*LoopCount)
Anyone could shade some light?
Freddy