• AVR Freaks

AnsweredHot!Target device was not found(could not detect target voltageVDD).You must connect to target

Page: 12 > Showing page 1 of 2
Author
mmk471
New Member
  • Total Posts : 12
  • Reward points : 0
  • Joined: 2017/11/21 03:20:55
  • Location: 0
  • Status: offline
2017/11/28 21:47:01 (permalink)
0

Target device was not found(could not detect target voltageVDD).You must connect to target

hi all,
 
please help/suggest me regarding ICD3 debugger connection with target board.
 
i have a custom target board having PIC32MX350F256L controller and using MPLA X IDE v4.01. i'm using MPLAB ICD3 using for programming/debugging.
 
i have received RJ11 cable along with ICD3. but i don't have RJ11 on my target board. so instead of cutting the cable, i just used another same cable which is having same pins and same length  to connect with target board. but when i'm trying to debug project i'm getting the error as
 
"Target device was not found (could not detect target voltage VDD). You must connect to a target device to use ICD3."
 
but actually i have connected my target board with another power supply. and also tested the continuity in cable lines. still getting above mentioned error. and i'm not be able connect to target board.
 
please help me to configure ICD3 debugger to connect with target board.
 
 
 
regards
Krishna 
 
 
 
 
 
 
 
 
#1
NKurzman
A Guy on the Net
  • Total Posts : 17512
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/28 21:57:02 (permalink)
0
"could not detect target voltage VDD"
It does not see your Vdd.  Recheck your connections.
#2
qɥb
Monolothic Member
  • Total Posts : 3332
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/28 22:18:48 (permalink) ☼ Best Answerby mmk471 2017/11/30 04:30:15
4 (2)
ICD3 cabling changes numbering at each end.
1 -> 6 at one end is 6 -> 1 at the other end.
My guess is you have the wires mirrored from where they should be.
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#3
maxruben
Super Member
  • Total Posts : 3315
  • Reward points : 0
  • Joined: 2011/02/22 03:35:11
  • Location: Sweden
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/29 13:49:45 (permalink)
0
Are you supposed to power your board from the ICD3?
In that case you need to check the ICD3 option "Power target circuit from ICD 3".
 
/Ruben

Attached Image(s)

#4
mmk471
New Member
  • Total Posts : 12
  • Reward points : 0
  • Joined: 2017/11/21 03:20:55
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/29 22:53:13 (permalink)
0
thanks for reply....
 
as you mentioned i have verified the connections and checked the continuity also for the cable which i'm using i.e. RJ11 cable. for me it looks good only.
 
and i have powered the target board with 5v supply which is not from the ICD3. that time i'm getting the above mentioned error.
 
''Are you supposed to power your board from the ICD3?
In that case you need to check the ICD3 option "Power target circuit from ICD 3". ''
 
when i'm selecting the Power target circuit from ICD 3 and not providing power supply from target board, the above error is not coming and giving error as  ''Target is not detected.''
 
here my question is if i select both power supplies i.e. Power target circuit from ICD 3 which i select from ICD3 and providing 5v supply target board (for traget board power supply) will it cause a problem because of providing both power supplies. ??
 
 Regards
Krishna
#5
qɥb
Monolothic Member
  • Total Posts : 3332
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/29 23:34:17 (permalink) ☄ Helpfulby mmk471 2017/11/30 04:29:46
5 (1)
Have you read my post above?
Are you sure you have not reversed the connection?
Ground is in the middle, so it will be ok, but VDD and MCLR will be swapped with the programming pins if you have, which will give exactly the effect you describe.
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#6
NKurzman
A Guy on the Net
  • Total Posts : 17512
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/29 23:45:24 (permalink)
0
If you want to be sure. Set the ice to power the target at lets say 4 volts. Measure and see if the 4 volts is where it belongs.
Also inspect the pod on the ICD connector. Bad phone jacks can damage them. And you have a cable with the correct 6x6 phone plug?
#7
mmk471
New Member
  • Total Posts : 12
  • Reward points : 0
  • Joined: 2017/11/21 03:20:55
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2017/11/30 04:32:54 (permalink)
0
thank you guys for helping. 
 
as you said, i swapped the pins (i.e. i connected 6-->1 on target board) and it started working.
 
Thanks & Regards
Krishna.
 
 
#8
Roberttku
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2018/05/10 20:44:37
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/05/18 00:38:51 (permalink)
0
Hi MMK471,
Did you solve"Target device was not found (could not detect target voltage VDD). You must connect to a target device to use PICkit 3.".
IF YES, tell me how did you solve thsi issue, please, because I have the same issue broth me one week.
Thanks a lot.
 
Robert
#9
qɥb
Monolothic Member
  • Total Posts : 3332
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/06/26 13:33:25 (permalink)
0
He marked post#3 as "Best answer", so that was probably what fixed it.
If you get that message, the PK3 is not seeing any voltage from your board, so you have a bad connection.
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#10
Roberttku
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2018/05/10 20:44:37
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/06/26 18:06:08 (permalink)
3 (1)
Hi All,
This issue already fixed by following the suggestions of Mysil & qub & du00000001.
Thanks a lot.
 
Robert
#11
Electric_Eagle
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/10/22 12:13:30
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 12:54:05 (permalink)
0
I’m currently trying to update an older project to be reused for a different project and this thread seems to mirror the issues that I’ve been having.

qɥb
ICD3 cabling changes numbering at each end.1 -> 6 at one end is 6 -> 1 at the other end.My guess is you have the wires mirrored from where they should be. 


Where do I go and see the configuration of the cables? I’m new to MPLAB X IDE and I can’t seem to find where the setting is or if it’s suppose to be put as part of the code.

Thanks!
#12
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 13:55:07 (permalink) ☄ Helpfulby Electric_Eagle 2018/10/22 19:13:22
0
Electric_Eagle
...
Where do I go and see the configuration of the cables?

You look at the physical cable you are using. This has nothing to do with your code or any MPLABX settings.
 

Nearly there...
#13
Electric_Eagle
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/10/22 12:13:30
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 18:59:59 (permalink)
0
qhb
Electric_Eagle
...
Where do I go and see the configuration of the cables?

You look at the physical cable you are using. This has nothing to do with your code or any MPLABX settings.
 




What specifically do I have to look for in the cable? I'm currently using the included cable (RJ11 I think is the cable type) with the ICD 3.
#14
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 19:02:18 (permalink)
0
What board do you have your PIC on?
i.e. a Microchip supplied one, or your own custom design?
As mentioned earlier in this topic, the numbering is mirrored when using the RJ11 cable.
Pin 1 at one end becomes pin 6 at the other end.
 

Nearly there...
#15
Electric_Eagle
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/10/22 12:13:30
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 19:13:37 (permalink)
0
qhb
What board do you have your PIC on?
i.e. a Microchip supplied one, or your own custom design?
As mentioned earlier in this topic, the numbering is mirrored when using the RJ11 cable.
Pin 1 at one end becomes pin 6 at the other end.



Thank you for all the help, I really appreciate it. I'm not an electrical engineering major so a lot of this stuff is unknown for me.
 
I'll check it when I'm in the lab tomorrow morning. I don't remember 100% sure on what board it is. I know it's a demo board for cubesat and that this set up has previously worked.
 
Right, I understand that but I'm not certain how to address it. I'll get the board number first thing in the morning and see if that helps solve the issue.
#16
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/22 19:56:27 (permalink)
0
You can read the ICD3 User Guide at:
http://ww1.microchip.com/downloads/en/DeviceDoc/50002081B.pdf
 
The modular cable wiring is shown on page#50
Note that ground is on pin#3 at the Target end (i.e. your board), but on pin#4 at the ICD3 end.
It should be pretty easy to confirm that your board's ground is connected to the ICD3's ground, if you test with an ohmmeter with all power removed.
 

Nearly there...
#17
Electric_Eagle
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2018/10/22 12:13:30
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2018/10/23 06:14:00 (permalink)
0
Board is a dsPICDEM Starter Demo Board V2.

I’m currently going through the documentation (for both the board and the ICD 3) and seeing what I can find now with fresh eyes.

I’m probably missing something obvious so thank you for being patient with me.
#18
crosland
Super Member
  • Total Posts : 1584
  • Reward points : 0
  • Joined: 2005/05/10 10:55:05
  • Location: Bucks, UK
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2019/01/19 08:15:35 (permalink)
0
Deleted - wrong thread
post edited by crosland - 2019/01/19 08:20:41
#19
Mohammed_Hassan
New Member
  • Total Posts : 15
  • Reward points : 0
  • Joined: 2019/03/13 06:05:20
  • Location: 0
  • Status: offline
Re: Target device was not found(could not detect target voltageVDD).You must connect to ta 2019/06/25 04:30:24 (permalink)
0
Sorry, 
how you swapped them? as I have the cable with the same 2 ends (I think mirrored) 
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5