2013-05-02 10:46 PM
Hi All,
I have just started developing on the STM32 F4 Discovery with the purpose oftransferringdata from one incoming DMA (ie camera source) and out USB to a host PC. I have managed to get the USB example working (however it is slow) so I have opted to get an ULPI device and run HS. In the mean time I have changed my USB port to be the HS port with an external USB plug, running in FS mode. My problem is trying to enable the internal DMA in FS mode. In the usbd_cdc_core.c there is an #ifdef for the internal DMA that looks like:#ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED
pbuf = usbd_cdc_Desc;
#else
pbuf = usbd_cdc_CfgDesc + 9 + (9 * USBD_ITF_MAX_NUM);
#endif
usbd_cdc_Desc is not defined anywhere in the libraries.
Does anyone know what to do with usbd_cdc_Desc?
Thanks for any help
Tristan
#usb-hs-fs-dma-internal
2013-05-02 11:35 PM
Charch,
do a rm *.* and it'll work charch. if it still doesn't compile charch, do: cd .. cd .. cd .. cd .. cd .. cd .. sudo rm -r *.* done-kirk charch!2013-05-03 06:54 AM
Tom you're an arse, those would seem to be a rather destructive set of instructions.
2013-05-23 04:45 AM
Bump!
I have hit exactly this problem. Since usb_cdc_Desc is not extern'd, I would guess this is a typo, though how it ended up in the distro without causing errors is a mystery. Have you tried changing it to usb_cdc_CfgDesc?