From c675bd839f0f6c7466425a835ed5525623657534 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 21 Mar 2011 08:27:30 +0800 Subject: added gdb memory access commands --- Host/gdb-commands.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Host/gdb-commands.txt') 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 -- cgit v1.2.3