RTL00_WEB/USDK/flasher/add_sample_bat/DAPLink_WrFullFlash.bat
2018-04-20 10:53:32 +03:00

6 lines
313 B
Batchfile

@echo off
call paths.bat
cd USDK\flasher
openocd -f interface/cmsis-dap.cfg -c "adapter_khz 3500" -f rtl8710.ocd -f cortex.ocd -c "init" -c "reset halt" -c "rtl8710_flash_read_id" -c "rtl8710_flash_auto_erase 1" -c "rtl8710_flash_auto_verify 1" -c "rtl8710_flash_write ../../fullflash.bin 0" -c "shutdown"
pause