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 CCS Technical Support

[SOLVED] ICD3 funny behaviour

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



Joined: 12 Nov 2012
Posts: 357
Location: South Africa

View user's profile Send private message

[SOLVED] ICD3 funny behaviour
PostPosted: Tue Jul 29, 2014 6:05 am     Reply with quote

I am programming a dsPIC33EP512GM304 using a ICD3 (Burnt out my U64 Crying or Very sad ) and MPLABX 2.10 with CCS 5.025.

I have the following problem. When I connect the ICD to the board and power up I can't program unless I plug out (leave the power on) run the selftest using the ICD3 Test module and swap cables.

I am getting the error
"Target Device ID (0x0) does not match expected Device ID (0x1bc00000)"

Any ideas? I do not use the PGED3 and PGEC3 pins for anything else.

Regards

Battling to register on microchip forums that is why I post here.


Last edited by alan on Wed Jul 30, 2014 5:25 am; edited 1 time in total
drh



Joined: 12 Jul 2004
Posts: 192
Location: Hemet, California USA

View user's profile Send private message

Re: ICD3 funny behaviour
PostPosted: Tue Jul 29, 2014 7:39 am     Reply with quote

alan wrote:
I am programming a dsPIC33EP512GM304 using a ICD3 (Burnt out my U64 Crying or Very sad ) and MPLABX 2.10 with CCS 5.025.

I have the following problem. When I connect the ICD to the board and power up I can't program unless I plug out (leave the power on) run the selftest using the ICD3 Test module and swap cables.

I am getting the error
"Target Device ID (0x0) does not match expected Device ID (0x1bc00000)"

Any ideas? I do not use the PGED3 and PGEC3 pins for anything else.

Regards

Battling to register on microchip forums that is why I post here
.


http://picforum.ric323.com/
_________________
David
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Tue Jul 29, 2014 7:53 am     Reply with quote

I'd suspect power, or slightly too long cables (these get particularly critical with these chips).
Look at: <http://www.microchip.com/forums/m775940.aspx>
alan



Joined: 12 Nov 2012
Posts: 357
Location: South Africa

View user's profile Send private message

PostPosted: Tue Jul 29, 2014 8:33 am     Reply with quote

Thanks Ttelmah.

As long as I don't take the programming cable out and leave the board powered, I can reprogram as many times as I want.

Also the I use the tag-connect and it is placed about 10mm from processor.
It only happens at power up.

Regards
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Tue Jul 29, 2014 8:43 am     Reply with quote

In the ICD3 menu, how is it set to power?.

You need to make sure "Power target circuit from ICD 3", is not selected.

I suspect your board draws more than the ICD3 can supply. If it is set to power the board, this then overloads it's supply. When you re-connect after the main board is powered, the supply restarts.

Best Guess....
alan



Joined: 12 Nov 2012
Posts: 357
Location: South Africa

View user's profile Send private message

PostPosted: Tue Jul 29, 2014 8:59 am     Reply with quote

Not ticked, but gets interesting.

If I unplug the tag_connect at board level and then reconnect with board powered up can't program.
If I unplug the tag_connect at ICD side and reconnect can program.

Tried this about 5 times with consistent results as explained above.

At least I am making progress, hope so Laughing

Regards
alan



Joined: 12 Nov 2012
Posts: 357
Location: South Africa

View user's profile Send private message

PostPosted: Wed Jul 30, 2014 5:26 am     Reply with quote

Soldered 10k resistors to Vcc on PGD and PGC lines and so far no problem.

Regards
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