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] [May 2008 Threads] prvLockQueuePosted by Pim van Hezewijk on May 29, 2008 Hello,
I'm experimenting for a couple of weeks now with FreeRTOS. I'm working with Keil Uvision and a LPC2138 microcontroller. Now I have a problem with the function: if( xSemaphoreTake( xMutex, ( portTickType ) 10 ) == pdTRUE ) A strange error occurs when the function prvLockQueue has been called. When he wants to store R1 in R0, he goes into the D abt handler. (I can't see the pxQueue anymore, so I don't know what happend with it)
The printscreen is over here: http://home.kabelfoon.nl/~vhzewijk/PrintScreen.jpg I hope someone could help me. By the way, if you need more information, please let me know.
Thanks in advance,
Best Regards, Pim van Hezewijk
RE: prvLockQueuePosted by Dave on May 29, 2008 Its difficult to say, but the first thing to check is that you are not just experiencing a stack overflow. Try allocating the task more stack.
Where did you get the Keil port from?
RE: prvLockQueuePosted by Pim van Hezewijk on May 29, 2008 Thanks for your fast reply Dave, I allocated more stack, but it still doesn't work. I'm still working on the demo application...
Best Regards, Pim
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|