Hello,
How to convert hex file to bin file.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Right click on the project->properties->Build->ARM Hex Utility, and check Enable ARM Hex Utility.
The .hex file will be in debug folder under your workspace.
After that use python module called IntelHex to convert it into .bin using the following code:
from intelhex import IntelHex ih = IntelHex("led1.hex") ih.tofile("led1.bin", format = 'bin')