Other Parts Discussed in Thread: UNIFLASH
I use below AJ27_CC3200_Firmware_Programming_TI.bat to flash the CC3200. The .bat file exit after executing below command (it can flash the CC3200 successfully). Please tell me how to keep the .bat runing after executing below command.
uniflashCLI -config "%cd%\AJ27CC3200.usf" -setOptions com=%COM% secure=false alert=false capacity=1MB spPath="%cd%\AJ27_WiFi_servicepack_1.0.1.6-2.6.0.5.bin" -operations format servicePackUpdate program
AJ27_CC3200_Firmware_Programming_TI.bat
@echo off
:START
cls
set ServicePackCheckSumFile=ServicePack_cs.txt
set ServicePackFile=AJ27_WiFi_servicepack_1.0.1.6-2.6.0.5.bin
set FirmwareCheckSumFile=firmware_cs.txt
set FirmwareHexFile=AJ27_WiFi_V02.bin
set COM=14
@echo.
@echo Programmer For AJ27 CC3200
@echo.
echo ------------------------------------------
echo ServicePack%ServicePackFile%
echo Firmware %FirmwareHexFile%
echo ------------------------------------------
echo.
set Path=C:\TI\uniflash_3.4
@echo Start programming ...
uniflashCLI -config "%cd%\AJ27CC3200.usf" -setOptions com=%COM% secure=false alert=false capacity=1MB spPath="%cd%\AJ27_WiFi_servicepack_1.0.1.6-2.6.0.5.bin" -operations format servicePackUpdate program
if errorlevel 1 goto:FAILPROGRAM
echo ------------------------------------------
echo Programming Firmware SUCCESS !
echo ------------------------------------------
echo Press any key to start programming again, or Ctrl-C to cancel.
echo.
pause
goto START
:FAILPROGRAM
echo ------------------------------------------
echo Programming ERROR !
echo ------------------------------------------
echo [ERROR] Could not write flash
echo Press any key to start programming again, or Ctrl-C to cancel.
echo.
pause
goto START
@pause
@exit
:End