工具
工具为srecord
http://srecord.sourceforge.net/
使用
Hex转S19
.\srec_cat.exe 1.hex -intel -output app_.s19 -Motorola -address-length=3
S19转Hex
.\srec_cat.exe app.s19 -Motorola -output 2.hex -intel -line-length=44
参数可调,上面设置测试是和STM8的STVP导出来一致
参数作用请参考:http://srecord.sourceforge.net/man/man1/srec_examples.html