Problem creating hex file for PIC18F4550.

Thread Starter

Navneetdante

Joined Feb 24, 2016
4
Please help me creating hex file for PIC18F4550. I am rigging up a circuit for voice input output using pic microcontroller.
I need it for my final year project. Please help me out guys. i am Posting the c code.
If possible please create the hex file.
thank you.
 

Attachments

Papabravo

Joined Feb 24, 2006
13,931
Ummm. You need the C18 compiler, or equivalent, to compile your source file into a .HEX file that you can use to program an actual part. I think it might be a free download from the Microchip website.
 

mcgyvr

Joined Oct 15, 2009
5,394
I just talked to your instructor and they said we should not help you and that your grade will be marked down some just because you asked someone to do this for you..
 

ErnieM

Joined Apr 24, 2011
8,046
Once you get this to build and program your pic and the LCD doesn't respond go back to the data sheet for the LCD and see how long the delay after power on to the time you can use it is, then add that delay to your code.
 

Papabravo

Joined Feb 24, 2006
13,931
It is not clear that he has a clean compile yet. Can't do anything without first getting a clean compile. Only way to do that is to understand the error messages, and if the error messages are in English, and English is not your first language it could be a problem.

Are there compilers with error messages in Kannad, Telugu, Tamil, and Hindi? I would be surprised if there were.
 

JohnInTX

Joined Jun 26, 2012
4,113
The code is not yours, is it?
Have you tried to understand what it does?
Error codes? Which ones?
It looks like the project is from the EngineersGarage.
First step is to tell us what compiler you are using and what the error messages say. A better step is to try to design and code the project yourself maybe using the article as a starting point. As others have pointed out, there are likely problems in the code itself.
Good luck.

EDIT: It looks like the original code was written in HiTech C. The source will compile with XC8 after a few syntax cleanups. Compile it, review each error and fix it. It took me about 5 minutes. Since its your senior project, I'll leave the rest to you.
 
Last edited:

Papabravo

Joined Feb 24, 2006
13,931
I think they are if your location is known.
Yes, I agree that all times on postings are in the time zone of the viewer, if his location is known. It is NOT the case that my postings are in EST, and the TS/OPs postings are in Bangalore time. All the times I see are EST so I can estimate how long it has bee since the TS/OP made his last post.
 
Top