XUF208 Programming Error
Posted: Sat Oct 20, 2018 5:30 pm
Help friend, I need your help urgently!
My .bat file which was used many times for XS1 devices, and also for XUF208, suddenly stops to work.
xTime Composer 14.2
%1 - is the command string parameter with the project name.
The 1st step, writing the flash (with xflash) is OK, but at both lines with xburn a got an error:
update.xml: error: no '<" before the end of file
What is wrong?!
This happens on 2 different boards, tried to change CPU at one board - got the same.
Of course, devices are not working, because OPT with the key is not burned.
My .bat file which was used many times for XS1 devices, and also for XUF208, suddenly stops to work.
xTime Composer 14.2
Code: Select all
REM Program and Secure
@echo off
call "C:\Program Files\XMOS\xTIMEcomposer\Community_14.2.4\SetEnv.bat"
rem @echo on
REM BURN THE IMAGE:
echo _
echo Project = %1
echo _
REM BURNING:
xflash --target-file %1.xn --write-all %1.bin
echo _
if %errorlevel%==0 (
echo OK OK OK
echo _
REM SECURITY:
xburn --target-file %1.xn --lock %1.key --enable-jtag --disable-master-lock <<<<<<<<<<<<<<<<<<<<<<< HERE ERROR
echo _
REM FINAL SECURITY:
xburn --target-file %1.xn --disable-jtag --enable-master-lock <<<<<<<<<<<<<<<<<<<<<<< HERE ERROR
pause
exit
) else (
echo _
echo ------- FAIL with %errorlevel% -------
echo _
pause
exit
)
The 1st step, writing the flash (with xflash) is OK, but at both lines with xburn a got an error:
update.xml: error: no '<" before the end of file
What is wrong?!
This happens on 2 different boards, tried to change CPU at one board - got the same.
Of course, devices are not working, because OPT with the key is not burned.