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

Reprogramming 12F629 OSCCAL after erase flash in mplab 6.x

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



Joined: 05 Oct 2003
Posts: 1

View user's profile Send private message

Reprogramming 12F629 OSCCAL after erase flash in mplab 6.x
PostPosted: Sun Oct 05, 2003 2:12 pm     Reply with quote

Aplogies if this is slightly off topic, but I'm not sure if this is a CCS issue or an mplab 6.x issue.

I'm working with incircuit programming of a 12F629 and can successfully read/write/verify the chip. However, when I erase the flash, it erases all of program memory, including the OSCCAL value at 0x3ff. No worries, right?
I just use:
Code:
#rom 0x3FF={OSC_VALUE}

and everything is happy...

Except here's the kicker, mplab 6.x refuses to program that address. When I check programming ranges, it shows me 0-0x3FE, and gives an error when I change to range to include 0x3FF.

Should I be using a different CCS option? Is this a bug in mplab 6? What am I missing?!?

Thanks a ton,
-Josh
roman



Joined: 23 Dec 2003
Posts: 3

View user's profile Send private message

PostPosted: Tue Dec 23, 2003 5:12 am     Reply with quote

I have had this problem using MPLAB and the PromateII programmer. I now use the cheap and cheerful PICkit 1 Flash starter kit which works well with the latest MPLAB and has the facility to re-calculate and reload the calibration value. Smile
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