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

Cannot Read Target VDD?

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
ninjanick



Joined: 25 May 2004
Posts: 25

View user's profile Send private message

Cannot Read Target VDD?
PostPosted: Wed Jul 06, 2005 6:21 pm     Reply with quote

I'm using an ICDU-40 to program a PIC16F628A. I can erase the chip and read the Device ID, however it cannot read the target VDD. I'm using the ICD to power the device for programming. MCLR functions normally (using PIC16 Interface GUI). The only reason I ask is because I can't seem to program the device. The ICD programs ok, but during verification the values are not correct.
Not sure if this is an indication of another problem, but whenever I do program the device, the status bar is slow and choppy. I've programmed other PICs before and this is the first time this has happened. It can't be an ICD issue because I can program other devices fine. I doubt it's a cable issue because I can trace the ICD interface directly to the device pins. So I'm kinda' stuck as to what to try next.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Jul 07, 2005 8:10 am     Reply with quote

So maybe its a program issue. Do you use LVP or anything else that is "new" to you and the programming of a chip?

I guess what I am saying is ...
What are the new variables???
1) new chip, new board, new ICD cable, new power on ICD
2)....
3)...
4)..
5).
ninjanick



Joined: 25 May 2004
Posts: 25

View user's profile Send private message

PostPosted: Sun Jul 10, 2005 12:01 am     Reply with quote

Basically it's a new chip and board. I'm using the same ICD, firmware, etc ... The programming cable that connects the ICD is new, but I traced all the leads back to the corresponding pins on the RJ11. I even double checked them tonight. It's just wierd.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Jul 11, 2005 8:08 am     Reply with quote

I don't know if this is possible for you,... but try this.

1.Power the board. Don't power through ICD.(it may be too much of a load)
2.Check the crystal. See that you have a oscilator.
3.Try to use know "good" everything else,.. code, cables, compiler.
4.Check that the voltage on the board is correct.


5.Remove anything "extra" from the board. Chips, ect.. that could be createing the problem. (This step is a last resort) Try other things first.


6.Make sure the chip is the one you thought you were using... : )
I say this just because I soldered on a 16Lf877a when I wanted a 16f877a
and that problem bit me for 3 hr. the other day. It happens.
Nandini



Joined: 13 Jul 2005
Posts: 15

View user's profile Send private message

PostPosted: Tue Jul 19, 2005 3:46 pm     Reply with quote

Are you using the internal oscillator and nomclr fuse. It might cause some issues with entering into programming mode.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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