open-ameba/sdk/flasher/add_sample_bat/DAPLink-RTL00Console.bat

8 lines
231 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
2017-01-31 12:50:34 +00:00
openocd -f interface/cmsis-dap.cfg -c "adapter_khz 1000" -f rtl8710.ocd -f cortex.ocd -c "init" -c "reset halt" -c "load_ram_binary RTL00Console_ROM.bin 0x10000BA8" -c "exit"
2017-01-31 03:46:49 +00:00
rem -c "shutdown"