Hi Guys
I am tagging this question on here since the topic is (generally) related.
Specifically to CW10.1 - this can be configured to generate S19 output (by selecting the "Generate S-Record File" in the ARM linker output setting). However, unlike CW7 there doesn't seem to be the option to generate a binary output.
[As comparison, CW7 generates a Motorola format binary file - which is divided into blocks with an address and block length count for each block it generates (CW6 generated pure binary files)].
In some circumstances a 'pure' binary output file is needed for programming (eg. a tool that accepts only a binary image) and, for this reason, I have created a tool to convert from Motorola binary to pure binary (for info and not that relevant here).
When working with CW10.1 no binary is presently available and am wondering what would be the best way to generate it? Possibly there is a tool built in that will do this (how to activate it and will it generate Motorola binary or pure binary?).
Otherwise a fall-back would be to use a post build step to call a bat file to use GCC objcopy.exe to convert the S19 to a binary. Although this will work (has been used in emergency with other tool chains before) it always seems strange to have to install the GCC tool chain to do such clean-up work for a different IDE. What would be best?
Regards
Mark