Hex Editor for EEPROM


Closed Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31

    Question Hex Editor for EEPROM

    Hello!

    I am looking for a recommendation for a Hex Editor that I can use with my 24LC16B eeprom.

    I have made a display project, where the PIC16F628 reads some values off sensors, makes the calculations and then reads some display data off the eeprom and then send it to a LCD and 6x Max7219 LED Displays...

    To edit the ASCII contents of the EEPROM, I use UPA2.3 Lite version.I have tried others that I have found via google, but not really happy with any of them, some won't even display the ASCII equivalent.

    UPA2.3 - It's OK, but not efficient. It can be a little tedious...Can anyone recommend or make any suggestions on how I can edit the ASCII data on the EEPROM efficiently?
    I don't mind if it is dos or windows based.

    Many thanks

    AP
    "Never under estimate the powers of an idiot"

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    tiny hexer
    Curious how you edit an eeprom chip with a PC hex edit program?

    Norm

  3. #3
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31


    Did you find this post helpful? Yes | No

    Default Not quite sure if it is right way to do it

    Quote Originally Posted by Normnet View Post
    Curious how you edit an eeprom chip with a PC hex edit program?
    Hello Norm,

    Thnx for the link. So that I can better explain what I am doing, I've attached 2 screen shots, first is from IC-Prog and then from UPA2.3

    I open the hex file, then where the highlighted pink area is, I make additions or amendments and then save and write onto the EEPROM chip.

    But using these programs / method it is quite tedious if you want fill up the entire EEPROM - - especially a 24LC256...

    There must be an easier way. When I open the same hex file in your suggested program, it doesn't interpret the data correctly and shows 'garbage' that I can't understand...:-)

    I might have the wrong view enabled...dunno.

    A while ago I had a program that worked in a DOS window, I could very easily move around and change things. I don't remember the name or where I saved it on my HD...

    Maybe I am doing it the wrong way?
    Attached Images Attached Images   
    "Never under estimate the powers of an idiot"

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    Looks like you need PSPAD.

    Goto http://www.pspad.com It is a programmers text editor with hex editor built in. Highly recommended for daily use. Also has a diff tool built into it.


    Jerson

  6. #6
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31


    Did you find this post helpful? Yes | No

    Default Still Doesn't Open the way it should

    Hello Darrel & Jerson,

    Thx for the links.

    Darrel - I've tried the program - yes, you can navigate quite easily, but it still doesn't display the data the way I want it to. I've attached a small screenshot clip to show you what I mean.
    Jerson's suggestion looks even fancier, but still doesn't interpret the data.

    That is exactly the same file the IC-Prog and UPA2.3 can open with the Characters equivalents showing on the side.

    I open the same file in XVi32 and my screenshot shows how it is displayed.

    My aim is to fill up the EEPROM on the PC, then put it in circuit and disable the write feature by connecting the WP pin to the Vcc. The pic chip will never need to write to it.

    I can use IC-PROG and the other to fill it up, but it doesn't navigate real well.

    i must be doing it the wrong way - or i may have the wrong settings within the editor. I've tried all kinds of option in the menus for displaying the data, but I have had no luck in correctly displaying it.

    Many thanks

    AP
    Attached Images Attached Images  
    "Never under estimate the powers of an idiot"

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I guess I don't understand.

    That's the way I'd expect to see a HEX editor.

    How are you expecting it to be displayed?

    -
    DT

  8. #8
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    I guess I don't understand.

    That's the way I'd expect to see a HEX editor.
    No...No...it's probably me doing things in a non-conventional way. :-)

    I sometimes hold my soldering iron back to front. :-))))

    For example: Have a look at my earlier post with screen shot A or B

    I highlighted the characters saved on the EEPROM in the Pink section.
    See how they are 'human' readable.
    Yet, that same file in XVi32 displays like my screen shot C. And the right column has a bunch of numbers that is not 'human' readable.

    Sorry it might be my bad explanation, or I am doing it the wrong way.

    Thnx

    AP
    "Never under estimate the powers of an idiot"

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by exelanoz View Post
    No...No...it's probably me doing things in a non-conventional way. :-)

    I sometimes hold my soldering iron back to front. :-))))

    For example: Have a look at my earlier post with screen shot A or B

    I highlighted the characters saved on the EEPROM in the Pink section.
    See how they are 'human' readable.
    Yet, that same file in XVi32 displays like my screen shot C. And the right column has a bunch of numbers that is not 'human' readable.

    Sorry it might be my bad explanation, or I am doing it the wrong way.

    Thnx

    AP
    Looks top me like the first 2 screenshots are reading an Intel HEX file and doing the format conversion for you, whereas shot C is reading the raw Intel HEX file format and displaying that instead...key words here...Intel HEX file FORMAT...

  10. #10
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31


    Did you find this post helpful? Yes | No

    Default Thanks

    Hello Skimask,

    Thanks for info....
    I've searched on google using 'intel hex editor', I have DL a few freeware & shareware, but none "convert" it to what I call human readable character format.

    I don't mind paying for it, if it works well, but so far some had crashed...(e.g Taruns Editor) and then I tried 010 Editor, but that doesn't display it the way I need it.

    In the meantime - - if I don't come across anything, I might have to persist with what I am currently using.

    Many thanks

    AP
    "Never under estimate the powers of an idiot"

  11. #11
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default

    I think you need a plain text editor. If needed, you would like to see the ascii code of a character? Right? If this is what you need, seriously look at pspad. It has both plain text editing and hex code for the character that the cursor is over. If not happy and you want screen shot C, you can switch to the hex editor mode.

    Hope I understood you properly

    Jerson

  12. #12
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by exelanoz View Post
    Hello Skimask,

    Thanks for info....
    I've searched on google using 'intel hex editor', I have DL a few freeware & shareware, but none "convert" it to what I call human readable character format.

    I don't mind paying for it, if it works well, but so far some had crashed...(e.g Taruns Editor) and then I tried 010 Editor, but that doesn't display it the way I need it.

    In the meantime - - if I don't come across anything, I might have to persist with what I am currently using.

    Many thanks

    AP
    Seems to me that most of those programs should be able to 'load' as an Intel HEX formatted file, and 'save' to a straight binary file...
    Any options in those programs for that?

  13. #13
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I think the problem here is that Intel HEX files have CheckSum's on every line.

    If you edit a single character anywhere in the file, the file will no longer be valid. So not only does the editor have to format things so you can read them, but it also has to recalculate checksums after each change.

    Not likely to find a Freeware for that.

    It would probably just be easier to create the file using MPLAB.

    A series of db statements should make it pretty easy to edit. But if you're just editing existing files, then that won't work too well either.
    <br>
    DT

Similar Threads

  1. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 20:31
  2. Configuration bits in a HEX file gone missing?
    By grzes.r in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2010, 01:10
  3. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  4. Reading from External Hex Address...
    By sbouda in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th October 2008, 06:33
  5. INH8XM HEX file structure
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 30th December 2006, 22:46

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts