Using MPLab PICc-18 to test PIC18F4580

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

Reply to
bkrpic
Loading thread data ...

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 to
FreeRTOS.org

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 to
Spehro Pefhany

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

Reply to
Neil

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.