®
MPLAB
Snap In-Circuit Debugger
For the MPLAB IPE, the options for MPLAB Snap are located in Settings>Advance
Mode>Settings. Refer to MPLAB IPE online help for more information.
The possible option categories may include:
• Memories to Program
• Debug Options
• Program Options
• Freeze Peripherals
• Power
• Firmware
TROUBLESHOOTING
If you are having problems with MPLAB Snap In-Circuit Debugger operation, start here.
Refer to the MPLAB PICkit 4 online help section on Troubleshooting First Steps. From
there you can navigate to "Some Questions to Answer First" and "Top Reasons Why
You Can't Debug." For general issues, invoking the bootloader mode and the
emergency boot firmware recovery, see the following sections.
General
1.
2. There may be a problem programming in general. As a test, switch to Run mode
in MPLAB X IDE using the
application possible (e.g., a program to blink an LED). If the program will not run,
then you know that something is wrong with the target setup.
3. It is possible that the target device has been damaged in some way (e.g., over
current.) Development environments are notoriously hostile to components.
Consider trying another target board.
4. Microchip Technology Inc. offers demonstration boards to support most of its
microcontrollers. Consider using one of these applications, which are known to
work, to verify correct MPLAB Snap In-Circuit Debugger functionality.
5. Review debugger setup to ensure proper application setup. For more informa-
tion, see the "Operation" section of the MPLAB PICkit 4 help or PDF.
6. Your program speed may be set too high for your circuit. In MPLAB X IDE, go to
File>Project Properties, select Snap in Categories, then Program Options in
Option categories, Program Speed and select a slower speed from the
drop-down menu. The default is Normal. In MPLAB IPE, the Program Speed
option can be found in the Advanced Mode, Settings tab.
7. There may be certain situations where the debugger is not operating properly
and needs to be reprogrammed. See the following section.
DS50002787A-page 8
It is possible the error was a one-time event. Try the operation again.
icon and program the target with the simplest
2018 Microchip Technology Inc.
Need help?
Do you have a question about the MPLAB Snap and is the answer not in the manual?
Questions and answers