[SOLVED] how to generate .bin file from keil IDE

Status
Not open for further replies.

abhishekdixit

Full Member level 2
Joined
Dec 30, 2011
Messages
124
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
India
Activity points
2,182
hello everyone,
i am working on a LPC1343 cortexM3 microcontroller. i have a development board for testing my code. but their is a problem that i have a laptop and their is problem of serial port, my USB to RS232 convertor cable has broken down. so their is a another option for programing the controller is through USB bootloader. for programing through USB bootloader i need .bin file. but i dont know that how to generate ,bin file form keil compiler, so please anyone knows it so please help me.


Regards,
Abhishek Dixit
 

write fromelf --bin -o @L.bin !L in the "run user program after build" command.
This command generates the bin file from the elf file

 
hello jayanth.
i search on keil website topic hex2bin software, but i did not get anything.
can you please give me another link.

Regards,
Abhishek Dixit
 

Didn't the above method that used fromelf work ?
The elf file is normally created next to the hex file and is used to debug, unless you only have a hex with no source code and you want to convert it.

- - - Updated - - -

You can download the HEX2BIN from https://www.keil.com/download/docs/7.asp
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…