Questions tagged [threadx]

ThreadX, developed and marketed by Express Logic, Inc. of San Diego, California, USA, is a real-time operating system (RTOS).

ThreadX, developed and marketed by Express Logic, Inc. of San Diego, California, USA, is a real-time operating system (RTOS). The name ThreadX is derived from the fact that threads are used as the executable modules and the letter "X" represents context switching, i.e., it switches threads.

Like most RTOSes, ThreadX uses a multitasking kernel with preemptive scheduling, fast interrupt response, memory management, interthread communication, mutual exclusion, event notification, and thread synchronization features. Major distinguishing characteristics of ThreadX include priority inheritance, preemption-threshold, efficient timer management, picokernel design, event-chaining, fast software timers, and compact size.

ThreadX is generally used in real-time embedded systems, especially in deeply embedded systems. Developing embedded systems using ThreadX is usually done on a host machine running Linux or Microsoft Windows, using cross-compiling target software to run on various target processor architectures.

59 questions
11
votes
11 answers

Comparison of embedded operating systems?

I've been involved in embedded operating systems of one flavor or another, and have generally had to work with whatever the legacy system had. Now I have the chance to start from scratch on a new embedded project. The primary constraints on the…
Peter K.
  • 8,028
  • 4
  • 48
  • 73
4
votes
2 answers

thread stack pointer

In Linux 2.6.32-32, is there a way to find the following information about a thread programmatically in a pthreads program? I need: run count, stack pointer, stack start/end, stack size, stack usage. Something like ThreadX, I guess, but within a…
Dervin Thunk
  • 19,515
  • 28
  • 127
  • 217
4
votes
7 answers

What's a good RTOS to use with the LPC1788 microcontroller?

I'm trying to find a free/cheap RTOS that others have found works well with the NXP LPC1788 microcontroller. I was originally planning on using FreeRTOS, but it doesn't seem to support that particular processor; the closest supported core is the…
Tagc
  • 8,736
  • 7
  • 61
  • 114
2
votes
3 answers

Bootloader required for Azure RTOS THREADX?

I have an existing embedded stand-alone main program and am trying to add Azure RTOS THREADX to it. Does Azure RTOS require a bootloader? Is it bootloader agnostic?
Stefan Wick MSFT
  • 13,600
  • 1
  • 32
  • 51
2
votes
4 answers

What aspects of ThreadX make it a realtime OS?

ThreadX is considered a RTOS. I know general definitions and requirements of an RTOS, however, could anyone help to shed some light on why ThreadX can be called an RTOS, or, what features of the OS make it realtime capable? Thanks~
Justin
  • 35
  • 1
  • 7
1
vote
0 answers

Position Independent Code, GCC versus ARMCC

We have a bunch of C code that needs to be compiled as position independent code on an embedded system (Cortex-M7). This all works fine with ARMCC (--ropi --rwpi). Now we need to do the same under GCC (12.2 release 1). The system we are loading the…
Rob
  • 865
  • 1
  • 8
  • 21
1
vote
1 answer

ThreadX RAM issue on STM32

I'm currently starting to use ThreadX on a STM32 Nucleo-H723ZG (STM32H723ZG MCU). I noticed that when loading the Nx_TCP_Echo_Server / Nx_TCP_Echo_Client projects from CubeMX, the RAM gets filled up pretty much to the top, which makes me wonder, how…
Justin Time
  • 41
  • 1
  • 4
1
vote
1 answer

TXM_MODULE_MANAGER_16_MPU for STMEZH7

According to the application note AN4838 page 12, STMEZH7 has only 8 regions. However, there is the following statement in the project description of STM32H747I: The TXM_MODULE_MANAGER_16_MPU is a Preprocessor define that should be added in both C…
Hamdim
  • 19
  • 6
1
vote
1 answer

What are the different types of makefiles and What is the difference between .mf and GNUMakefile files.?

I have seen different types of makefile like GNUMake files in linux and .mf files in other code bases. Is there any difference between different type of makefiles.
Bharath
  • 31
  • 5
1
vote
2 answers

Threadx "tx_timer_id"

I`m using Threadx, and I have two timers with the same "tx_timer_id" Is that legal? I`m having issues with one of these timers and was wondering if this is an indication of the problem. Thanks
Rafael Dazcal
  • 355
  • 1
  • 6
1
vote
1 answer

greenhills multi linker Error "Section .romdata overlaps section .data "

Please help me with following error- "[elxr] (error) Section .romdata overlaps section .data" on GHS Multi. This is when a custom Linker Directive file is created for an empty project using threadX. I have also included the search directory for the…
Jitin
  • 11
  • 4
1
vote
2 answers

access a threadx-queue concurrently

ThreadX contains contains message queues that allow inter-thread communication. Suppose I have several threads that read and write to a queue. Do I have to synchronize access to this queue (e.g. using a mutex)?
dimid
  • 7,285
  • 1
  • 46
  • 85
1
vote
1 answer

ThreadX kernel enter function

What does the ThreadX kernel enter function do? What does it mean that this function does not return? How are the threads created in the tx_application_define function scheduled and executed?
1
vote
2 answers

Embedded wxWidgets for ThreadX OS

I'm working on an embedded system using ThreadX. The project will involve a GUI. I'm looking for a port of wxWidgets for embedded on ThreadX operating system. My search has turned up wxWidgets for embedded Linux and WinCE. Also, is wxWidgets…
Thomas Matthews
  • 56,849
  • 17
  • 98
  • 154
1
vote
2 answers

How to simulate ThreadX application on Windows OS

I have an application using ThreadX 5.1 as the kernel. The Image is flashed on to a hardware running an ARM 9 processor. I'm trying to build a Simulator for the application that can be run on Windows (say XP, 32-bit). Is there any way I can make it…
siprikorea
  • 63
  • 1
  • 9
1
2 3 4