]> git.sur5r.net Git - openocd/commitdiff
Shrink JLink buffer sizes to specified 2KB courtesy of Jeff Williams <jeffw@gadgetwor...
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 22 Apr 2009 07:34:47 +0000 (07:34 +0000)
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 22 Apr 2009 07:34:47 +0000 (07:34 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1504 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jlink.c

index 022afe5fd4ee37d6f51d7fd5aea2c92d08cf71ec..9886c3b3a6ea30e171cfc86890cd7c4e0d1d09e4 100644 (file)
@@ -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 */