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

After update 4.093 to 4.095 fuses wrong

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



Joined: 02 Jun 2009
Posts: 123
Location: The Netherlands

View user's profile Send private message

After update 4.093 to 4.095 fuses wrong
PostPosted: Tue Jul 21, 2009 3:12 am     Reply with quote

After updating from 4.093 to 4.095 this morning my fuses are completly wrong. In the listing file they are ok, but when I look in the software of my 2 programmers the fuses are not ok (and my project isn't working anymore). Probably the hex file is incorrupt. After reinstall 4.092 from the cd the fuses are correct again (and my project is working again). I'm using the 10F222.

Am I the only one? Or is it only with the 10f222?
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Tue Jul 21, 2009 4:14 am     Reply with quote

You may want to check the #fuses setting against the generated configuration words from *.lst file and post the result here. Also MPLAB is a good tool to check the actual configuration setting.

There have been issues in the past due to changes in CCS C's interpretation of individual #fuses keywords. These changes have been done if the previous #fuses keyword definition has been contradicting Microchips configuration field names.

Also, configuration words have been read from wrong addresses in some CCS programmer versions.
mvanvliet



Joined: 02 Jun 2009
Posts: 123
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Jul 21, 2009 4:47 am     Reply with quote

Code:
#FUSES NOMCLR, NOWDT, NOPROTECT, IOSC4, NOMCPU


Code:
Configuration Fuses:
   Word  1: 0FEA   NOMCLR NOPROTECT NOWDT NOMCPU IOSC4


They are the same in the .C and the .lst file. But when I open the .hex file in the software of 2 different programmers (winpic and galep) and take a look at the fuses then MCLR is on, the watchdog is on and the internal osc is 8 MHz. Now I've reinstalled the compiler to the 4.093 and not update to 4.095 and it's working fine.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Tue Jul 21, 2009 5:38 am     Reply with quote

Yes, I see, that PCB 4.095 is using a wrong configuration word address in the *.hex and *.cof output for PIC10F222.
I fear, CCS is running out of version numbers before finishing V4.100 Smile
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue Jul 21, 2009 7:11 am     Reply with quote

Did anyone send an email to CCS to let them know?
_________________
Google and Forum Search are some of your best tools!!!!
mvanvliet



Joined: 02 Jun 2009
Posts: 123
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Jul 21, 2009 9:09 am     Reply with quote

Yes I did.
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