Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Intel-Hex Format

Intel-Hex Format

Scheduled Pinned Locked Moved C#
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lune12
    wrote on last edited by
    #1

    Hi All, Is there a dll that deal with Intel-Hex ( http://en.wikipedia.org/wiki/Intel_HEX[^] ) file format? I have 2 hex file (in intel-hex format) and I need to compare them. the output must be the addresses where data differs. Do you know if such a thing already exists? Thanks

    D 1 Reply Last reply
    0
    • L lune12

      Hi All, Is there a dll that deal with Intel-Hex ( http://en.wikipedia.org/wiki/Intel_HEX[^] ) file format? I have 2 hex file (in intel-hex format) and I need to compare them. the output must be the addresses where data differs. Do you know if such a thing already exists? Thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Not that I know of. From your description, why would you process the file wide respect to byte order? If you're giving an offset into the file where there is a difference the byte order of the data in the file wouldn't make any difference at all.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      L L 2 Replies Last reply
      0
      • D Dave Kreskowiak

        Not that I know of. From your description, why would you process the file wide respect to byte order? If you're giving an offset into the file where there is a difference the byte order of the data in the file wouldn't make any difference at all.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        L Offline
        L Offline
        lune12
        wrote on last edited by
        #3

        Thanks. I don't really undestand your answer. I don't have the offset, I need to find it. more than that, I need to compare address vs. address not the entire file. this is why I need to parse it.

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          Not that I know of. From your description, why would you process the file wide respect to byte order? If you're giving an offset into the file where there is a difference the byte order of the data in the file wouldn't make any difference at all.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          object code file formats such as Intel Hex and Motorola Hex have an address field and some data fields (often worth 16 or 32 bytes) on each of the lines; the data bytes are ordered within each line, the lines themselves can come, and do come, in any order. So one can not simply do a text compare. :)

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          D 1 Reply Last reply
          0
          • L Luc Pattyn

            object code file formats such as Intel Hex and Motorola Hex have an address field and some data fields (often worth 16 or 32 bytes) on each of the lines; the data bytes are ordered within each line, the lines themselves can come, and do come, in any order. So one can not simply do a text compare. :)

            Luc Pattyn [My Articles] Nil Volentibus Arduum

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Yeah, the way he described it, I took the "address where differs" as the offset into the file.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups