I want to access the hardware breakpoint registers in a PIC18F2550 or PIC18F4550 from my own assembly language program. These registers are only functional in debug mode and probably only when the Shadow bit in the Debug register (0xFD4) is set to a one. I have seen how to access them on PIC18F452 but the PIC18F2550/PIC18F4550 must work somewhat differently. I have determined experimentally that 0xFB9 is probably involved but I do not know exactly how just yet. Do you have any info that might help?
Last edited: