Failed to program PIC18F67K22 after location 14000
I have a PIC that will fail to program if the program goes over location 14000. The error I get is "Address: 14003 Expected Value: 4f Received Value: 0"
If I try this with a different PIC18F67K22 it will work.
If I comment out a large part of my program and make is smaller it works fine.
I have tried;
1. MPLAB X 5.20, 5.35 and 5.40 (PICKIT3 firmware changed each time)
2. Tried at 3.3v from external supply and PICKI3
3. Tried at 5v from PICKIT3
Nothing else is connected to the board.
I guess there is just something work with the PIC but before I bin it, is there anything I can try?