From df6c85d9ffcf701f74d412441bfe5df79349b10f Mon Sep 17 00:00:00 2001 From: pober Date: Fri, 10 Apr 2026 11:58:16 +0200 Subject: [PATCH] Add new reset mechanism 2. --- src/openocd/flash.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/openocd/flash.sh b/src/openocd/flash.sh index dbe1149..64972dd 100644 --- a/src/openocd/flash.sh +++ b/src/openocd/flash.sh @@ -45,4 +45,11 @@ sudo openocd \ -c "nrf54l.dap apreg 2 0x000 0x0" \ -c "shutdown" +sudo openocd \ + -f ./raspberrypi-${INTERFACE}.cfg \ + -c "init" \ + -c "nrf54l.dap apreg 2 0x000 0x4" \ + -c "nrf54l.dap apreg 2 0x000 0x0" \ + -c "shutdown" + echo "Flashing complete." \ No newline at end of file