Quality RTOS & Embedded Software

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


FreeRTOS FAT question

Posted by e12 on August 4, 2016

I have question about freertos Fat I’m using iar compiler and stm32f427 scheduling method is preemptive, I‘m using the hal library, I’m using sdcard (sandisk extreme 16g)

The graph below relates to the execution time of the SDCARDWRITETask , X-axis is program execution time, Y-axis is the time which the SDCARDWRITETask is complete


As shown in graph SDCARDWRITETask is run every 80ms using vTaskDelayUntil,


As shown in graph SDCARDWRITETask is run every 40ms using vTaskDelayUntil

As you can see in the graph, This increased to periodically run time (incase 80ms is every 18 second, incase 40ms is every 9 second)

**My question this How is this problem occurs when any part of the problem?

This is the problem of the code? Or is it a hardware problem ?**

FreeRTOS FAT question

Posted by rtel on August 4, 2016

Sorry - I don't understand your question. Could you try re-phrasing it, although as this is your application, and we don't know its structure, what is being written, how good the driver is, whether the driver is polling or interrupt driven, or what else the application is doing, it is unlikely we will be able to provide an answer.

In the graphs I think I see a periodic write with a fairly fixed write time, with a few longer writes that in between which are not on the same period.

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

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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

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


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





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