USB-CDC for STM32F407
Posted: Sun Dec 16, 2018 5:27 pm
I am new to Chibi and am trying to get the usb communication with my board STM32F407Discovery.
I've adapted the following demo for this board: ChibiOS_18.2.1/testhal/STM32/STM32F4xx/USB_CDC_IAD
By changing the include in Makefile from OLIMEX_STM32_E407 to ST_STM32F4_DISCOVERY and changing STM32_PLLM_VALUE to 8.
My device is not appearing as a serial port though. dmesg shows no cdc_acm devices. I am lost already, can someone point me in the right direction to get this working?
Also, when investigating usbcfg.c I noticed that both serusbcfg1 and serusbcfg2 refer to the same USBD2. Is that how it's supposed to be?
I've adapted the following demo for this board: ChibiOS_18.2.1/testhal/STM32/STM32F4xx/USB_CDC_IAD
By changing the include in Makefile from OLIMEX_STM32_E407 to ST_STM32F4_DISCOVERY and changing STM32_PLLM_VALUE to 8.
My device is not appearing as a serial port though. dmesg shows no cdc_acm devices. I am lost already, can someone point me in the right direction to get this working?
Also, when investigating usbcfg.c I noticed that both serusbcfg1 and serusbcfg2 refer to the same USBD2. Is that how it's supposed to be?