版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011958166/article/details/88974413
环境:
srecord-1.63-win32
windows
mot2bin转换脚本:
@echo off
rem 源文件
SET SRC=XXX
rem 需要生成的文件
SET APP=XXX
srec_cat.exe -Disable_Sequence_Warnings %SRC%.mot -Motorola -fill 0xFF -over %SRC%.mot -Output %SRC%.bin -Binary
srec_cat.exe %SRC%.bin -Binary -crop 0x0000C000 0x00100000 -offset -0x0000C000 -Output %APP%.bin -Binary
echo trans success!
pause
下载链接:
https://download.csdn.net/download/u011958166/11082553