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)......
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
- 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.... ?
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