Srecord unpacking

Hi,

S-Record requires 3 MB to upack it. But, what does this mean ? Normally, unpacking size requirements depend on the size of data present in compressed format.

Need some clarifications.

Thx in advans, Karthik Balaguru

Reply to
karthikbg
Loading thread data ...

Your question is a bit unclear. So you have an S-record file of a certain size (what size?) and when you 'unpack' it, you get a file of 3MB? What do you mean by unpacking, converting to binary?

S-record is not a compressed format, it's an ascii encoded format that usually results in a bigger file than the binary version. But the S-record file contains adresses for the data in it, so it is possible to create gaps in the data. During conversion to binary, these gaps may be filled in with data (usually 00 or FF) as a pure binary format has no means to create gaps in the data. In cases like this, the binary result may be (much) larger than the S-record version.

For better understanding, look up a Motorola S discription and open up your S-record file in a text editor. I't not hard to see what is going on.

--
Stef    (remove caps, dashes and .invalid from e-mail address to reply by mail)
Reply to
Stef

Thx for your explanation / directions . It gave me enough clarifications.

Regards, Karthik Balaguru

Reply to
karthikbg

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.