Hi I have a C161U hex file I want to convert it to binary make some changes to the firmware then convert it back to hex and upload back to my device.
What tools can I buy from Keil or can someone help me out here?
Full part number for the microcontroller is SAF-C161U-LF V1.3
Thanks
I can convert the file successfully with srecord but I cannot convert it back to hex. Here's a test I did. I took the original hex file and converted it to Binary with srecord I made no changes to the Binary file and I used srecord to convert it back to hex and it gave me a smaller hex file. The original file size was 42kb and when srecord converts it back I get a 36kb file.
Ok, but does it describe the same content? .HEX files aren't known for being contrite. The format allows the linker to output records in a way that is easy for it to do, which might be non-linear, and inefficient space wise.
Most firmware burning tools can take .BIN or .HEX