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] [December 2015 Threads]
Hi there
After changing only a little in my Code, the Application always ends up in the DummyHandler();
the error occurs after that code:
if (xSemaphoreTakeFromISR(uartirq, portMAX_Delay)) (selfwirtten code)
ldr r0, [r6]
movs r1, #0
mov.w r2, #4294967295
blx r5
cmp ro, #0
beq #250
if(prvISQueueEmpty(pxQueue) != pdFALSE) (out of the FreeRTOS/queue.c)
cmp.w r8, #0
bne 42
from here it jumps into the Dummy Handler.
Unfortunately i have no clue what this error is related to? Could there be a memory fault?
Thanks in advance for any help.
When you say the code is self written do you mean you wrote a function that tries to block an ISR to wait for a semaphore? If so then that is not a valid thing to do - interrupts are under the control of the hardware, not the FreeRTOS scheduler. Otherwise you are just misusing the second parameter as it is not a block time. Please refer to the API documentation online.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.