6.3 Programming Limitation
Programming an application with MPLAB-X and a Segger debug probe can result in a “Device failed to recover after reset” error.
Workaround
To resolve this issue, go to MPLAB-X > project properties > Conf > J-Link/J32 > Option categories = Diagnostics, and check the Uncheck if RESET line is not wired box.
