Questions tagged [freertos]
FreeRTOS is free real-time operating systems for embedded systems that currently supports over 30 different CPU architectures. It has a small memory footprint making it suitable for microcontrollers that do not have an external memory bus.
126 questions
1
vote
1
answer
62
views
Can we use ZephyrRTOS in ESP32?
The ESP32's official RTOS development framework is ESP-IDF, which typically uses FreeRTOS. But I wanted to know if we can do Zephyr RTOS in ESP32? If so does it have some framework made by the vendors ...
0
votes
0
answers
109
views
STM32: Implementing one HTTP server and two TCP servers with different ports using FreeRTOS + LWIP
I am trying to implement the HTTP server and two TCP servers on Port 5000 and 5001 using FreeRTOS, but what I notice is if I try to connect all these three simultaneously it is failing, only gets to ...
0
votes
0
answers
143
views
STM32 FreeRTOS StreamBuffer doesn't work
I am testing RTOS's StreamBuffer and it doesn't receive what it sends:
...
0
votes
1
answer
379
views
STM32 HAL vs Freertos HAL
I am using stm32 bluepill board along with Freertos.
I understand that ST provides HAL drivers for peripherals for their MCUs (https://www.st.com/resource/en/user_manual/um1725-description-of-stm32f4-...
0
votes
2
answers
819
views
Device driver for a MCU
I was working on an embedded system project and wanted to develop a peripheral driver for Ethernet connection supported by stm32 bluepill board.
I wanted to use FreeRTOS. I understand that there are ...
0
votes
1
answer
65
views
Unable to read the data more than 4096 (1 cluster size)
I am trying to write to an OSPI Flash drive MX25LM51245GM with the FreeRTOS+FAT.
The write to the SPI flash is successful for data size of >4096.
But the read always returns 0 no matter what the ...
0
votes
0
answers
447
views
STM32 FreeRTOS UART failing to return from interrupt
MCU is an STM32L422
FreeRTOS (CMSIS-V2), 3 simple tasks, they run just fine on their own.
USART1 is configured to receive data via IDLE detection and DMA circular buffer. Again it works fine on it's ...
0
votes
1
answer
430
views
FreeRTOS LED Toggle
I have worked on bare metal programming so far. I want to make a step into RTOS. I have a Nuvoton made M032SG8AE MCU.I want to port FreeRTOS to it.
I created a project and ported heap_1.c, port.c, ...
2
votes
1
answer
2k
views
I can't get my ESP32 to read a CAN bus through an SN65HVD230 in real time
I am working on a project based on the ESP32 processor and Arduino framework, which communicates with another board via CANBUS protocol.
The bitrate is 125k so it is presumably "fast".
I am ...
0
votes
1
answer
151
views
Data collector: how much power will my system use (Linux vs. RTOS)?
This is about a data collection device. It mainly contains a Linux operating system, various data interfaces such as RS232/RS485/CAN/SDI-12/RJ45, etc., and a communication module for 4G and satellite ...
0
votes
0
answers
305
views
Issues in SBSFU usage with MPU for a FreeRTOS based User Application - STM32H7
I am working on the STM32H753 Evaluation board and I have a software architecture with an SBSFU running in the internal flash, that jumps to the External NOR flash to execute the user application (...
0
votes
0
answers
127
views
How to build a system with two multicore microcontrollers?
I am thinking about building a system that utilizes two microcontrollers that communicate with one another. Currently, I am looking into using two stm32 microcontrollers. They have two cores and I ...
0
votes
0
answers
176
views
HAL_DELAY stuck after pvPortMalloc
Environment:
STM32F103ZET6
FreeRTOS Kernel V10.3.0
MDK or arm-none-eabi-gcc
My program stopped working when I added a queue to receive messages from RS232. I managed to reproduce the problem with the ...
1
vote
0
answers
218
views
Problem with semaphore in FreeRTOS on ESP32
I'm working on a graphic interface that uses an ESP32 alongside a Nokia 1616 LCD.
I am editing old code that someone wrote and it works correctly and it is based on FreeRTOS and I am trying to add a ...
1
vote
2
answers
915
views
8-Bit / Small Zephyr RTOS Microcontrollers? [closed]
I have not kept up with microcontrollers over the last few years, and am teaching a new EE out of college practical firmware on devices. When I learned how to write firmware, I started with a PIC16 (...