PIC24F16KL402
PIC24F16KM102 PIC24F16KM104 PIC24F16KM202 PIC24F16KM204 PIC24F32KA301 PIC24F32KA302 PIC24F32KA304PIC24F16KL402
Support summary
ICSP Connection
PIC24F16KL402 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 PIC24F16KL402 with HVP.
With NSDSP-1, HVP programming is possible, but only with NSHVX High Voltage Extension or an external HVP circuit.
Target Voltage below 3.0V
If voltage is less than 3.0V it is impossible to bulk erase the device. Unless the PIC device is code protected, NSDSP still can program the device, however, without the bulk erase it takes longer.
NSDSP cannot detect target voltage and it assumes that the voltage is above 3.0V. This ensures fast programming at usual voltages. However, if you want to program at voltages below 3.0V, you must specify the actual target voltage through programming software, or the programming will fail. If you specify the voltage below 3.0V NSDSP will apply special programming algorithm, which does not use bulk erase, but is slower than the regular algorithm.
If you are programming a device which is code protected, NSDSP cannot remove protection if the voltage is below 3.0V.
Debugging
NSDSP firmware contains all the necessary provisions for debugging PIC24F16KL402 and may be debugged when debugging software becomes available.
PIC24F16KL402 uses ordered haliting, has 3 hardware breakpoints.
Debugging does not consume resources in the user space.
Links
© 2007-2024 Northern Software Inc. All Rights Reserved.