From: kc8apf Date: Wed, 22 Apr 2009 07:34:47 +0000 (+0000) Subject: Shrink JLink buffer sizes to specified 2KB courtesy of Jeff Williams and Zach Welch git-svn-id: svn://svn.berlios.de/openocd/trunk@1504 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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 */