aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-18 12:04:03 +0800
committerTat-Chee Wan (USM)2011-03-18 12:04:03 +0800
commit8945b4e00b5122619e3f5b65ae8294d7a50350d8 (patch)
treeb9952e30eb414f9550968a14d6c703eae710704b /AT91SAM7S256/armdebug/Debugger
parent00cfbb071f76c34c06d4cf343ba3452d67c6aa64 (diff)
parentd7e6d01799a0465c024bb0025476ffdfbbedfa93 (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_stub.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_stub.h b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
index 1c47050..d70152b 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_stub.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
@@ -81,8 +81,9 @@
#define CMD_REG_NUMREGS 17
#define CMD_REG_GETONE_PARAMLEN 1
#define CMD_REG_GETALL_PARAMLEN 0
-#define CMD_REG_SETONE_PARAMLEN 6
-#define CMD_REG_SETALL_PARAMLEN (CMD_REG_NUMREGS*4)
+#define CMD_REG_REGPARAMLEN 8 /* 32-bit ASCII Hex Value */
+#define CMD_REG_SETONE_PARAMLEN (2 + CMD_REG_REGPARAMLEN)
+#define CMD_REG_SETALL_PARAMLEN (CMD_REG_NUMREGS*CMD_REG_REGPARAMLEN)
/*@}*/