Hello, I am trying to get the error messages and exit code with the next batch file but do nothing. what's wrong?
echo off
dslite.bat -c user_files/configs/f280049c.ccxml -l user_files/settings/generated.ufsettings -v user_files/images/ML_DPC_CI_W6.hex
if ERRORLEVEL 1 goto errorOccurred
echo TMS320F28049C Successfully Verified!
goto done
:errorOccurred
echo Programming TMS320F28049C FAILED!
exit -1
pause
:done
exit 0
pause