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

Help getting started
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Simenzo



Joined: 06 Jan 2007
Posts: 9

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

PostPosted: Wed Jan 10, 2007 9:02 am     Reply with quote

Oh... I think I understand what you're saying.... the chip has a calibration that was wiped out when I UV-ed it (I'm using a window-ed chip)... so I need to re-program it. Correct?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 10, 2007 9:24 am     Reply with quote

Add the line shown in bold below.
Quote:

#include <12C672.h>
#fuses INTRC_IO, NOWDT, NOPROTECT, PUT, NOMCLR
#use delay(clock=4000000)

#rom 0x7FF = {0x3400}


This will put a "RETLW 00" instruction at address 0x7FF, which should
fix the problem.
Simenzo



Joined: 06 Jan 2007
Posts: 9

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

Solved!
PostPosted: Wed Jan 10, 2007 9:49 am     Reply with quote

Whew! That did it!

Many thanks to all who responded (or who read & thought about) my problem! Much appreciated! Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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