summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/jlink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index 022afe5f..9886c3b3 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -42,8 +42,9 @@
#define JLINK_USB_TIMEOUT 1000
-#define JLINK_IN_BUFFER_SIZE 8192
-#define JLINK_OUT_BUFFER_SIZE 8192
+// See Section 1.3.2 of the Segger JLink USB protocol manual
+#define JLINK_IN_BUFFER_SIZE 2048
+#define JLINK_OUT_BUFFER_SIZE 2048
#define JLINK_EMU_RESULT_BUFFER_SIZE 64
/* Global USB buffers */