Questions tagged [freertos]

FreeRTOS is a portable, open source, real-time operating systems for microcontrollers. It also has some support for microprocessors with memory protection units.

FreeRTOS is a portable, open source, real-time operating systems for microcontrollers. It also has some support for microprocessors with memory protection units. It is designed to be small and simple and consists of only 5 C files and a small portability layer per each unique controller/compiler.

Features

  • Portable - supports 18 toolchains
  • Supports many of the commonly used CPU/MCU architectures including x86, ARM, AVR, AVR32, PIC (PIC24, PIC32, dsPIC), 8051, Z80, PowerPC and more

See also

1097 questions
0
votes
2 answers

Resart a task in FreeRTOS

I have a specific task routine which performs some operations in a specific order, and these operations handle few volatile variables. There is a specific interrupt which updates these volatile variables asynchronously. Hence, the task routine…
Vishnu S
  • 13
  • 6
0
votes
1 answer

using Cortex-M MPU

We start a new software, and we think about using the MPU. We ar based our new software on FreeRTOS (with the MPU port). We understand correctly all the segmentation about the intertask communication with the MPU. What we have difficulties, is what…
Jonathan
  • 69
  • 1
  • 6
0
votes
1 answer

Multicast UDP not working on my board

I am transmitting data through multicast through my network. I am sending the data to a PC and my board which runs freeRTOS and Lwip.The data gets received right on the PC but not on my board. The code in the board is an exact relevant copy of the…
0
votes
0 answers

CooCox CoIDE and FreeRTOS compilation

I use CooCox CoIDE 1.7.4 in order to programm the STM32F051R8 microcontroler, at windows 7 Home OS. I am a begginer at this kind of programming. My first target is to make some leds blink by using FreeRTOS. After spending many hours trying to do…
anarnik
  • 1
  • 1
  • 4
0
votes
1 answer

Is Something similar to shiftOut in LPC1769/FreeRTOS?

I'm trying to read from parallax SHT11 module with LPC1769 board using FreeRTOS. I found this example http://wiring.org.co/learning/basics/humiditytemperaturesht11.html and I'm trying port to LPC1769 Is something similar to shitOut function for…
arturn
  • 725
  • 2
  • 11
  • 25
0
votes
1 answer

why unable to upload file using tftp?

Is it necessary to establish the connection each time during uploading the file in the multiple iteration for maintaining the stack size? I got a calloc failed error. I am using freertos with multithreading.
PYNUSYMAT
  • 1
  • 1
0
votes
3 answers

embedded target to host communication

I have the following problem: A micro controller with the possibility to talk with PC via several communication interfaces: RS232, USB are present. Ethernet is not available. The software is bare metal with optional embedded OS. The hardware is not…
c george
  • 1
  • 1
-1
votes
1 answer

Problem running Display and Ultrasonic-Sensor with Arduino and FreeROTS

I want to use an ultrasonicsensor (HC-SR04) and a TFT Display (Sainsmart ST7735) with my Arduino Uno and FreeRTOS. The Display is similar to Adafruit ST7735. I have to do a multi-threading project with FreeRTOS and i thought this would be nice and…
-1
votes
2 answers

How to print error and stop further console monitor spam when developing on ESP32 in ESP-IDF?

I am using Eclipse with ESP-IDF 5.0.2 to develop for ESP32 C3. In this code, esp_wifi_set_config call always fails because WiFi is not initialized. #include #include "esp_wifi.h" void app_main(void) { printf("hello\n"); …
mik13ST
  • 95
  • 7
-1
votes
1 answer

FreeRTOS application crashing when spawning 8 similar tasks, while it does work with 5 and 15 spawned tasks (ESP32-S3-DevKitC-1)

I do the following in FreeRTOS: #define DEBUG_MODE #define COMPUTATION_TIME(taskNr) (50) #define DELAY_TIME(taskNr) (200 * (taskNr)) #define TASK_PRIORITY(taskNr) (tskIDLE_PRIORITY + 1 + taskNr) #define NUMBER_OF_TASKS 8 void…
Gier
  • 11
  • 4
-1
votes
1 answer

SD.open(...) Timeout How can I set it?

When I open a file, SD.open(...), if there is no microsd it takes 1s before telling me it gave an error. How can I set a shorter timeout? It would be for a hard runtime software that would have to continue even without the microsd running, and could…
-1
votes
3 answers

construct union dynamically in C

I'm trying to set configuration of WIFI with ESP32 dynamically. Depends on UUID of device ID, I would like to set SSID. I was trying to put character variable. However, I failed // Original code wifi_config_t ap_config = { …
Jaeseo Lee
  • 172
  • 10
-1
votes
1 answer

SD Card writing fails when using FreeRTOS tasks

I'm trying to write to a sd card but it fails when I use FreeRTOS tasks. This is what I have: #include "FS.h" #include "SD.h" const int32_t SD_SS_PIN = 2; const int32_t SD_CS_PIN = 23; const int32_t SD_MO_PIN = 5; const int32_t SD_MI_PIN = 4; void…
Ayayron
  • 25
  • 5
-1
votes
1 answer

In is it safe to have multiple tasks call a function that creates FreeRTOS objects?

I have a task that starts up all of the other tasks depending upon a mode byte that is stored in EEPROM. These tasks call the init functions for all of the hardware modules they use. Several tasks use the same hardware, however, with I2C as an…
Bobby
  • 23
  • 4
-1
votes
1 answer

How do i define the task size in xTaskCreate()?

I'm trying to write a simple code to blink the on board LED using the xTaskCreate() function. But i dont know what put in the stack size parameter
Averean
  • 5
  • 1