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.

Be the first to answer this question.