2022-06-05 11:32 PM
Hi STM8 Team,
I can see STVD generates .s19 , .sm8 files. I want to generate .bin file.
I had tried it by adding the following line in Post-Build section:
chex -o $(OutputPath)$(TargetSName).bin
But this did not work. Could you please guide me on how to generate .bin in STVD?
Thanks,
Hrithik
Solved! Go to Solution.
2022-06-09 11:39 PM
Hello,
You are right. Within chex converter description there is no binary files, only hex and s19. This last one is default output file format.
In fact chex is a tool provided by Cosmic toolchain.
I do not see any built in hex2bin converter within STVD neither.
2022-06-09 06:01 AM
Hello,
There is no indication to the input file (.sm8) which needs to be converted into .bin.
Could you please try instead:
chex -o $(OutputPath)$(TargetSName).bin $(OutputPath)$(TargetSName).sm8
2022-06-09 10:21 PM
Hi @Artur IWANICKI ,
Thanks for the response.
I tried your suggestion and .bin file is getting created, but the content of .bin file is exactly similar to .s19.
Does STVD support .bin format?
Thanks.
2022-06-09 11:39 PM
Hello,
You are right. Within chex converter description there is no binary files, only hex and s19. This last one is default output file format.
In fact chex is a tool provided by Cosmic toolchain.
I do not see any built in hex2bin converter within STVD neither.
2022-07-06 11:34 PM
Thanks for the response.
Will check another way to do this.