Skip to content

Instantly share code, notes, and snippets.

@jacobrosenthal
Created January 30, 2016 19:14
Show Gist options
  • Save jacobrosenthal/0bd777bf4be494027634 to your computer and use it in GitHub Desktop.
Save jacobrosenthal/0bd777bf4be494027634 to your computer and use it in GitHub Desktop.
Openocd nrf51822
openocd -f interface/jlink.cfg -c "adapter_khz 2000; transport select swd;set WORKAREASIZE 0;" -f target/nrf51.cfg -c "init; reset init; halt; nrf51 mass_erase; program blah.hex 0x0 verify; exit;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment