@echo off cd %~dp0 copy ..\..\script.ver . copy ..\..\tone.cfg . copy ..\..\p11_code.bin . copy ..\..\br28loader.bin . copy ..\..\ota.bin . copy ..\..\anc_coeff.bin . copy ..\..\anc_gains.bin . ..\..\isd_download.exe ..\..\isd_config.ini -tonorflash -dev br28 -boot 0x120000 -div8 -wait 300 -uboot ..\..\uboot.boot -app ..\..\app.bin -res ..\..\cfg_tool.bin tone.cfg p11_code.bin -uboot_compress :: -format all -key RS-5B88.key ::-reboot 2500 @rem delete temp files if exist *.mp3 del *.mp3 if exist *.PIX del *.PIX if exist *.TAB del *.TAB if exist *.res del *.res if exist *.sty del *.sty ..\..\ufw_maker.exe -fw_to_ufw jl_isd.fw copy jl_isd.ufw update.ufw del jl_isd.ufw @rem generate config ufw (disabled) ::ufw_maker.exe -chip AC800X %ADD_KEY% -output config.ufw -res bt_cfg.cfg ::IF EXIST jl_696x.bin del jl_696x.bin if exist script.ver del script.ver if exist tone.cfg del tone.cfg if exist p11_code.bin del p11_code.bin if exist br28loader.bin del br28loader.bin if exist anc_coeff.bin del anc_coeff.bin if exist anc_gains.bin del anc_gains.bin @rem common isd_download flags @rem -format vm @rem -format cfg @rem -format 0x3f0-2 ping /n 2 127.1>null IF EXIST null del null