Buy(Cart) Contact NSDSP Home

PIC12F1822

Support summary

  • Programming - Yes
  • Debugging provisions - Yes
ICSP connection

 

LVP Programming

Low-Voltage Programming (LVP) can only be used for these PIC devices if the LVP configuration bit is enabled. Fresh (unprogrammed) devices have LVP bit set and therefore they can be programmed. It is impossible to disable LVP bit during LVP programming, but if the device has been previously programmed with HVP programmer, the LVP bit may have been disabled.

When brown-out is enabled with BOREN configuration bit, LVP is only possible when the VDD voltage is above the brown-out threshold.

These limitations may be avoided with High-Voltage Programming (HVP). NSDSP-2 can generate high voltage for HVP internally. NSDSP-1 cannot, therefore NSDSP-1 requires NSHVX or an external circuit for HVP.

 

HVP Programming

NSDSP-2 can program PIC12F1822 with HVP.

With NSDSP-1, HVP programming is possible, but only with NSHVX High Voltage Extension or an external HVP circuit.

 

Target Voltage Below 2.7V

If voltage is less than 2.7V programming is severely limited - it is impossible to bulk erase the device, it is also impossible to erase configuration bits, EEPROM.

NSDSP cannot detect target voltage and it assumes that the voltage is above 2.7V. If the actual target voltage is less, programming will fail. However, if you tell NSDSP that the target voltage is below 2.7V through programming software, NSDSP will use special low-voltage programming mode. In this mode, NSDSP verifies if the desired programming can be performed at voltages below 2.7V, and if it is possible (device is not code protected, configuration bits do not change or only change from 1 to 0, EEPROM is not programmed), it performs the programming. If such programming is impossible, NSDSP software will stop and show an error message.

Programming in low-voltage mode may be considerably slower. In addition, you may need to decrease programming speed to 3MHz or below.

 

Debugging

NSDSP firmware contains all the necessary provisions for debugging PIC12F1822 and may be debugged when debugging software becomes available.

 

Links

Microchip PIC12F1822 page

Northern Software Home NSDSP Contact Us Purchase/Vew Cart

© 2007-2021 Northern Software Inc. All Rights Reserved.