Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
A compile error about USBHostHub_HelloWorld project
Hi,
I download the USBHostHub_HelloWorld project, and compile it with uVision v5. The compiler outputs error:"rt_CMSIS.c: Internal fault: [0xc43ed8:5050041] in osMailGet". When I comment the body of osMailGet,it's OK. How could I solve this error?
By the way, there is another run-time error. When download the hex file to LPC1768, the chip will halt at the USBHALHost::init() function. But if I comment the NVIC_EnableIRQ(USB_IRQn), it will be ok.