aboutsummaryrefslogtreecommitdiff
path: root/Host
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-21 08:27:30 +0800
committerTat-Chee Wan (USM)2011-03-21 08:27:30 +0800
commitc675bd839f0f6c7466425a835ed5525623657534 (patch)
treea2b6ba522cfdaa8c5de48818cda39010cc081285 /Host
parentddba1024fea043b728c9798270fc70c37608592a (diff)
added gdb memory access commands
Diffstat (limited to 'Host')
-rw-r--r--Host/gdb-commands.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Host/gdb-commands.txt b/Host/gdb-commands.txt
index 37b84d5..03f72a1 100644
--- a/Host/gdb-commands.txt
+++ b/Host/gdb-commands.txt
@@ -17,3 +17,12 @@ $p!#91
# Set R1 to 0xAA
$P1=000000AA#60
+
+# Read 16 bytes of Memory from 0x00201d74 (padding bytes after debug_mode + 4 bytes of debug_InUSBBuf)
+$m00201D74,0010#FC
+
+# Write 2 bytes of memory to 0x00201d74 (padding bytes after debug_mode)
+$M00201D74,0002:AA55#03
+
+# Write 2 bytes of memory to 0x00201d74 (padding bytes after debug_mode)
+$M00201D74,0002:9966#F5 \ No newline at end of file