Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

prvLockQueue

Posted 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: prvLockQueue

Posted 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: prvLockQueue

Posted 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


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner