Hello,
IS there anyboby knows how to automatically convert the .hex file outputted by keil to .bin file for flashing..
I tried to use the hex2bin software utility, but the output is too large around 128MB. and the ST-link would stuck up every time i load the bin file into it. I tried to use the options but none to avail. Please help.
Thank you,
j
A bin file doesn't have any holes in it.
So if you configure your hex file to contain data at two separate memory regions with 12MB gap between, you will get a huge bin file.
If having separate memory regions in the chip, then you must create multiple bin files to avoid the problem with the gap between the regions.
Can't ST-Link accept .hex files?
Note that, as the name suggests, ST-Link is an ST product - nothing to do with Keil. Have you tried asking ST what their recommendation is for working with .hex files...?
Hi, did you had a look to this: http://www.keil.com/support/man/docs/armutil/armutil_BABBDADD.htm
I used this to convert an AXF file to bin successfully.