Buy(Cart) Contact NSDSP Home

PIC24F16KA102

ICSP connection

Support summary

  • Programming - Yes
  • Debugging provisions - Yes

ICSP Connection

PIC24F16KA102 has more than one pair of PGECx and PGEDx pins. You can use any pair, but you must use them as a pair. For example, if PGEC2 is used for ICSPCLK, then ICSPDAT must be connected to PGED2.

All VSS and VDD pins must be connected. Even if one of these pins is not connected, programming may fail.

LVP Programming

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

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

Programming Benchmarks

We have measured time necessary to program and verify PIC24F16KA102.

Operation Time
Programming and Verification 1.6s
Programming only 1.3s
Verification only 0.4s

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

Debugging

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

PIC24F16KA102 uses ordered haliting, has 3 hardware breakpoints.

Debugging does not consume resources in the user space.

Links

Microchip PIC24F16KA102 page

Northern Software Home NSDSP Contact Us Purchase/Vew Cart

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