combine two hex file ?

How can I combine two hex files as one to code memory so that the first part starts from 0x0000 and the other one from 0x8000 to 0xFFFF? I use P89C51RD+ and Keil uVision 2. Is it possible to add one hex file to project beside c-code (start from 0x8000) and compile it to one hex file?

Parents
  • How can I combine two hex files as one to code memory so that the first part starts from 0x0000 and the other one from 0x8000 to 0xFFFF?

    Use a TEXT editor to combine the files. Open your editor and load the first file. Delete the following line from the end of the file:

    :00000001FF
    This is the Intel HEX File EOF Record.

    Insert the contents of the second file after the EOF record you deleted.

    Keil Support

Reply
  • How can I combine two hex files as one to code memory so that the first part starts from 0x0000 and the other one from 0x8000 to 0xFFFF?

    Use a TEXT editor to combine the files. Open your editor and load the first file. Delete the following line from the end of the file:

    :00000001FF
    This is the Intel HEX File EOF Record.

    Insert the contents of the second file after the EOF record you deleted.

    Keil Support

Children
No data
More questions in this forum