4.7.2.6 Programming

To use the MPLAB PICkit Basic In-Circuit Debugger as a programmer, from the Run menu select Run without Debugging or select Ctrl+F5. Then:

  • 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.
  • 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 along with all debug features. This means that a breakpoint cannot be set and register contents cannot be seen or altered.
  • As a programmer, the debugger can only toggle the MCLR line to Reset and start the target device.