
@echo off






copy /Y xunhu\MT6580\clean.bat >nul 2>nul
call clean.bat >nul 2>nul

sed.exe -i 's#ScanComportType=.*#ScanComportType=1#g' SPMultiPortFlashDownloadProject.ini
sed.exe -i 's#Auth file=.*#Auth file=xunhu\\\MT6580\\\xunhu.auth#g' SPMultiPortFlashDownloadProject.ini
sed.exe -i 's#DA_bin=.*#DA_bin=xunhu\\\MT6580\\\DA_SWSEC.bin#g' SPMultiPortFlashDownloadProject.ini
start SPMultiPortFlashDownloadProject.data

goto end
