7.2.1 Read/Write Error Actions
If you receive a read or write error:
- Did you click Reset
?
This may produce read/write errors. - Try the action again. It may be a one-time error.
- Ensure that the target is powered and at the correct voltage levels for the device. See the device data sheet for required device voltage levels.
- Ensure that the debugger-to-target connection is correct (PGC and PGD are connected).
- For write failures, ensure that the option Erase All Before Program is added to the project mplab.json file under the tool properties section. Once added, it will be visible in the Project Properties window as well.
- Ensure that the cable(s) are of the correct length.
