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

#fuses and MPLAB 6.2 Configuration Bits...

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







#fuses and MPLAB 6.2 Configuration Bits...
PostPosted: Sun May 25, 2003 11:36 am     Reply with quote

I just upgraded to MPLAB 6.2 (from 5.x). My program contains a #fuses statement and the generated .hex file does have the fuse information in it however the "Configuration Bits..." under Configure->Configuration Bits... are not being set according to these bits.

Should they be getting updated? It seems that the MPLAB "Configuration Bits..." are being used when programming with PROMATE rather than the #fuses value in my .hex file.

Anyone have any ideas what's happening?

Thanks,
Dick
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514746
john cutler



Joined: 06 Sep 2003
Posts: 82
Location: Hot Tub, California

View user's profile Send private message

Re: #fuses and MPLAB 6.2 Configuration Bits...
PostPosted: Sun May 25, 2003 4:01 pm     Reply with quote

<font face="Courier New" size=-1>Check out the configure menu in MPLab6.2. Under Settings, under the Program Loading tab, there's a checkbox "clear configuation bits upon loading a program"

Think that may help. If you then compile (assemble) in MPLab, it may tell everyone to use your configuration bits.

Not sure, can't check right now, but let me know.

John </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514747
Richard Mincher
Guest







Re: #fuses and MPLAB 6.2 Configuration Bits...
PostPosted: Sun May 25, 2003 6:03 pm     Reply with quote

I saw that check box too and tried it both ways.

If the box is checked it REALLY clears the config word (sets it to 3FFF). If the box is not checked the config bits are not updated at all (retains same value as before the compile).

-Dick
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514749
mincher
Guest







Re: #fuses and MPLAB 6.2 Configuration Bits...
PostPosted: Wed May 28, 2003 11:28 am     Reply with quote

Problem solved.

Microchip says that it receives the configuration bits from the .COD file. If you chose the debug option to generate a .COFF file they don't see the bits.

-Dick
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514818
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