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

ICD-U40 problem.....

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








ICD-U40 problem.....
PostPosted: Mon Nov 27, 2006 11:07 am     Reply with quote

Hi,

I am using the ICD-U40 with a PIC16F628 design. The ICD checks out when I 'Test ICD' and the target checks out when I 'Test Target', but programming does not work correctly. The .hex file is uploaded to the PIC but there are lots of Verify errors. By experimentation I found that the PGM pin is the culprit. I am using that pin as an input (with a 3K pull-up) and when it is connected to my circuit, the PIC won't program.

Why is this happening, and is there anyway to use this PGM pin??

Dave
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Nov 27, 2006 1:56 pm     Reply with quote

Quote:
By experimentation I found that the PGM pin is the culprit

Add NOLVP to your #fuses statement, as shown in the program
near the end of this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=25130&highlight=16f628+nolvp

In additon to that, you need to pull down the PGM pin to GND during
programming. You can use a 100 ohm resistor to ground for this.
This will override the 3K pullup. Then remove the 100 ohm resistor
after programming is done.
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