View previous topic :: View next topic |
Author |
Message |
dynamitron
Joined: 18 Mar 2009 Posts: 38
|
problem with ex_fat.c |
Posted: Thu Apr 01, 2010 2:22 pm |
|
|
I try to compile ex_fat.c and I got these errors
*** Error 90 "ex_fat.c" Line 153(28,29): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 160(18,19): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 189(24,25): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 191(28,29): Attempt to create a pointer to a constant
*** Error 51 "ex_fat.c" Line 197(4,8): A numeric expression must appear here
*** Error 90 "ex_fat.c" Line 199(29,30): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 230(21,22): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 256(21,22): Attempt to create a pointer to a constant
*** Error 90 "ex_fat.c" Line 281(28,29): Attempt to create a pointer to a constant
my fuses are like this
#include <18f2525.h>
#fuses NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP,HS
#use delay(clock=4000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
what is wrong ? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Apr 01, 2010 2:24 pm |
|
|
Always post your compiler version when you have any unexplained
behavior of the compiler. Every version has different bugs, and we (the
forum) can't test your problem for certain, without the version. |
|
|
dynamitron
Joined: 18 Mar 2009 Posts: 38
|
|
Posted: Thu Apr 01, 2010 2:54 pm |
|
|
version 4.065
PCWHD |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Apr 01, 2010 3:10 pm |
|
|
Quote: |
#include <18F67J60.h>
#device PASS_STRINGS = IN_RAM
#fuses NOWDT, HS, NOPROTECT
#use delay(clock=25M)]
|
You left out the line in bold, when you changed those lines. |
|
|
dynamitron
Joined: 18 Mar 2009 Posts: 38
|
|
Posted: Thu Apr 01, 2010 3:20 pm |
|
|
Whow !!
thanks a lot |
|
|
|