Hi!
I am working on cortex m3 and am using keil Uvision4. My project requirement is that it should produce a bin file for the application which, I was told, could be made independent of Base address with some keil option.
I did check whatever source I got, but couldn't find such concept. Can anyone clear my doubt about this?
Thanks!!
Use FromELF tool:
ARM FromELF, 4.1 [Build 791] [Evaluation] 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