cancel
Showing results for 
Search instead for 
Did you mean: 

stm32t407vgt6 hex file loading problem

kemal
Associate II
Posted on October 29, 2015 at 17:21

I tried two hex file

Loading is missing

my project    50kb    loaded 17kb

my project   126 kB loaded 49 kB

What is the problem

Thank you

http://s11.postimg.org/u17wfp5yb/image.png

5 REPLIES 5
Posted on October 29, 2015 at 17:30

I guess you need to review and understand the .HEX format better. The internet has many resources if you want to check.

https://en.wikipedia.org/wiki/Intel_HEX

Basically, the .HEX representation of binary data is likely to 2-3x bigger. ie one byte of data now takes at least 2 ASCII characters, plus some ancillary address, checksumming and line formatting.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
kemal
Associate II
Posted on October 29, 2015 at 18:04

I'm

learning:)

Thank you

very much

kemal
Associate II
Posted on October 30, 2015 at 07:25

Next

I read the

wiki

, but

I'm not quite

my project    50kb    loaded 17kb

my project   126 kB loaded 49 kB

Is it normal

that

form

an incomplete installation

?

Why

not

install

them all

?

what should I do?

Posted on October 30, 2015 at 12:59

Ok, but the .HEX is a Verbose ASCII representation of something intrinsically more compact.

You could review the .MAP file output by the Linker, as this likely indicates how big the code generated actually is. If you look at the size of a .AXF or .ELF you'll observe those are even bigger.

You could stop worrying about the size of the .HEX file reported by the file system.

It's like taking your car on to some scales to weigh the occupants, it's going to be a lot heavier than if you individually stood on a bathroom scale and added those numbers together.

50/17 = 2.94

126/49 = 2.57

Like I said, the .HEX is going to be in the order of 2-3x BIGGER than the binary data it represents. The application is telling you have much CONTENT is in the file, not the SIZE of the file.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
kemal
Associate II
Posted on October 31, 2015 at 11:33

now

it was

descriptive.

thanks