Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 Next > End >>

wildpossum

Junior Boarder
Click here to see the profile of this user

2006/11/13 03:30

Converting AXF to BIN

Hi All.

The Keil IDE makes project-debug-executable.file from numerous sample(s).o to a sample.axf file. (I hope I am correct in assuming that this is the final linked output file) so;

I need to convert this sample.axf file to a sample.bin so as to use it with the lmiflash utility. However, not being a windoze user (Linux >= 8 years) I need some assitance on what util is required under Keil || XP to do so.

Any assistance appreciated.
Thanks.

login or register to reply

hilarycheng

Fresh Boarder
Click here to see the profile of this user

2006/11/13 03:39

Re:Converting AXF to BIN

hi wildpossum,

If you are linux users, why not use the GCC to compile the demo code ? you can find it from google. Since some people has been already port it to Linux and Using GCC to compile the FreeRTOS.

Regards,

Hilary

login or register to reply

mckenney

Fresh Boarder
Click here to see the profile of this user

2006/11/13 08:43

Re:Converting AXF to BIN

I think you're looking for the checkbox:

Project->Options->Output->Create HEX file

(You may need to first select the "root" target up at
the top of the Project Workspace panel.)

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2006/11/13 09:43

Re:Converting AXF to BIN

Actually, the file needs to be *.bin for the tool to "accept" it. You can use the fromelf utility to convert the file to binary. Here is what to do:

In project options, go to the Output tab and check "Run User Program #1" in the after make section. Then add this string:

C:/Keil/ARM/BIN30/fromelf.exe --output obj/sample.bin --bin obj/sample.axf

You may need to change the path to fromelf depending on where you installed the tools.

Eric

Post edited by: LMI Eric, at: 2006/11/13 09:43

login or register to reply

wildpossum

Junior Boarder
Click here to see the profile of this user

2006/11/13 20:59

Re:Converting AXF to BIN

Thanks Eric. All working well.

login or register to reply

Dervovic

Fresh Boarder
Click here to see the profile of this user

2008/07/10 10:53

Re:Converting AXF to BIN

Hi Eric,

I followed your instruction but my binary is still not getting updated, all other files are.

login or register to reply
<< Start < Prev 1 2 Next > End >>