ICSP cable length
Posted: Tue Oct 22, 2019 2:22 pm
I use the PIC multiprogrammer BL0080 in connection with the PIC16(L)F188857 microchip. The microchip is situated on another PCB board. To program the chip, I use an ICSP cable, but not always with success. Remark: There are no external components connected to B6 or B7 (ICSP data and Clock line)
I started with an ICSP cable length of about 35 cm. To chip will be recognised, but the program is not stored well. No error is given, only the warning that "the flash memory has not been verified, may be due to code protect". The same cable and PICTIK4 as programmer, does not give any problem.
It gets even worse using the BL0080 in connection with the PIC16(L)F1847 microchip by means of an ICSP cable of 10 cm length. Now I get the message that the microchip has not been recognised. Here also the PICKIT4 did not give problems.
Using the older programmer EB-006 I used even cable lengths up to 50 cm.
Conclusion so far is that using the BL0080 and ICSP cable lengths to 10 cm maximum are advised. If you need longer lengths, it may be possible that you have to use the PICKIT4 with MPLAB X IPE.
Or is there an other (better) solution?
Kind regards
Jan
I started with an ICSP cable length of about 35 cm. To chip will be recognised, but the program is not stored well. No error is given, only the warning that "the flash memory has not been verified, may be due to code protect". The same cable and PICTIK4 as programmer, does not give any problem.
It gets even worse using the BL0080 in connection with the PIC16(L)F1847 microchip by means of an ICSP cable of 10 cm length. Now I get the message that the microchip has not been recognised. Here also the PICKIT4 did not give problems.
Using the older programmer EB-006 I used even cable lengths up to 50 cm.
Conclusion so far is that using the BL0080 and ICSP cable lengths to 10 cm maximum are advised. If you need longer lengths, it may be possible that you have to use the PICKIT4 with MPLAB X IPE.
Or is there an other (better) solution?
Kind regards
Jan