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.

C program --> Hex file

Status
Not open for further replies.

Help

Advanced Member level 2
Joined
Feb 15, 2005
Messages
617
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Activity points
7,065
Hi,

How to convert my C code to Hex file.... I am use uVision??

Can you tech me step-by-step?
First after create a new_project then,
i choose the device after that i open a new_file (white paper) the next,
i write my C program (program is no error)......
then(how to generate hex file)......

Thanks..
 

If it is not essential for you to use this progrom not any other one, I can't help you.. but I suggest an idea i think it will help you . you can write the C code in this program.. then copile and test it , then copy it to another C compiler program such as PICC for PIC devices or CodeVision for AVR these are the two compilers i know ... and if you gave attention to my advice, then ask me to tell you how to generate the HEX file there.. ok man ? ... good luck.. and i hope i helped you :)
 

Hi,

I don't know what you mean...? but i already download the "PIC C Cimpiler" the need step what should i do.... ?

Thanks...
 

- click on Project / Options for Target 'xy'
- Tab "Output"
- check "Create HEX File", choose a format, usually HEX-80
- OK
- rebuild your target - that's it


Mik

Added after 2 minutes:

Help said:
Hi,

I don't know what you mean...? but i already download the "PIC C Cimpiler" the need step what should i do.... ?

Thanks...
Do you know at least your MCU family (8051 or PIC)?
 

    Help

    Points: 2
    Helpful Answer Positive Rating
Hi Mik,

I already generate the Hex file, Thanks...

Do you have any 8052 programmer or not??? I already try/build this circuit www.kmitl.ac.th/~kswichit/shiao/prog.htm but my OS is Win2K cannot support...

Thanks....
 

hai

for hex code
u should compile the program using any corss compiler
then hex code will be generated by the compiler
 

in the project window, click with the right button to the project and choose
properties. there is a choice box asking to create HEX file. toggle it to on.
then compile again and you'll get the hex file
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top