> hi all
>
> i am using mplab ide7.51 and PICC-18 compiler to compile a program for
> PIC18F4580. if i compile i am facing the following probem.
>
>
>
> Executing: "C:\HTSOFT\PIC18\BIN\PICC18.EXE" -C -E"sp3.cce" "sp3.c"
> -O"sp3.obj" -Zg9 -O -Q -MPLAB -18F4580
>
> Error[000] : Unknown flag -18F4580
>
>
> Halting build on first failure as requested.
>
> BUILD FAILED: Wed Mar 19 14:56:37 2008
>
>
>
> so i hope somebody will give me a good suggestion
>
> Thank You all
>
>
This is better answered at the HTSoft Fourm. What Compiler Version?
Reply by Spehro Pefhany●March 19, 20082008-03-19
On Wed, 19 Mar 2008 14:59:21 -0500, "bkrpic" <raosdiary@gmail.com>
wrote:
>hi all
>
>i am using mplab ide7.51 and PICC-18 compiler to compile a program for
>PIC18F4580. if i compile i am facing the following probem.
>
>
>
>Executing: "C:\HTSOFT\PIC18\BIN\PICC18.EXE" -C -E"sp3.cce" "sp3.c"
>-O"sp3.obj" -Zg9 -O -Q -MPLAB -18F4580
>
>Error[000] : Unknown flag -18F4580
>
>
>Halting build on first failure as requested.
>
>BUILD FAILED: Wed Mar 19 14:56:37 2008
>
>
>
>so i hope somebody will give me a good suggestion
>
>Thank You all
The PICC-18 compiler version you have does not support the PIC18F4580.
Looks like you need to get an update.
Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
Reply by FreeRTOS.org●March 19, 20082008-03-19
"bkrpic" <raosdiary@gmail.com> wrote in message
news:JO-dnVY7iOQE7XzanZ2dnUVZ_j-dnZ2d@giganews.com...
> hi all
>
> Executing: "C:\HTSOFT\PIC18\BIN\PICC18.EXE" -C -E"sp3.cce" "sp3.c"
> -O"sp3.obj" -Zg9 -O -Q -MPLAB -18F4580
>
> Error[000] : Unknown flag -18F4580
As it says -18F4580 is not a valid compiler flag.
I think this should be -p=18F4580.
I just looked this up in the manual.
--
Regards,
Richard.
+ http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop
16 official architecture ports, 5000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T�V as meeting the requirements for safety related systems.
Reply by bkrpic●March 19, 20082008-03-19
hi all
i am using mplab ide7.51 and PICC-18 compiler to compile a program for
PIC18F4580. if i compile i am facing the following probem.
Executing: "C:\HTSOFT\PIC18\BIN\PICC18.EXE" -C -E"sp3.cce" "sp3.c"
-O"sp3.obj" -Zg9 -O -Q -MPLAB -18F4580
Error[000] : Unknown flag -18F4580
Halting build on first failure as requested.
BUILD FAILED: Wed Mar 19 14:56:37 2008
so i hope somebody will give me a good suggestion
Thank You all