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

re=programming a chip with PLL H4 enabled?

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







re=programming a chip with PLL H4 enabled?
PostPosted: Fri Mar 18, 2005 2:31 pm     Reply with quote

I am having trouble programming an 18f448 chip with the Microchip ICD2 on a chip that was previously programmed with the PLLx4 fuse bit set. The other 18f448 PIC in my board erases and programs just fine.

I tried it on another board, and the same thing happens.

All attempts to erase the chip fail, as well as programming it. The program in flash in fact remains untouched.

Is there an issue with re-programmability of previously programmed PICs with H4 enabled?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 18, 2005 2:47 pm     Reply with quote

What's the Vdd voltage on the PIC ?

If it's 3.3v, then there's a few threads on the subject, some
of them with some screaming.

On edit:
This problem is supposed to only apply the code protection bits.
You can only erase them with a "bulk erase" and that can only
be done with Vdd at +5v.

But, if you're using 3.3v, I think it's worth it to try +5v (if possible)
and see if it solves the problem.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Fri Mar 18, 2005 8:14 pm     Reply with quote

Also try it with the power supply plugged into the ICD2
treitmey



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

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

PostPosted: Mon Mar 21, 2005 8:58 am     Reply with quote

I think there was also a problem/feature that the power needs to be turned off and back on. I think it was something to do with the 4x PLL
dyeatman



Joined: 06 Sep 2003
Posts: 1923
Location: Norman, OK

View user's profile Send private message

PostPosted: Mon Mar 21, 2005 9:12 am     Reply with quote

Yeah, that one is where the chip PLL will not kick in until you cycle the power after the programming.
valemike
Guest







PostPosted: Mon Mar 21, 2005 10:53 am     Reply with quote

Voltage to the PIC was 5V.
I didn't have power connected to the PIC; rather it comes from the ICD-2.

I already resolved my problem. Apparently, the diode i have hooked up to Vdd was causing the voltage applied by the ICD-2 to go down.

I took out the diode and all is fine.
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