I am having some issues programing a PIC18F67K22 using a PICKIT3.
Programing will work fine until the program grows and passes memory location 14000, at witch point I will get the following error.
"Address: 14001 Expected Value: b3 Received Value: 0"
Removing a function from the program (can be any function) until the program is smaller the 14000 and it will program fine.
I have tried;
1. MPLABX 5.20, 5.35 and 3.40.
2. PIC at 3.3v and 5V, both from external power and from the PICKIT.
3. 2 Different PICs (Both PIC18F67K22).
Only thing I cant test is a different PICKIT as I only have one..
I am guessing hardware is ok as it will program fine when the program is small.
Nothing else is currently connected to the board.
Is there anything I can try to get around this? What is so special about memory location 14000 anyway. i cant see anything in the datasheet that matches up to this boundary.