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

PIC16F59 and ICD-U40

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







PIC16F59 and ICD-U40
PostPosted: Sat Feb 11, 2006 7:34 pm     Reply with quote

I'm trying to program a 16F59 (apparently a relatively rare animal) using an ICD-U40, and the ICD can't detect the target. ICD test passes every time, and I can detect and program a 16F88, but nothing with a 16F59. I've checked and rechecked all of the stupid stuff - connections, power, pullup in MCLR, nothing else connected to the chip yet, replaced the chip, etc.

Has anyone else had experience - good or bad - with this chip and programmer combo?

Thanks,
Corbin
wulffert



Joined: 17 Sep 2003
Posts: 6
Location: New York, NY

View user's profile Send private message Send e-mail Visit poster's website

My ICD U-40 Fix
PostPosted: Tue Mar 14, 2006 10:25 am     Reply with quote

All

I have had the same headache with the U40 , but I found a solution . It may not work for all, but it is the only one for me that worked. I have 2 platforms, one is a 18F252, the other a 18F442. The U40 wouldn't see the target chip, even though I had followed CCS's rules to the letter (dedicated B6, B7, only 47K on MCLR, short wires). Keep in mind I have had good results with the old ICD-S and ICD-U (I would have kept the ICD-U but I fried that, thats another story LOL ) on the same designs. What worked was this, open up the case and put the jumper in, this will get 5V from the target to power the ICD. I put 2.2K term resistors on B6 and B7 and tied them to VDD (5V). Now the ICD-U40 works perfect . Won't work for 3V systems (you can make your own interface), so your mileage may vary. So why does this work? Probably noise on the 5V from the USB getting onto the ICD, and some additional noise on B6, B7. The U40 is a lot faster than its predecessors, maybe they could allow for a wait state when toggling the B6, B7 so it runs a bit slower.... just an idea.

Good luck

Mark
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