aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_stub.h
diff options
context:
space:
mode:
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 */