RTL00_WEB_VS/RTLGDB/USDK/flasher/add_sample_bat/STLink-RdFullFlash.bat
ADElectronics 764b020238 update
2017-11-28 22:31:40 +03:00

7 lines
299 B
Batchfile

@echo off
call paths.bat
cd flasher
openocd -f interface/stlink-v2.cfg -c "adapter_khz 1000" -f rtl8710.ocd -f cortex.ocd -c "init" -c "reset halt" -c "rtl8710_flash_read_id" -c "adapter_khz 5000" -c "rtl8710_flash_read ../fullflash.bin 0 1048576" -c "shutdown"
echo flash read fullflash.bin
pause