Created
December 12, 2016 11:13
-
-
Save ddm/d099a4ecdc349186f98d04c2e7d61f01 to your computer and use it in GitHub Desktop.
NRF51 openocd SWD config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source programmer.cfg | |
transport select swd | |
set WORKAREASIZE 0 | |
set CHIPNAME nrf51822 | |
source [find target/nrf51.cfg] | |
reset_config srst_only srst_nogate | |
adapter_nsrst_delay 100 | |
adapter_nsrst_assert_width 100 | |
init | |
halt | |
nrf51 mass_erase | |
flash write_image firmware.hex | |
verify_image firmware.hex | |
shutdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment