From 82aef3c8ddb96132ce5a9b23688d29f237093e55 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 12 Jul 2018 16:01:25 -0700 Subject: b200: fw: Change USB2 Buffer Size and Buffer Count Change FX3 firmware for USB2 so the eob flag is always seen, particularly on packets that are a multiple of 512 bytes in size. --- firmware/fx3/b200/b200_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/fx3/b200/b200_main.c b/firmware/fx3/b200/b200_main.c index e5c55d6a7..ac4988ae0 100644 --- a/firmware/fx3/b200/b200_main.c +++ b/firmware/fx3/b200/b200_main.c @@ -1116,8 +1116,8 @@ void b200_fw_start(void) { case CY_U3P_FULL_SPEED: case CY_U3P_HIGH_SPEED: max_packet_size = 512; - data_buffer_count = 16; - data_buffer_size = 512; + data_buffer_count = g_config.dma_buffer_count; + data_buffer_size = g_config.dma_buffer_size; g_vendor_req_buff_size = USB2_VREQ_BUF_SIZE; // Max 64 num_packets_per_burst = USB2_PACKETS_PER_BURST; // 1 -- cgit v1.2.3