This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Parents
  • 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.

Reply
  • 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.

Children
No data