Hi Is there any kind of tools like ielfdumparm.exe in iar that convert the contents of the binary ELF file in a human-readable text in keil. Thanks
FROMELF?
ARM FromELF, 4.1 [Build 894] ARM image conversion utility fromelf [options] input_file Options: --help display this help screen --vsn display version information --output file the output file. (defaults to stdout for -text format) --nodebug do not put debug areas in the output image --nolinkview do not put sections in the output image Binary Output Formats: --bin Plain Binary --m32 Motorola 32 bit Hex --i32 Intel 32 bit Hex --vhx Byte Oriented Hex format --base addr Optionally set base address for m32,i32 Output Formats Requiring Debug Information --fieldoffsets Assembly Language Description of Structures/Classes --expandarrays Arrays inside and outside structures are expanded Other Output Formats: --elf ELF --text Text Information Flags for Text Information -v verbose -a print data addresses (For images built with debug) -c disassemble code -d print contents of data section -e print exception tables -g print debug tables -r print relocation information -s print symbol table -t print string table -y print dynamic segment contents -z print code and data size information Software supplied by: ARM Limited
It's using ELF so any standard tools will work, including things like objdump, elfarm, armdasm.
Thanks Pier I haven't checked other output of FROMELF
How about objdump or objcopy (part of the GNU Binutils):
sourceware.org/.../objdump.html
sourceware.org/.../objcopy.html
en.wikipedia.org/.../GNU_Binutils
objdump
o b j d u m p
objcopy
I tried to suggest GNU binutils
but the forum kept rejecting the posts with HTTP 500 or whatever.
I thought it was that forum "feature" of censoring certain words, as the posts did not appear - but now they all seem to have popped out!!
I mentioned objdump, but fromelf will probably do a better job processing Keil specific objects with debug, flags and relocation information.
In the context of the question I'm not sure what "human readable" means, if it's the structures within the object, or the disassembly. The former being quite useful if you want to understand why objects from different tools aren't binding.
"but the forum kept rejecting the posts with HTTP 500 or whatever.
I thought it was that forum "feature" of censoring certain words, as the posts did not appear - but now they all seem to have popped out!!"
Lots of freshly broken threads - some day Keil might get a new hard drive with enough space. Or fix the software error or whatever it is that makes this web site regularly break down.
The goodwill loss for the people who got their threads broken can be significant.