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

dsPIC33 programming problems

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



Joined: 18 Jun 2008
Posts: 2

View user's profile Send private message

dsPIC33 programming problems
PostPosted: Fri Jul 23, 2010 10:07 am     Reply with quote

I am using the dsPIC33FJ64GP804 micro.
Compiler version 4.109
MPLAB ICD 3
MPLAB IDE v8.53

I am having trouble programming the chip. I usually work with the 18F series, but needed two RS232 channels and 1 CAN channel so I couldn't do it with a 44-TQFP package 18F.

Do you need to specify in code which programming channels you are going to use? I'm using PGEC1 and PGED1, which are pins 22 and 21 respectively. Maybe a #FUSE needs to be used, but I don't see any in the header file that would correspond to program pins.

When I try to connect I get the error "Target Device ID (00000000) does not match expected Device ID (061f0000)"

Using the ICD 3 Test Interface in the IDE, I get the error "ICD3Err0063: Test interface PGC clock line write failure.
Please ensure that the tester is properly connected." It is.

Testing the ICD 3 with the Test Interface Board shows that the ICD is working.

Anyone know what I could be missing here? Or have any questions for me that would help you help me?

Thank you so much to anyone who even reads this. I'm kind of lost at the moment.

Dan
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Fri Jul 23, 2010 12:51 pm     Reply with quote

Selection of PGC/PGDx pins by ICSPx fuse is required for debugging but not for basic programming. Select the correct device type and it should connect to ICD3, otherwise the hardware interface is incorrect.
wangine



Joined: 07 Jul 2009
Posts: 98
Location: Curtea de Arges, Romania

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Sun May 15, 2011 3:21 pm     Reply with quote

In the hardware interface sould be
Voltage on VCAP/VDDCORE with respect to VSS ....................................................................................... 2.25V to 2.75V
VCAP / VDDCORE pin disconnects the source and put a 100uF capacitor, and go.
I had the same problem but it resolved dsPIC33FJ64GS406.
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