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 .//firmware//boot.xfsb 0x00000000" -c "flash write_bank 0 .//firmware//module1.xfsb 0x00010000" -c "flash write_bank 1 .//firmware//module2.xfsb 0x00030000" -c "reset" -c shutdown
pause


