View previous topic :: View next topic |
Author |
Message |
mvanvliet
Joined: 02 Jun 2009 Posts: 123 Location: The Netherlands
|
After update 4.093 to 4.095 fuses wrong |
Posted: Tue Jul 21, 2009 3:12 am |
|
|
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
|
|
Posted: Tue Jul 21, 2009 4:14 am |
|
|
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
|
|
Posted: Tue Jul 21, 2009 4:47 am |
|
|
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
|
|
Posted: Tue Jul 21, 2009 5:38 am |
|
|
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 |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Tue Jul 21, 2009 7:11 am |
|
|
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
|
|
Posted: Tue Jul 21, 2009 9:09 am |
|
|
Yes I did. |
|
|
|