FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2010 Threads] USB CDC task LPC1768 RedSuite demoPosted by Renan on September 6, 2010 I have been problems with the USB CDC task, if I use priority 0 or 1 it does create the task but it never runs. If I use 2 or 3, it creates the task, enumerates and it works... What could be the problem?
RE: USB CDC task LPC1768 RedSuite demoPosted by Dave on September 6, 2010 So you have a task at priority 1 that is starving all lower priority tasks or taking up too much CPU for the USB protocol timing?
RE: USB CDC task LPC1768 RedSuite demoPosted by Richard Damon on September 6, 2010 Actually, it would be a priority 2 task (unless his timer interrupt isn't working), as a priority 1 task would round robin with another priority task.
If possible, try stopping the program with a debugger and see what task is running. My guess is it is a priority 2 task that doesn't wait for something that isn't available, therefore starving the lower priority tasks.
RE: USB CDC task LPC1768 RedSuite demoPosted by Renan on September 6, 2010 You are right dave. Still don't know how to fix it, but at least I know why now...
Thanks, Renan
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|