• AVR Freaks

AnsweredHot!PIC18F67K40 - Failed to get device ID

Page: 123 > Showing page 1 of 3
Author
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
2019/09/13 06:01:40 (permalink)
0

PIC18F67K40 - Failed to get device ID

I am using PIC18F67K40 and PICKIT3 with MPLAB 8.92V for programming. But I am getting error:
Failed to get device ID
I have attached schematic snap of MCLR circuitry. I am able to program other board using the same kit, so I am not suspecting malfunctioning of kit.
So far I have tried below:
  1. Using external supply for target
  2. Setting different voltage in settings of MPLAB
I Have attached an attachment of MCLR circuitry i am using
 
Thank You

Attached Image(s)

#1
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/13 15:29:02 (permalink)
0
What is the point of SW1?
When it's closed, you are pulling MCLR to ground with 200R. Plainly it needs to be open when programming.
C8 is across the MCLR signal. That will be slowing the VPP transitions during programming. Have you tried removing it?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#2
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/13 20:47:44 (permalink)
0
We placed the switch on the design for Hardware reset. The switch i snot placed on the PCB(DNI). We have tested demo board of PIC18F67K40 everything worked fine and then only we went for the design. Now both demo board and the designed pcb both are not being detected
post edited by MightyBeard7 - 2019/09/13 20:49:40
#3
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/13 21:20:23 (permalink)
0
After your suggestion we removed Capacitor and tested , still the same
#4
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 01:25:04 (permalink)
0
Is your PICkit3 configured for high voltage programming (HVP) or low voltage programming (LVP)?
If the last image programmed into it had the LVP bit off (which would have required using HVP mode), then it would no longer be possible to program the chip with LVP until it was erased using HVP.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#5
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 01:42:27 (permalink)
0
Is your PICkit3 configured for high voltage programming (HVP) or low voltage programming (LVP)?:
 
Are you asking about the power settings of PICkit3 in the software ?
#6
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 01:52:18 (permalink)
0
No, it is the "Enable Low Voltage Programming" checkbox at bottom right of the first configuration tab ("Program Memory") for the PICkit3 in MPLABX 8.92.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#7
sanket.meher111
Starting Member
  • Total Posts : 69
  • Reward points : 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 01:54:39 (permalink)
0
If you are having same error on demo, then check programming connector working properly.
Check PGED and PGEC pin connections.
Else try to program controller given power through Pickit.
 
Still not able to program check impedance of controller
#8
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 02:04:37 (permalink)
0
Yes it is enabled
#9
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 02:09:20 (permalink)
+1 (1)
MightyBeard7
Yes it is enabled


That means it is trying to use LVP, which will fail  if the last image programmed into the chip has LVP disabled.
Try programming with that checkbox turned off.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#10
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 02:10:30 (permalink)
0
@sanket.meher111 The PICkit3 is able to program other boards
#11
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 02:13:18 (permalink)
0
@ric The board which i am trying to program hasn't been programmed once.
#12
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 02:18:04 (permalink)
0
@ric The board which i am trying to program hasn't been programmed once and every board till we have programmed are LVP.
#13
Jim Nickerson
User 452
  • Total Posts : 6376
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: online
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 06:01:55 (permalink)
0
As ric says in post 10, do give it a try.
Maybe it came from the factory that way.
#14
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 06:13:30 (permalink)
0
I am using MP lab 8.92V. Can you tell me where i need to change it ?
#15
Jim Nickerson
User 452
  • Total Posts : 6376
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: online
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 06:21:16 (permalink)
0
#16
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/14 06:33:39 (permalink)
0
MightyBeard7
I am using MP lab 8.92V. Can you tell me where i need to change it ?

If you don't know, that means you did NOT check where I asked you to.
I suspect you just looked at the config settings, which is NOT what I asked.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#17
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/15 20:56:44 (permalink)
0
Please can you point me out in detail to where to look ?
#18
ric
Super Member
  • Total Posts : 24633
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/15 21:03:23 (permalink)
0
I did in post#7.
Which part of that post don't you understand?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#19
MightyBeard7
Starting Member
  • Total Posts : 33
  • Reward points : 0
  • Joined: 2019/07/22 23:33:24
  • Location: 0
  • Status: offline
Re: PIC18F67K40 - Failed to get device ID 2019/09/15 21:31:43 (permalink)
0
I will be frank with you, I am kind of new to this and I am from Hardware team, I am not able find the option you're asking me to check.
 
#20
Page: 123 > Showing page 1 of 3
Jump to:
© 2019 APG vNext Commercial Version 4.5