]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/dslogic.c
Fix DSLogic FPGA binary image upload and signal acquisition.
[libsigrok.git] / src / hardware / fx2lafw / dslogic.c
index ec8d53427b9536e798ad9503657104070dc1963b..2f0ffa32335373e91e6d6fee1dcd89e8f955b3ac 100644 (file)
 #include "protocol.h"
 #include "dslogic.h"
 
-#define FW_BUFSIZE (4 * 1024)
+/*
+ * This should be larger than the FPGA bitstream image so that it'll get
+ * uploaded in one big operation. There seem to be issues when uploading
+ * it in chunks.
+ */
+#define FW_BUFSIZE (1024 * 1024)
 
 #define FPGA_UPLOAD_DELAY (10 * 1000)