Hi friend,
First of all,
Open MPLAB IDE.
then go to project Menu ==> Project Wizard.
then click "Next" button ==> Select Microcontroller ==> Select compiler tool-suite(for ex. MPLAB C18 C Compiler(mcc18.exe)v3.34) ==> Create project location ==> Next ==> Finish.
then add C file in source file in workspace.
Then build it from Project Menu ==> Build all.
it will create hex file in same folder(project folder)
Hope this is help you.
Shyam
INDIA.
If u r using PIC MC..... try PICProgrammer..... easy to download.... easy to use.....
Hi friend,
First confirm that, you should properly install Compiler.
Because, MPLAB is only IDE(Integrated development environment ) Not compiler.
You must install Compiler like MPLAB-C18-Student-Edition-doc-v3_00-win32.
It is download freely from Microchip website.
Then Try this option,
Go to Project Menu ==> Build Options... ==> Project.
It will open one window,
In Directories tab, Give proper path for all directory
For ex.
Show directories for: Linker-Script Search path
gives ==> C:\MCC18\bin\mcc18.exe
Hope this is help you.
Good luck.
Shyam.
Error 18 "HIDtest.c" Line 25(10,23): File can not be opened
Not in "C:\Program Files\PICC\devices\PIC18F458.h"
Hi vikky,
For this error, give proper directory path of include file.
which is done by this way,
Go to Project Menu ==> Build Options... ==> Project.
It will open one window,
In Directories tab, Give proper path for all directory
Show directories for: Include Search path
give your header file path in box of window.
for ex.
gives ==> C:\MCC18\h
For configuration bit
Go to Help Menu ==> Topics.... ==> PIC18 Config setting ==> select your Microcontroller
It give you proper description of configuration bit and how it is set.
Hope this is help you.
Good luck.
Shyam.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?