Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top