Page 1 of 1

RT-STM32F429-DISCOVERY demo in ChibiOS 16.1.2

Posted: Wed Jan 27, 2016 2:55 pm
by ADobrynin
It uses OTG1 (pins PA9-12), which is incorrect. OTG2 (pins PB12-15) should be used instead.
Fix:
1. In mcuconf.h enable STM32_USB_USE_OTG2 instead of STM32_USB_USE_OTG1.
2. In usbcfg.c replace all occurrences of USBD1 with USBD2.

BTW, the same demo in ChibiOS 3.0.5 correctly uses OTG2.

Re: RT-STM32F429-DISCOVERY demo in ChibiOS 16.1.2

Posted: Wed Jan 27, 2016 3:15 pm
by Giovanni
Hi,

Thanks for finding, will be fixed in next release.

Giovanni

Re: RT-STM32F429-DISCOVERY demo in ChibiOS 16.1.2

Posted: Sat Feb 06, 2016 12:48 pm
by Giovanni
Hi,

Fixed in repository: https://sourceforge.net/p/chibios/bugs/703/

Giovanni