begin:
cls
/////////////////////////////////////////////
//    E411
/////////////////////////////////////////////
echo 1. Backup flash
echo 2. Restore flash
echo 3. Exit
option 1 backup 2 restore 3 end
backup:
reset 1
init
if DEBUG == 0
echo The E411 does not respond the reset properly. Check your BDM connection
goto continue
endif
echo backup flash
getram code
save code
goto continue
restore:
reset 1
init
if DEBUG == 0
echo The E411 does not respond the reset properly. Check your BDM connection
goto continue
endif
echo restore flash
flshdct code
flashchk 0
if FLASHSET == 0
echo flash not defined
goto continue
endif
program code
cmpram code
continue:
pause
goto begin
end:
