aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTC Wan2010-12-30 18:06:04 +0800
committerTC Wan2010-12-30 18:06:04 +0800
commite6929056476cf1acb3c12abb8e5d4252b003a719 (patch)
tree614cd1a7763ee1662d4723e5af9cd950603e7daa /AT91SAM7S256/armdebug/Debugger/debug_stub.h
parentb7d4f58fac3aced7756a15264b89575ab0ba2490 (diff)
parentc0201887f08821d20a05bce2ec303c773a3f4b4b (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_stub.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_stub.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_stub.h b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
index e79f0de..b1815f8 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_stub.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
@@ -43,6 +43,11 @@
#define USB_NXT_SEGNUM_OFFSET 2
#define USB_NXT_TELEGRAMSIZE_OFFSET 3
+#define USB_NXT_TELEGRAM_DC_RESP 0x00
+#define USB_NXT_TELEGRAM_RESP 0x02
+#define USB_NXT_COMMAND_GDB 0xF0
+#define USB_NXT_RESPONSE_GDB 0xF1
+
#define USB_GDBMSG_START 4 /* Offset into USB Telegram buffer */
#define USB_GDBMSG_CHKSUMOFFSET 4 /* to be subtracted from USB_NXT_TELEGRAMSIZE_OFFSET */