Tech Support > Computer Hardware > Microprocessors > Using MPLab PICc-18 to test PIC18F4580
Using MPLab PICc-18 to test PIC18F4580
Posted by bkrpic on March 19th, 2008


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


Posted by FreeRTOS.org on March 19th, 2008


"bkrpic" <raosdiary@gmail.com> wrote in message
news:JO-dnVY7iOQE7XzanZ2dnUVZ_j-dnZ2d@giganews.com...
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.








Posted by Spehro Pefhany on March 19th, 2008


On Wed, 19 Mar 2008 14:59:21 -0500, "bkrpic" <raosdiary@gmail.com>
wrote:

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

Posted by Neil on March 20th, 2008


bkrpic wrote:


Similar Posts