Closed alfaleader closed 6 years ago
ARM Internal Ref: IOTMORF-320
we have same problem with frdm-kl25z board that usbcdc and rtos not work togather any one can help me? if any one know that sequence boot of rtos and pheripheral maybe i wil find the problem.
I was having the USBMIDI hang problem on my STM32F767 board. Running the debugger showed it was in USBDevice::connect waiting for the connect state. Because I needed the TIM5 timer I had changed the hal_tick.h to use TIM7. USBMIDI and RTOS work with hal_tick timer TIM4 or TIM5 but not with TIM3 or TIM7. The defualt TIM5 works fine.
ARM Internal Ref: MBOTRIAGE-392
Closing this since it's at least 2 year old and lots of changes in USB were done recently in feature branch. https://github.com/ARMmbed/mbed-os/commits/feature-hal-spec-usb-device
If this is is still an issue, feel free to open a new issue.
When using the RTOS and usbdevice (in my case usbmidi) together the mbed just halts at the place where I initiate the usbmidi object.
Just using the 2 example programs from rtos and usbmidi together.