FreeRTOS and USB CDC

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

FreeRTOS and USB CDC

761件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Fri Sep 03 11:53:34 MST 2010
I'm trying to run the example that comes with FreeRTOS and it runs fine. But I have a problem with the USB CDC.

When it creates the task, it creates it with priority 0. And it never runs, it only stays in the READY state.
When I change the priority to 2 it enumerates fine.

Is this right?

PS.: I'm new to FreeRTOS.

Renan
0 件の賞賛
4 返答(返信)

620件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Fri Sep 10 04:07:53 MST 2010

Quote: whitecoe
For anyone who is interested there is a post about this on the FreeRTOS forums....

http://sourceforge.net/projects/freertos/forums/forum/382005/topic/3840551



Yes, I have posted there. The problem is that we have created a task with priority 2, and it was eating all the resources. This task cannot wait for the others, because it is the main task. It interprets our own PLC language.

Renan
0 件の賞賛

620件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Fri Sep 10 03:13:53 MST 2010
For anyone who is interested there is a post about this on the FreeRTOS forums....

http://sourceforge.net/projects/freertos/forums/forum/382005/topic/3840551
0 件の賞賛

620件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by anomaly256 on Thu Sep 09 20:30:50 MST 2010
I'm using FreeRTOS and their USB CDC example.  Haven't had a problem with using the default priority.  I did remove all the other examples from their project though apart from the LED one (which required some alteration to work with LED2..)
0 件の賞賛

620件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Sep 03 23:47:51 MST 2010
You might do better posting this question on the FreeRTOS forums...

http://www.freertos.org/RTOS-contact-and-support.html

Regards,
CodeRedSupport
0 件の賞賛