Programming Voltage Limiter for Newer PIC Microcontrollers
Newer PIC18 microcontrollers, such as the PIC18F26K20, are not designed to be programmed with 12V. According to the datasheet, the maximum allowable programming voltage (VPP) of these devices is 9V. However, older Microchip programmers/debuggers like the PICkit and ICD 2 do not support adjustable programming voltage and are only capable of providing 12V VPP. When you create an MPLAB project using a K-series PIC18 and the ICD 2 debugger, you’ll receive a warning along with a suggested VPP limiting circuit schematic. In this article, I describe that very circuit so you can build it in advance.