473,396 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to convert intel hex file to binary code?

4
I would like to ask how to convert intel hex file to binary?
any suggestion?
Mar 8 '10 #1
1 7414
Plater
7,872 Expert 4TB
The intel hex file probably looks something like this:
Expand|Select|Wrap|Line Numbers
  1. :04000000D9EF21F023
  2. :08000800046ED8CF05F0E0CF33
  3. :1000100006F00001E9CF0CF0EACF07F0E1CF08F0DD
  4. :10002000E2CF09F0D9CF0AF0DACF0BF0F3CF12F01C
  5. ...
  6. ...
  7.  
You can look up the format of the intel hex file(http://en.wikipedia.org/wiki/Intel_HEX) and figure out what (if anything) you have to do to make a plain sequencial binary file.

Not sure why you would want to though, wouldn't do you any good I wouldn't think.
The bulk of the hex file is just dictating what areas of memory have what values on a block device. You would need an emulator of some sort to run it.
Mar 11 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jean-Baptiste PERIN | last post by:
I read 4 bytes from a binary file. These bytes represent a floating point number (mantisse exponent form) How can I get a float from these bytes ?
8
by: Ravi | last post by:
Hi, Is there any way to capture the boot record information on the disk? For example, assume that I have 3 different operating systems installed on a hard drive. I want to be able to run a...
2
by: Joey Lee | last post by:
Hi, Does anyone know how I am able to write a utf-8 encoded binary string into binary file? Currently I am given a UTF-8 string which was read from a gif image. Here are my functions... ...
4
by: Julia | last post by:
Hi, I need to convert unicode string to ansi string Thanks in adavance.
27
by: fdu.xiaojf | last post by:
Hi, String formatting can be used to converting an integer to its octal or hexadecimal form: '307' 'c7' But, can string formatting be used to convert an integer to its binary form ?
7
by: elliotng.ee | last post by:
I have a text file that contains a header 32-bit binary. For example, the text file could be: %%This is the input text %%test.txt Date: Tue Dec 26 14:03:35 2006...
29
by: Harlin Seritt | last post by:
Hi... I would like to take a string like 'supercalifragilisticexpialidocius' and write it to a file in binary forms -- this way a user cannot read the string in case they were try to open in...
0
by: Ian A. York | last post by:
I've been packaging a set of scripts using py2app, and until now the app that results has run without issues on MacOS10.4, either intel or ppc. The latest version made by py2app, however, only...
4
by: Mason | last post by:
I have tried and tried... I'd like to read in a binary file, convert it's 4 byte values into floats, and then save as a .txt file. This works from the command line (import struct); In : f =...
22
by: xiao | last post by:
Can I fullfill this task? Using fred and fwrite?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.