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

12f675

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



Joined: 24 Jun 2004
Posts: 285

View user's profile Send private message

12f675
PostPosted: Tue Aug 03, 2004 2:33 pm     Reply with quote

I had a big trouble with 12f675, I could not download program to it, or after I download program to it several times, I can not download program to it anymore, what is wrong with it, are there any way to get the chip back to work?
Mark



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

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

PostPosted: Tue Aug 03, 2004 7:13 pm     Reply with quote

What do you mean that you cannot download to it? Does it give an error? Or does the program just not run? I have seen a "glitch" where the oscal value gets erased. If you use the internal oscillator, this would be a problem since the code is expecting a return there. Without it, it just keeps looping because the erased location is treated as a NOP and the program counter wraps.
Guest








PostPosted: Wed Aug 04, 2004 5:55 am     Reply with quote

It was give back program failed error?
Quote:

I have seen a "glitch" where the oscal value gets erased. If you use the internal oscillator, this would be a problem since the code is expecting a return there. Without it, it just keeps looping because the erased location is treated as a NOP and the program counter wraps.

what does you mean "glitch", I did use internal oscillaor. how can I write back oscal value into it?

Thank you
Mark



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

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

PostPosted: Wed Aug 04, 2004 6:21 am     Reply with quote

It means that on a couple of occasions the OSCAL value got erased and would not get reprogrammed. All of the programmers that I know of prevent you from programming that location. When you say program failed error what do you mean? That the verification failed? Or something else.
Guest








PostPosted: Wed Aug 04, 2004 6:30 am     Reply with quote

after executing the write program command, an windows error msg pop up say
" Program failed
Program: 1014 errors
EEPROM: 128 errors
IDs : 4 errors"
Guest








PostPosted: Wed Aug 04, 2004 6:33 am     Reply with quote

Quote:

It means that on a couple of occasions the OSCAL value got erased and would not get reprogrammed. All of the programmers that I know of prevent you from programming that location. When you say program failed error what do you mean? That the verification failed? Or something else.


On what kinds of occasions the oscal value got erased, are there anyway to prevent it happens?
Mark



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

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

PostPosted: Wed Aug 04, 2004 7:34 am     Reply with quote

Like I said, it was a "glitch". Something went wrong in the process. Microchip (and others) has taken a step to prevent the novice user from erasing the OSCAL value. When a chip is erased, they read this value and store it, do a bulk erase and then reprogram this value back. Something went wrong, something unexcepected, a small "glitch" and the value did not get reprogrammed back. It does not sound like your problem. This would just make the program not function correctly. Not give you errors when programming.
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