Using MPLab PICc-18 to test PIC18F4580

Mar 19, 2008 3 Replies

hi all



i am using mplab ide7.51 and PICC-18 compiler to compile a program fo 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


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.

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

This is better answered at the HTSoft Fourm. What Compiler Version?

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required