Skip to main content
sfouques9
Associate II
November 13, 2009
Question

Dummy question : .axf size greater than Flash size???

  • November 13, 2009
  • 2 replies
  • 1290 views
Posted on November 13, 2009 at 05:51

Dummy question : .axf size greater than Flash size???

This topic has been closed for replies.

2 replies

sfouques9
sfouques9Author
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:59

Hello all,

OK, for those who ask themselves the same question : you need to generate the .bin file from the .axf file with the fromelf.exe software provided by Keil (if using Keil) or any converter you may choose.

In Project : Option --> User --> Run User program After Build/rebuild, mark #1 with :

c:\keil\ARM\BIN31\fromelf.exe --bin -o FileName.bin FileName.axf

This .bin file is the one to use with the bootloader.

Regards

wulfriclee
Visitor II
February 8, 2019

That's really helped me a lot, Thanks!

Tesla DeLorean
Guru
February 8, 2019

Generally a great deal of symbol and debug information goes into the file so it can be quite expansive.

You can get an effective dump/disassembly via

FromELF -c -s -d foo.axf >foo.lst

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
sfouques9
sfouques9Author
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:59

Hello all,

Device = STR912

I don't understand how it works (JTAG programmation) : the flash size is 512K, and the file ''.axf'' size is 700k ??

As i'm working on a bootloader solution, I'd like to know if some informations of this file should not been downloaded in flash ??

thank you