USB ROM HID + FreeRTOS problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB ROM HID + FreeRTOS problem

1,142件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DodigI on Sat Aug 23 03:42:58 MST 2014
Hello,
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.

Thanks.
ラベル(1)
  • USB

0 件の賞賛
返信
1 返信

1,122件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DodigI on Sat Aug 23 03:59:45 MST 2014
Solved,
xTaskCreate disables interrupts via PRIMASK. vTaskStartScheduler(); clears the PRIMASK...
0 件の賞賛
返信