Position: Index > Unclassified >

Understanding and conversion different firmware file formats

2017-12-23 04:34  
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.

Without getting to deep int discussions why there are several firmware formats and extensions used. But fact is that you can face firmware files with extensions like BIN, HEX ir E2P. Lets see how these files look like and how to convert between them.

First of all it is important to mention that all firmware files can be one of two types:

Text a€“ files contain ASCII symbols (codes from 32h to FFh);

Binary a€“ files contain all ASCII symbols including non printable symbols (00h to FFh).

First advice a€“ never rely on file extension as it can be any. All is inside file. So how to define whats inside file and what format? One easy way is to open file with notepad and see how contents look inside.

Text firmware files

HEX fileswere described earlier (Hex File Format). I can just remind that it is most universal firmware file format that most programming software understand. Each line begins with colon, then goes address:



TXT filesespecially loved in Korea for saving dump files. This is almost HEX file but without address pointers. Simply data in hex format without any controlled sums and so on:



Binary firmware files

BIN filesare universal file format not only for firmware but for any data. Almost all Programmer software understand BIN format. Bin file contain exact information what is stored in memory, so File size is equal to occupied memory in hardware. No additional information:



E2P fileformat is BIN file format tuned by Pony. File is the same as BIN but it has a 152 bait header where you can find E2P!Lanc signature.



Converting between file types

Converting between file types isn’t difficult task. One of easiest is to use same PonyProg and Save As menu:


This way you can convert between mentioned file types and many more except txt. For this you can use this program <BIN to TXT Converter>.

S19 formata€“ text format developed by Motorola. It is similar to HEX just all lines start with S symbol. And converter to BIN <S19 to BIN to S19 converter>.

Dont afraid to search over internet a€“ you can find a bunch of stand alone file-type converters.


Reprinted Url Of This Article: