Im attempting to make the BF526 Bulk USB driver code behave properly when connected to a USB 1.1 port. It currently does not, specifically because in the file adi_usb_hdrc.c, line 3226, we have:
USB_ASSERT(pEpO->pEndpointDesc->wMaxPacketSize != 512);
As far as I know, USB 1.1 max bulk packet size is 64.
Now, the issue is that I can change this packet size in adi_usb_bulkadi.c, as well as the file above, but in order to do this, I need to recompile the entire adi driver stack, as mysteriously, the adi_usb_hdrc.c file is not found in usb526 libraries, rather in the drv526 library.