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

#fuses...

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







#fuses...
PostPosted: Tue Aug 31, 2004 9:28 am     Reply with quote

With PIC18F2620, I get the warning in MPLAB:

Quote:

The extended CPU Mode Configuration Bit is enabled, but the program that was loaded was not built using extended CPU instructions.


What does that mean? I want to use it as a normal microcontroller, since I ran out of space with the PIC18F252. I looked at the Fuses.txt file, and it does mention "CPU", "EMCU", but both of them give me an error when I try to compile, saying those settings are not recognized.

-Mike
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Aug 31, 2004 1:16 pm     Reply with quote

I don't have the latest version of PCH, so I can't check this, but you
should look at the top of the 18F2620.H file for the list of #fuse parameters.

Look for a fuse similar this: XINST

According to the data sheet, if the XINST bit is set (in register Config4L)
then the extended instruction set is enabled.

Alternatively, since you're using MPLAB (and, I assume ICD2) you
could disable the 'Extended Instruction Set' config bit there, before you
program your PIC.
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