CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Pickit4 not recognised

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
colin382



Joined: 03 Jun 2020
Posts: 37
Location: UK

View user's profile Send private message

Pickit4 not recognised
PostPosted: Wed Jun 16, 2021 10:59 am     Reply with quote

I use the Workshop compiler and a Pickit4 for programming. When I came back to C and the CCS compiler after a time away, I plugged in the Pickit4 and it just worked, no problem.
When a problem cropped up and the programmer failed to program. I concluded the programmer was at fault and bought another Pickit4. However, with this one the compiler firstly wants to know how it is connected (USB) then complains that there is another program already connected to the programmer (there isn't), and I have to exit the program and click retry. So basically useless at present.

In the "more details panel" I read:
Software version 5.068
v5.68 of C:\Program Files\(x86)PICCW\dll\CCSICD.dll
v5.68 of C:\Program Files\(x86)PICCW\dll\CCSICDU.dll
INF File *
Active Debugger: ICD-USB: 5.068
Debugger DLL: ccsicdu

I'm using PICCW, version 5.094 with a PIC18LF24K22.
The new Pickit4 is serial BUR210574366.

My problem now seems to be with my prototype hardware, the old PicKit4 works with an earlier very similar design on the same chip. So this post is an attempt to get some value from the second programmer.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 17, 2021 1:47 am     Reply with quote

MPLAB X has a feature to reset the Pickit 4 to its original factory state.
This might fix your non-working Pickit 4. See this page for instructions:
https://microchipsupport.force.com/s/article/PICkit4-or-MPLAB-SNAP-appears-to-be-dead
colin382



Joined: 03 Jun 2020
Posts: 37
Location: UK

View user's profile Send private message

PostPosted: Thu Jun 17, 2021 7:50 am     Reply with quote

Thanks for your interest in this problem.
I read the link you provided, but it doesn't really match my problem.
The LED does light, neither the good or bad Pickit4s show in Device Manager and I would rather not get involved with MPLAB X.

Also, the new device is brand new yesterday, so should already be at default.

The good news is that I have the original Pickit4 working again- there was a flaky connection at PGD on the prototype.

In case anybody else reads this, I made two errors in the original post: I am using compiler version 5.94, and the chip is a 18LF25K22.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 17, 2021 7:54 am     Reply with quote

colin382 wrote:

I made two errors in the original post: I am using compiler
version 5.94, and the chip is a 18LF25K22.

There is no CCS vs. 5.94. The highest version is 5.104.
But there is a vs. 5.094. See the CCS versions page:
http://www.ccsinfo.com/devices.php?page=versioninfo
asmallri



Joined: 12 Aug 2004
Posts: 1630
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Jun 18, 2021 8:24 am     Reply with quote

colin382 wrote:

Also, the new device is brand new yesterday, so should already be at default.
...


I sniggered when I read that based on my own experience. I found myself in the similar position, although with a SNAP programmer as opposed to a PICKIT4 and I did recover this brand new, straight out of the box, device by resetting.

You might also want to check your schematic to ensure it conforms to the ICSP recommendations from Microchip and check the physical hardware to ensure the resistors are the correct value and are in fact actually electrically sound. I previously had a related problem programming a PIC via ISCP and it turned out to be a faulty SMD resistor. Perfected solder but open circuit.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group