5.1.2.1 Flash Verification Fails in MPLAB® X
Workaround 1
The Curiosity Nano debugger can be re-provisioned by the end-user with updated masks using a binary utility.
- Navigate to github.com/microchip-pic-avr-tools/debuggerconfigfix and download the debuggerconfigfix utility for the appropriate operating system.
- Connect the Curiosity Nano kit to the host PC and reprovision the debugger by opening
a command-line/terminal and executing the
binary
debuggerconfigfix.exe
- Check the console output for success
indication:
*** Debugger configuration SUCCESS ***
- Unplug the Curiosity Nano kit and plug it in again for the new mask to take effect.
Workaround 2
The Curiosity Nano debugger can be re-provisioned by the end-user with updated masks using a Python-based utility.
- Python 3.8 or later installed
Procedure:
-
Install the pydebuggerconfig Python package using:
pip install pydebuggerconfig
Note: If the pydebuggerconfig package is already installed, update it to version 3.11 or newer. - Connect the Curiosity Nano kit to the host PC and reprovision the debugger using
pydebuggerconfig write -d AVR16EB32-device-blob.xml
- Unplug the Curiosity Nano kit and plug it in again for the new mask to take effect.
Workaround 3
When writes to reserved locations are skipped by the debugger, this issue occurs, and the verification fails as unexpected values read back. You can avoid verification errors by providing the reserved fuse values already in the MCU in the project being programmed.
FUSES = { ... };
.reserved_1 = {0xFF, 0xFF}, .reserved_2 = 0xFF,
During verification, the specified values will match the values already programmed, and no verification issues will be seen.