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

wrong hex file

Uvision is giving me the wrong .hex file. so i can't program my code?

any ideas?

Parents
  • i'm using flash to download and run the code for the 42800a chip.

    when i take the keil .hex file, and download it onto the superpro software as Intel .hex file, i can see the output which will download onto the flash. That output is no mre then two instructions which is not correct.

    So i figured that the .hex file from uvision is giving wrong hex data of my code.

    ?

Reply
  • i'm using flash to download and run the code for the 42800a chip.

    when i take the keil .hex file, and download it onto the superpro software as Intel .hex file, i can see the output which will download onto the flash. That output is no mre then two instructions which is not correct.

    So i figured that the .hex file from uvision is giving wrong hex data of my code.

    ?

Children
  • most likely your programmer is made with the assumption that .hex files are sequential - or - it does not 'know about' the .hex expansion re more than 64k.

    There are programs referred to in this forum - I do not recall where - that 'simplify' the Keil .hex which is within the specs since the specs do not require sequential addressing.

    Erik