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] [February 2017 Threads]
Hallo i use the ATSAME70Q21 and want to use FREERTOS (8.2.3). In my example projekt i have 2 Tasks with a binary semaphore. The first task "task monitor" should notify the second task "task_led". I have bebugged my code:
Program sequence while debugging:
1. xSemaphoreGive() was called in task monitor() and went over.
2. xSemaphoreTake() was called in taskled() and went over.
3. xSemaphoreTake() was called in taskled() and stoped there.
4. xSemaphoreGive() was called in task monitor() went over and called after that the HardFault_Handler().
Can you help me? Tank you for your support. Why was the HardFault_Handler() called? Where ist the problem?
Best regards
Andre
Code:
What does delayms() do? What happens if you replace delayms() with
vTaskDelay()?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.