Skip to content

Commit

Permalink
OpenOCD: Use soft instead of hard reset
Browse files Browse the repository at this point in the history
LPC17xx likes to lock up on nSRST reset, requiring a power cycle which is inconvenient for development
  • Loading branch information
mrehkopf committed Aug 19, 2023
1 parent c51a81f commit ef091a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/flash.script
@@ -1,3 +1,5 @@
program $_FW_FILE reset exit $_FW_START
program $_FW_FILE $_FW_START
soft_reset_halt
resume
shutdown

0 comments on commit ef091a9

Please sign in to comment.