Re: ICD4 will not program PIC if memory preserved.
Software breakpoints require that the code be modified to add the software breakpoint opcode, it is then replaced with the original to execute after the breakpoint is reached and then reprogrammed with the SWBP opcode.
You can't have a SWBP in reserved memory as the IDE does not change that since you requested it to be reserved.
Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.