[PIC] PIC18F6720 programming

Status
Not open for further replies.

jayamohan

Member level 1
Joined
May 12, 2006
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,516
Hello all,

I have Project header and source file for PIC18F6720 and target board.
I am using mplab and Hitech C compiler.

For compiling i tried following method.

On MPLAB IDE,
1) Project > Project Wizard >Device 18F6720>Hi-Tech PICC-18 Toolsuite > Picc-18 Compiler(picc18.exe)
2) Entered Project name and Project directory and added existing Header and sourse file > Finish.
3) Now clicked on Project > Build options and selected Include path as "Header folder" and selected Library path as C:\Htsoft\lib.
4) Now clicked "Build All" Option.

It's compiling with warnings and creating .hex file.

But this hex file is not working.

Can some one please tell me what is the mistake i am doing?

Thanks in advance.
 

Are you adding both header and C source files to the project window before compiling?

What are the warnings? Please post them.

Zip and upload your entire project directory, we can then examine and offer advice.

BigDog
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…