aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebug/gdbserver.py1
-rw-r--r--debug/targets/m2gl_m2s/openocd.cfg2
2 files changed, 2 insertions, 1 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index 4e2b0b4..027d387 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -400,6 +400,7 @@ class MprvTest(DeleteServer):
def test_mprv(self):
"""Test that the debugger can access memory when MPRV is set."""
self.gdb.c(wait=False)
+ time.sleep(0.5)
self.gdb.interrupt()
output = self.gdb.command("p/x *(int*)(((char*)&data)-0x80000000)")
self.assertIn("0xbead", output)
diff --git a/debug/targets/m2gl_m2s/openocd.cfg b/debug/targets/m2gl_m2s/openocd.cfg
index 2d8bfe8..3884a3e 100644
--- a/debug/targets/m2gl_m2s/openocd.cfg
+++ b/debug/targets/m2gl_m2s/openocd.cfg
@@ -1,4 +1,4 @@
-adapter_khz 1000
+adapter_khz 10000
source [find interface/ftdi/olimex-arm-usb-tiny-h.cfg]