Discussion Forum

Generate .hex from C code

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Dan Duo
Posted
25-May-2001 20:07 GMT
Toolset
C51
New! Generate .hex from C code
Hi,

I have PK51 version 1.32. But I don't know how to get .hex file.
Please tell me how to generate the .hex file from C code.

Thanks,

Dan
Read-Only
Author
Andrew Neil
Posted
25-May-2001 21:55 GMT
Toolset
C51
New! RE: Generate .hex from C code
the compiler (C51) generates object file(s) from source file(s);
the linker (BL51) generates a binary file from object file(s);
BIN2HEX converts a binary file to hex!

Something like uVision would give you a fancy graphical interface to bring all that together, and relieve you of the tedium of creating command lines manually.
See the uVision2 Getting Started Guide (GS51.pdf - on the free CD) for more details.

Next Thread | Thread List | Previous Thread Start a Thread | Settings