PIC10F204PIC10F206 PIC10F220 PIC10F222 PIC10F320 PIC10F322
Programming is impossible at voltages below 4.5V.
PIC10F204 can only be programmed with HVP (High Voltage Programming). This means it requires Vpp voltage (higher than Vdd) for programming. NSDSP cannot generate such voltages. Therefore, PIC10F204 requires NSHVX High Voltage Extension or an external HVP circuit.
No device id
PIC10F204 does not have a device id. Therefore NSDSP cannot determine if it is connected to PIC10F204 or to a different device. Moreover, it is impossible to determine if NSDSP is connected to any device at all. Therefore, NSDSP will proceed with programming assuming that it is connected to PIC10F204.
With other devices, NSDSP uses device id to determine the optimal connection speed. Since the device id is missing on PIC10F204, NSDSP will always program at the maximum allowed speed.
OSCCAL calibration word
PIC10F204 requires an OSCCAL calibration word. This word is stored in program memory at the address 0x00ff. NSDSP will read the calibration word before programming and will restore it back after programming. However, if the HEX file contains data for address 0x00ff, NSDSP will not override the data with the calibration word.
PIC10F204 also stores a backup copy of factory calibration word. NSDSP may use this backup copy to replace calibration word if necessary. The backup copy will persist through bulk erase. However, when user id information is erased, the backup calibration word will be erased too and NSDSP will have to restore it after programming.
Since the calibration information must be erased and written back, any adverse event during programming operation (such as power outage) may cause the loss of calibration information.
If the PIC device does not contain the correct calibration word, NSDSP will refuse to program. In such case, you can restore the calibration word using nsprog, for example:
nsprog e -d PIC10F204 -c cxx
where "cxx" should be replaced with the desired calibration word in hexadecimal format.
When reading from PIC10F204, NSDSP does not read the OSCCAL calibration information, however the calibration information can be retrieved with nsread, for example:
nsread 00ff 0100 -d PIC10F204
NSDSP cannot be used to debug PIC10F204.
© 2007-2021 Northern Software Inc. All Rights Reserved.