EmbeddedRelated.com
Forums

Converting (.axf) file to Intel extended (.hex)

Started by foued May 29, 2011
Hello,

Please, i am trying to convert an executable generated from (keil and ADS 1.2) having the extension (.axf), i would like to convert it to intel extended format (.hex)to be able to download it via LPC2000 flash utility. Up until now, i tried with fromELF tool (ADS 1.2), but i didn't succeed,

all your suggests are welcome, thank you :)

An Engineer's Guide to the LPC2100 Series

Just go to the project options menu, then to the output tab and check create hex file

Alex

----- Original Message -----
From: foued
To: l...
Sent: Monday, May 30, 2011 2:47 AM
Subject: [lpc2000] Converting (.axf) file to Intel extended (.hex)

Hello,

Please, i am trying to convert an executable generated from (keil and ADS 1.2) having the extension (.axf), i would like to convert it to intel extended format (.hex)to be able to download it via LPC2000 flash utility. Up until now, i tried with fromELF tool (ADS 1.2), but i didn't succeed,

all your suggests are welcome, thank you :)
Sorry I forgot to say that I meant in Keil uvision, I assume you have the source code, this setting will generate the hex file.
If you are just trying to convert the .axf file I don't have a solution.

Alex

----- Original Message -----
From: Alexan_e
To: l...
Sent: Monday, May 30, 2011 2:53 AM
Subject: Re: [lpc2000] Converting (.axf) file to Intel extended (.hex)

Just go to the project options menu, then to the output tab and check create hex file

Alex

----- Original Message -----
From: foued
To: l...
Sent: Monday, May 30, 2011 2:47 AM
Subject: [lpc2000] Converting (.axf) file to Intel extended (.hex)

Hello,

Please, i am trying to convert an executable generated from (keil and ADS 1.2) having the extension (.axf), i would like to convert it to intel extended format (.hex)to be able to download it via LPC2000 flash utility. Up until now, i tried with fromELF tool (ADS 1.2), but i didn't succeed,

all your suggests are welcome, thank you :)
Use the follow command: \fromelf.exe --output file.hex --i32 file.axf

Where:
is "C:\Keil\ARM\BIN30", for example.

With this command it isn't necessary to recompile the project.

Best regards,
Rafael Noronha.

--- In l..., "Alexan_e" wrote:
>
> Sorry I forgot to say that I meant in Keil uvision, I assume you have the source code, this setting will generate the hex file.
> If you are just trying to convert the .axf file I don't have a solution.
>
> Alex
>
> ----- Original Message -----
> From: Alexan_e
> To: l...
> Sent: Monday, May 30, 2011 2:53 AM
> Subject: Re: [lpc2000] Converting (.axf) file to Intel extended (.hex)
>
>
> Just go to the project options menu, then to the output tab and check create hex file
>
> Alex
>
> ----- Original Message -----
> From: foued
> To: l...
> Sent: Monday, May 30, 2011 2:47 AM
> Subject: [lpc2000] Converting (.axf) file to Intel extended (.hex)
>
> Hello,
>
> Please, i am trying to convert an executable generated from (keil and ADS 1.2) having the extension (.axf), i would like to convert it to intel extended format (.hex)to be able to download it via LPC2000 flash utility. Up until now, i tried with fromELF tool (ADS 1.2), but i didn't succeed,
>
> all your suggests are welcome, thank you :)
>

Unfortunately, this option is desactivated, because i am obliged to use ARM tools (from ADS 1.2). This option is activated when i switch to keil arm tools. But , as i have said, the demo i am trying to build is developed with ADS tools, so i don't have the choice.

The demo i am talking about is LPC 2000 CAN driver Demo provided in NXP website

hello Alex,
yes i have the source code, and i have generated the executable (.axf) file