Skip to main content
hajermarnissi
Associate II
March 15, 2011
Question

Hex Editor

  • March 15, 2011
  • 5 replies
  • 1825 views
Posted on March 15, 2011 at 10:12

Hex Editor

#!winning-rtfm
    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    These posts do seem to have a ''random stream of conscience'' feel to them like a twitter feed.

    Presumably you are looking to output a .C/.H file form of data, in the converter I'm thinking of you'd use ''File Save As'' and pick the C format output. Hopefully you picked the same one.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    Don't you think it would be necessary to state which particular ''hex editor'' you downloaded for people to be able to offer you any advice on how to use it?

    And what, exactly, do you mean by ''converting'' a .bmp file ''to hexadecimal''?

    How do you intend to use it once you've ''converted'' it?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    ''I

     

    do not know

     

    how to

     

    convert

     

    hex

     

    to

     

    view

     

    the file

    .

     

    c''

     

    Have you studied the documentation for the graphics library that you are using?

    Does it not give you any instructions on how to do this?
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    hajermarnissi
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    Hello

    I

     

    have to

     

    display an icon

     

    in

     

    lcd

    ,

     

    here is

     

    the

     

    instruction

    Tracking

     

    NewIcon

     

    =

     

    (

    ''

    Tracking

    ''

    ,

     

    (

    u32

    )

     

    GPS_image

    ,

     

    64

    , 64

    ,

     

    FuncTrack

    )

    ;

    GPS_image

     

    is

     

    declare

     

    an image

     

    to a file

    .

     

    c

     

    as

     

    const

    ,

    I have

     

    a

     

    picture

    .

     

    bmp and

     

    I

     

    do not know

     

    how to

     

    convert

     

    hex

     

    to

     

    view

     

    the file

    .

     

    c

    Thank you

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    Personally I use a program called dump0x, if you know anything about C you could write such an application in ~5 minutes.

    A quick Google of the topic/idea pulled an on-point description.

    CREATING C FILES FROM BINARY OR HEX DATA http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka10382.html

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka10382.html

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..