![]() |
Forum Index : Microcontroller and PC projects : LCD Back Pack ICSP
Author | Message | ||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Just tried to re-flash one of my back packs & the PicKit3 said it failed to find the device. Just wondering what the conditions are for using the ICSP. It was power externally, RTC, ESP & a few pins in use. I've flashed them before, don't remember exactly how, probably removed from the breadboard, with just a 5V supply connected. Presume it's what's on Pins 4 & 5 causing the issue? What other conditions need to apply for the ICSP port to be usable? Thanks Phil. Further detail:- [Code] 'Pins used - Inputs Dim Integer PinDemo=21 'Held Low on Demo Board, High on Real One Dim Integer PinTmp=22 '1-Wire DS18B20 Input Pin Dim Integer SolarPanel=4 'Analog input ~ 1000mV Dim Integer LM336Ref=5 'LM336 Input - 2500mV SetPin SolarPanel,AIN Setpin LM336Ref,AIN 'Pins used - Outputs Dim Integer PinLed1=24 'Status Pin (Green LED) Blinks to show main loop is running dim Integer PinPump1=26 'Pump Running (Red LED) & also to be Pump Relay output setpin(PinLed1),dout Setpin(PinPump1),Dout,OC [/code] |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
"failed to find the device" or "Target Vdd not detected" means that the PICkit3 could not see the +3.3V on the ICSP connector. "Cannot read device ID" means that the PICkit3 could see the 3.3V but could not communicate with the chip. There are many causes if this including missing Vcap capacitor, external loading on the programming pins, chip not properly seated in its socket, etc. The BASIC program will not have any effect on programming the chip but external components (caps, resistors, etc) connected to the programming pins could cause a "Cannot read device ID" error. Geoff Geoff Graham - http://geoffg.net |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Thanks Geoff, It would be the analogue voltages on Pins 4 & 5 that made it fail. 1000 & 2500mV. Will unplug it & flash it later. Cheers |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |