USB ROM HID + FreeRTOS problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by DodigI on Sat Aug 23 03:42:58 MST 2014
my USB ROM HID is working correctly and enumeration is successful.

However, if I only add xTaskCreate(...) in main before or after USB initialization code, without even starting the scheduler, the USB enumeration fails.

What could cause the problem? I have enough heap memory for the thread. I comment xTaskCreate and USB works, uncomment and it fails.