Pic programming iss...
 
Notifications
Clear all

Pic programming issues

21 Posts
6 Users
0 Reactions
3,697 Views
Aurbo99
Posts: 2804
Moderator
(@aurbo99)
Member
Joined: 19 years ago

I'm tapped out

Running as Admin?
:unsure:


Reply
Posts: 2216
Topic starter
(@ctmal)
Famed Member
Joined: 19 years ago

No.
I wouldn't want to go that route anyway. I'm in IT, security is high on my list.

Luckily I'm early enough in it to move over to an esp32. I've had nothing but issues with the pickit 4 and I really don't like MPLabX anyway so its not really worth the frustration to me.

It's bugging me, I like to fix things, but I think I'm going to move on unless anyone has a solution.


Reply
Posts: 8517
(@angus40)
Illustrious Member
Joined: 15 years ago

Here is a excerpt from a thread on the pic4 having some similar issue .

Failed to get Device ID. Please make sure the target device is attached and try the operation again."

a. Check if in the PICkit4's configuration (path: "project properties -> PICkit4 ->programming options"), the option "High Voltage programming" is enabled. This option might be the cause of this error in some cases, so check if disabling it solves the issue.


Reply
Posts: 2216
Topic starter
(@ctmal)
Famed Member
Joined: 19 years ago
angus40 wrote:
Here is a excerpt from a thread on the pic4 having some similar issue .

Failed to get Device ID. Please make sure the target device is attached and try the operation again."

a. Check if in the PICkit4's configuration (path: "project properties -> PICkit4 ->programming options"), the option "High Voltage programming" is enabled. This option might be the cause of this error in some cases, so check if disabling it solves the issue.

I tried that but I got an error saying that the Low Power option wasn't set on the pic. Then it gave me instructions to program it with High Voltage and set the low voltage configuration bit. But, of course, I'm not able to do that.


Reply
Posts: 2216
Topic starter
(@ctmal)
Famed Member
Joined: 19 years ago

What programmer is everyone using for MPLabX and is it reliable? I'm hesitant to buy another Microchip one because I haven't had great luck with durability except for the PicKit 2 (which doesn't support much anymore) but the main benefit I see is that you can program and debug directly in the IDE.


Reply
dirknerkle
Posts: 10310
(@dirknerkle)
Illustrious Member
Joined: 18 years ago

It could be an issue with the programmer's chip. I'd remove the device in the device manager, shut the pc literally off (not a simple restart). Wait about 10 seconds and then restart it. If it's an USB type programmer, remove the USB Root Hub in the device manager after removing the device. Then shut down, wait and restart.


Reply
Posts: 2216
Topic starter
(@ctmal)
Famed Member
Joined: 19 years ago

Really interesting thought. Unfortunately I ended up with the same issue. It was a little delayed this time but the same issue.


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

I've been using the PicKit 4 without any problems, although with Linux (usually Ubuntu).


Reply
Posts: 2216
Topic starter
(@ctmal)
Famed Member
Joined: 19 years ago

I wonder if it will work with Linux. I'll try it tomorrow.


Reply
Posts: 8517
(@angus40)
Illustrious Member
Joined: 15 years ago

I recall this chip being an issue with the pic 2 back when the ren24DC was created .
Found an old thread that mentions lower V worked for them -> voltage selection of 4.875V.
Others mention using external power rather than using the pickit .


Reply
Page 2 / 3
Share: