Hello,
I want to make some modifications to the FX3 firmware. Having downloaded the Linux Cypress SDK(1.3.4), I have tried using the makefile provided in the LimeSDR_USB_FX3 source after making the necessary changes for the SDK parameters, I keep running into errors mainly about undefined reference in the linked libraries. It would be great if someone could outline the process of recompiling the firmware.
Thanks,
Saptarshi
Hi,
I was able to figure it out. I made a Linux eclipse project taking hints from the provided examples in the SDK. If anyone is interested, it is available on Github. I have modified the DMA channel size, so for the original firmware you need to make this modification in the file usb_config.h.
usb_config.h
@@ -22,7 +22,7 @@
//USB_BULK_STREAM config
#define USB_BULK_STREAM_BURST_LEN 16
-#define USB_BULK_STREAM_DMA_BUF_SIZE (1)
+#define USB_BULK_STREAM_DMA_BUF_SIZE (4)
#define USB_BULK_STREAM_DMA_BUF_COUNT_P_2_U (8) /* USB_BULK_STREAM P_2_U channel buffer count /
#define USB_BULK_STREAM_DMA_BUF_COUNT_U_2_P (4) / USB_BULK_STREAM U_2_P channel buffer count */
Set the environment variables following the linux documentation provided in the SDK before importing the project with ezUsbSuite.
Thanks,
Saptarshi.