Unable to complie PIC16F series
Discussion in "PIC Microcontroller Discussion" started by kirangowle Dec 16, 2013.
Mon Dec 16 2013, 08:24 pm
Hi to rickeys world,
After a long gap i am back to Embedded systems..
This is time i want to learn PIC and therefore i have chosen PIC16F series(Hope its easy for beginners).
I had MPLAB 8.10v with HItech complier 9.83v LITE package. I mapped this in IDE.. But i am unable to compile it. I am facing error as
I have attached the code file as well..
I feel i am not selecting proper compiler for this.. Please guide..
After a long gap i am back to Embedded systems..
This is time i want to learn PIC and therefore i have chosen PIC16F series(Hope its easy for beginners).
I had MPLAB 8.10v with HItech complier 9.83v LITE package. I mapped this in IDE.. But i am unable to compile it. I am facing error as
Executing: "C:\Program Files\HI-TECH Software\PICC\9.83\bin\picc.exe" -p=16F877 "ADC.c" -fo="ADC.o" -w2
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.83
Copyright (C) 2011 Microchip Technology Inc.
Licensed for evaluation purposes only.
This licence will expire on Fri, 31 Jan 2014.
(902) no chip name specified; use "PICC --CHIPINFO" to see available chip names
Halting build on first failure as requested.
I have attached the code file as well..
I feel i am not selecting proper compiler for this.. Please guide..
Tue Dec 17 2013, 04:14 am
The error message says
"(902) no chip name specified;"
Somewhere in the project it expects you to tell it to compile for a PIC16F877.
I don't know the MPLAB setup well enough to tell you where.
Look on the net for an example program or forums for people asking about this error.
"(902) no chip name specified;"
Somewhere in the project it expects you to tell it to compile for a PIC16F877.
I don't know the MPLAB setup well enough to tell you where.
Look on the net for an example program or forums for people asking about this error.
Powered by e107 Forum System