OpenOCD_AtLink/start_test_firmware.bat

5 lines
376 B
Batchfile

openocd -s .//scripts -f .//artery_f435.cfg -c init -c "reset halt" -c "flash erase_sector 0 0 last" -c "reset halt" -c "flash erase_sector 1 0 last" -c "flash write_bank 0 .//test_firmware//boot.xfsb 0x00000000" -c "flash write_bank 0 .//test_firmware//module1.xfsb 0x00010000" -c "flash write_bank 1 .//test_firmware//module2.xfsb 0x00030000" -c "reset" -c shutdown
pause