open-ameba/RTL00_SDKV35a/flasher/add_sample_bat/DAPLink_WrFullFlash.bat

7 lines
302 B
Batchfile
Raw Normal View History

2017-01-31 03:46:49 +00:00
@echo off
2017-02-02 07:05:13 +00:00
call paths.bat
2017-01-31 03:46:49 +00:00
cd 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