aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_comm.S
diff options
context:
space:
mode:
authorTC Wan2011-01-04 16:41:58 +0800
committerTC Wan2011-01-04 16:41:58 +0800
commitfe178520b884f60abe83dad45c4fef6ca501e942 (patch)
tree0bdab9479bfc33ac0a0aeee61a5e987d807a8acb /Debugger/debug_comm.S
parent0157c5a795a9b5332b21434a043ff48f09d104bd (diff)
fixed comment regarding header length for telegram size calculation
Diffstat (limited to 'Debugger/debug_comm.S')
-rw-r--r--Debugger/debug_comm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debugger/debug_comm.S b/Debugger/debug_comm.S
index 11cba1c..480b1bd 100644
--- a/Debugger/debug_comm.S
+++ b/Debugger/debug_comm.S
@@ -288,7 +288,7 @@ _exit_conv_ascii2byte:
* ===========
* Byte 0: Telegram Type Field (0x8d Direct Command, No response required) | USB Channel Header
* Byte 1: Segment No (1-255, 0: Last Segment; limit is MSG_NUMSEGMENTS) |
- * Byte 2: Telegram Size (Len of USB Buffer - 2, max is MSG_SEGMENTSIZE) |
+ * Byte 2: Telegram Size (Len of USB Buffer - 3, max is MSG_SEGMENTSIZE) |
* Byte 3-N: Message data | GDB Command
*
* The GDB Command (of size M) has the following format:
@@ -305,7 +305,7 @@ _exit_conv_ascii2byte:
* ============
* Byte 0: Telegram Type Field (0x8d Direct Command, No response required) | USB Channel Header
* Byte 1: Segment No (1-255, 0: Last Segment; limit is MSG_NUMSEGMENTS) |
- * Byte 2: Telegram Size (Len of USB Buffer - 2, max is MSG_SEGMENTSIZE) |
+ * Byte 2: Telegram Size (Len of USB Buffer - 3, max is MSG_SEGMENTSIZE) |
* Byte 3-N: Message data | GDB Response
*
* The GDB Response (of size M) has the following format: