Connect with us

How to genarate a HEX file for...?

Discussion in 'Electronic Design' started by Azim, Oct 19, 2007.

Scroll to continue with content
  1. Azim

    Azim Guest


    I want to generate a HEX file for an EPROM in PROTUES.
    Is there any software to do so for me?
  2. google bin2hex

  3. mpm

    mpm Guest

    I am not certain what you are asking, nor familiar with the Protues.
    I am assuming the Protues is a certain model of chip programmer??

    To generate a HEX file, you'll need the original source code for the
    project and then run this through an Assembler or Compiler. This
    process will generate the hex file.

    There are several "flavors" of HEX files.
    Some common ones are Intel Hex, Motorola S-Record, and Tektronics

    The structure of all three are actually very similar.
    The file is plain text, HEX representations of the storage address
    inside the EPROM, the data, and usually a checksum appended to the end
    of each line.

    If you already have one "flavor" and simply need to convert it so
    something the Proteus can understand (and really, if it can't
    understand Intel Hex, what good is it??), there are several programs
    that can do the conversion for you. I have one from Avocet Systems
    circa 1990 that works wonders!

    If you don't have a hex file, you'll basically need to research
    embedded software programming topics first. Good luck. -mpm
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day