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
1 answer

how to "migrate" from cortexM3 to cortexM4

I have an old project, that run on SAM3S( cortex-m3) , I need to use it as a base for a ew project that should run on Sam4S cortex-M4 . After changing the oopeocd.cfg I get this errors, and I don'T get what do they really mean : Error: Target not…
Engine
  • 5,360
  • 18
  • 84
  • 162
0
votes
1 answer

Error due to GNU ARM toolchain usage in IAR workbench

I recently started programming with STM32F4Discovery board and am using IAR workbench as the IDE. I am supposed to use an already developed program in Eclipse as a part of my project. When I imported this into IAR Workbench, I get the following…
smyslov
  • 1,279
  • 1
  • 8
  • 29
0
votes
1 answer

Clarification on how to use semaphores in this system

I'm working on a project with 5 different sensors. I have 4 tasks (I'm using freeRTOS, and I'm relatively new to using embedded OS'es): sensor_manager which will read the sensors and put the data in a queue (which will be a data structure)…
Tim A.
  • 33
  • 5
0
votes
1 answer

Preffered: Suspend all tasks OR mutex when accessing shared resource ? [freeRTOS]

Assume we have a c-code that has a function that takes char[s] as an argument, and stores it in a ring buffer. The ring buffer in turn is read from an interrupt handler in that c-code. One char/interrupt is transmitted over uart. We have several…
ezFreak
  • 82
  • 2
  • 8
0
votes
1 answer

Shared variables [RTOS]

Simple background: Running freeRTOS on my mcu. One of the features I have in my project is a library that handles parameters stored in external memories. Basically at startup, the main function calls the function that reads all the parameters from…
ezFreak
  • 82
  • 2
  • 8
0
votes
1 answer

How to use a mutex in FreeRTOS?

I have a shared resources, which shared by an ISR and a normal task. It need to be serialized accessed. It seems that neither the BinarySemaphore nor the MutexSemaphore meets my needs. Which utility is supposed to be used? Thanks,
Zhang Biao
  • 77
  • 6
0
votes
1 answer

STM32 freertos thread is not working

I am trying to implement a small freeRTOS project on Eclipse, by using gnuarmeclipse and openstm32 plugin ans STM32F411RE nucleo board. Project is getting build and LED connected to PORT A pin 5 is blinking when the GPIO set and Reset functions are…
armino
  • 1
  • 1
  • 1
0
votes
2 answers

How to create ARM GCC makefile for a project that includes freeRTOS and libraries?

I am working on a project which uses STM32L053 nucleo board. I need to create a project for STM32L053, with freeRTOS and STM's STM32CubeL0 libraries. I have FreeRTOS port ready for implementation. But I don't know how to add this freeRTOS and…
K.H.A.J.A.S
  • 514
  • 4
  • 19
0
votes
1 answer

using global value in FreeRTOS inside a Timer ISR

Using: Arduino Mega 2560 Arduino IDE Timer2 Code: #include "FreeRTOS_AVR.h" #include "basic_io_avr.h" /*** * HITEC servo ranges from 0.9 to 2.4 ms * values in usec ***/ const int firstPulse = 0.7 * 1000; const int centerPulse = 1.5 *…
HieiFCB
  • 11
  • 5
0
votes
1 answer

Q: How to create threads in FreeRTOS to handle multiple Clients on a TCP Server using LwIP Netconn API?

I am running the tcpecho sample based on LwIP Netconn API, code from http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1734/PF257896 particularly the TCP echo server application described at the application note UM1713, and …
eRod
  • 1
  • 2
0
votes
2 answers

printing the stack of a task in FreeRTOS

I am working on a STM32F4-discovery board, i installed FreeRTOS on the board and was able to run two tasks created by main function. Now i want task 1 to access the local variables of task 2 with any passing of variable by reference or by value. I…
y11
  • 91
  • 1
  • 1
  • 8
0
votes
1 answer

FreeRTOS (Terminal to see the output STDIO)

I am working on STMdiscovery board, i installed freertos on the board and made the LED blink successfully, now i want to output some printf statements on the some terminals, (i think freertos supports STDIO). Can anybody guide how to do this and…
y11
  • 91
  • 1
  • 1
  • 8
0
votes
1 answer

TCP issues with freeRTOS + LwIP with threading/tasks

As above, having issues using FreeRTOS+LwIP on a Zedboard, with the board just crashing and needing a power reset. I think it's to do with the network connections, I have two, one for incoming traffic and one for outgoing, both connect fine, however…
GeorgeStorm
  • 15
  • 1
  • 8
0
votes
1 answer

What IP should be specified in lwipcfg_msvc.h?

I am trying to set up lwIP simulation on Windows 7. I have downloaded current version of lwIP and contrib files (v1.4.1), upgraded .sln and .vcproj(s) to MSVC 2013, download WinPcap 4.1.1. I have set up lwipcfg_msvc.h (IP address, MAC address,…
Bachor
  • 828
  • 12
  • 17
0
votes
1 answer

cannot connect to lwip binded socket address after idle for sometime

I am using lwIP under FreeRTOS, the IP server runs on an ARM based device (Xilinx Zynq-7020) and the client is a windows. At the server side, when I bind, listen, and accept an address:port, the client can connect to and read/write from this…
liubenyuan
  • 733
  • 1
  • 5
  • 10