Buy(Cart) Contact NSDSP Home


ICSP connection

Support summary

  • Programming - Yes
  • Debugging provisions - Yes

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 PIC12F1571 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.

NSDSP-1 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 algorithm. NSDSP will 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), it performs the programming. If such programming is impossible, NSDSP software will stop and show an error message.

NSDSP-2 can detect actual voltage, therefore it may choose the algorithm based on the detected voltage. However, you can override this decision by specifying your own voltage value. This will disable the voltage detection. For example, you can try to force normal algorithm even if voltage is slightly less than the threashold.

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

Programming Benchmarks

We have measured time necessary to program and verify PIC12F1571.

Operation Time
Programming and Verification 0.2s
Programming only 0.2s
Verification only 0.1s

The measurements reflect the time necessary to program/verify the entire chip, including all user programmable memory areas.


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

PIC12F1571 uses ordered haliting, has 1 hardware breakpoint.

Debugger requires 12 bytes of RAM.


Microchip PIC12F1571 page

Northern Software Home NSDSP Contact Us Purchase/Vew Cart

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