ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

RTOS + USBDevice doesn't work (lpc1786) #470

Closed alfaleader closed 6 years ago

alfaleader commented 10 years ago

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.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTMORF-320

rtsys2020 commented 7 years ago

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.

mikeredbike commented 6 years ago

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.

ciarmcom commented 6 years ago

ARM Internal Ref: MBOTRIAGE-392

deepikabhavnani commented 6 years ago

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.