MPLAB ICD 4 Help Previous Next


Operation : Programming

Programming
Note:
For information on programming, refer to the MPLAB X IDE online Help.
 
Note:
For header support, see the Release Notes for MPLAB ICD 4 in MPLAB X IDE v5.25 or greater.
In MPLAB X IDE, use the MPLAB ICD 4 as a programmer to program a non-ICE/-ICD device, i.e., a device not on a header board. Set the MPLAB ICD 4 debugger as the current tool (click the Debug Tool ICD 4 in the navigation window, then select File>Project Properties from the main menu to open the dialog, then under “Hardware Tool,” click ICD 4) to perform these actions:
•
When the Run Main Project icon (see below) is selected, the application code is programmed into the device’s memory via the ICSP protocol. No clock is required while programming and all modes of the processor can be programmed, including code protect, Watchdog Timer enabled, and table read protect.
Figure: Run Main Project Icon
•
A small “program executive” program may be loaded into the high area of program memory for some target devices.
•
Special “in-circuit debug” registers in the target device are disabled by MPLAB X IDE, along with all debug features. This means that a breakpoint cannot be set, and register contents cannot be seen or altered.
•
The target device is run in Release mode. As a programmer, the debugger can only toggle the MCLR line to Reset and start the target device.
 

Previous Next Microchip Support
Help Updated: 2019-06-25 10:29:53Z
Help Page: 17