Hello, Keil uVision generates as output HEX file. Do you know how I can generate BIN file? Unfortunately hex2bin program doesn't work. Message error "Invalid record type in HEX record 1" does occured.
Best regards, Piotr Blaszczyk
Use the FromElf.exe instead of creating a HEX file and converting it to bin.
FromElf.exe --bin --output FileName.bin FileName.afx
You can also just edit the Hex file fixing the 1 or 2 lines that are not recognized.
The RealView compiler uses some new HEX record types that might be not known to the tool that you are using.
Take a look here: en.wikipedia.org/.../Intel_HEX
View all questions in Keil forum