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
0
votes
2 answers

why does cmsis oblige a max of priorities of 64

i am trying to implement CMSIS RTOS on my project using ThreadX. how ever i found in the file cmsis_os2.c that it is obligatory to have a max priority of 64. i would like to keep it to 32 (ram optimisation) so does anyone has an explication on why i…
0
votes
3 answers

stm32u585 usb DFU + VCP

I'm trying to create a USB composite device with 2 registered classes DFU and CDC ACM, using USBX middleware on stm32u585 mcu. I was going through those two examples on…
mejha
  • 1
0
votes
1 answer

Enabling floating point support with TMS570

We are porting Azure OS https://github.com/azure-rtos/threadx/tree/v6.1.11_rel to TMS570 hardware https://github.com/azure-rtos/threadx/tree/v6.1.11_rel/ports/cortex_r5. We have requirement of floating point calculations on application side. Can…
0
votes
2 answers

tx_semaphore inside a Interrupt

I want to read out RS232 data periodically. I have created an interrupt for this purpose. However, my RS232 functions need semaphores. I found out that I cannot execute a TX(Thread X) function in the interrupt. What do I have to do to make my TX…
Mopiju
  • 1
0
votes
1 answer

Is there a bug in Azure RTOS ThreadX's tx_event_flags_get function?

Calling the tx_events_flags_get() function with the "requested_flags" parameter equal to 0UL seems to result in infinite wait. Logically, it is pointless to wait for no flags to be raised; it should return immediately. Yet with this input the…
rweis
  • 3
  • 2
0
votes
1 answer

GUI library for ThreadX

I am working on a ThreadX based embedded system. I want to include a 4.5 inch graphical UI to this device and hence exploring on the possible GUI library / frameworks existing for ThreadX based embedded applications - I am open for both open source…
arunkm
  • 19
  • 3
0
votes
2 answers

Is it possible to design Arinc653 scheduler with Azure-RTOS?

I want to design a scheduler that works in Arinc653 manner just for experimental issues. Is this possible to manipulate the scheduler in this way? There is time-slicing in threadX I know but all examples I've encountered are using TX_NO_TIME_SLICE…
tolgayilmaz
  • 3,987
  • 2
  • 19
  • 19
0
votes
1 answer

CreateProcess error=206, Eclipse CDT with GCC compile ThreadX+GUIX

When I compile ThreadX+GUIX project of eclipse CDT with arm-none-eabi-gcc(Win7 64bit). It come out make (e=206). I found the same problems happened almost in JAVA development,but their solutions are not work for the CDT. Here is the compile error…
Polaris
  • 1
  • 1
0
votes
1 answer

How much stack does the ThreadX System Timer Thread requires?

I'm using the Azure RTOS ThreadX in a Cortex M0+ with 20k of RAM. The port module for the cortex m0, by default, has 1024 bytes to the timer thread, but after some debugging, I noticed that the thread stack was not used by seeing the 0xEF values, so…
0
votes
1 answer

How to use TraceX with a small buffer

I am developing a microcontroller application using the Azure RTOS ThreadX, and I wanted to use TraceX to publish the results in my master's thesis. The problem is that my application is running on a Cortex M0+ and only have 20k of RAM. From this…
0
votes
1 answer

What ThreadX uses to do its testing?

I am a student developing a microcontroller application that uses the Azure RTOS ThreadX, and I never used tests and want to start doing unit testing, integration testing, and automatic tests. I found out the Ceedling and Google Test frameworks, but…
0
votes
1 answer

What is the appropriate git management strategy for RTOS?

I have a RTOS code, and soon we are going to start a new RTOS project (I say "RTOS" to maintain the question in general, but the one we are employing is ThreadX) The code is git managed but not very well managed. For starters it does not ignore…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
0
votes
1 answer

How to determine optimal fault tolerant memory for filex?

in filex example file, given to fx_fault_tolerant_enable function RAM buffer in size of FX_FAULT_TOLERANT_MAXIMUM_LOG_FILE_SIZE which is 3K. I would want to reduce this define and the RAM buffer as much as I can. What are the parameters I need to…
jack
  • 1
  • 2
0
votes
2 answers

ThreadX module size

assuming i've a ThreadX module flashed (or downloaded) is there a way to retrieve at run time from the Module Manager resident application the Module code and data size ? Thank you in advance, best regards
0
votes
2 answers

Azure RTOS how to signal multiples thread with single event?

I want to signal multiple threads with one event, what is the best way to do this? For example: Whenever 1 second passes, RTC interrupt occurs and it sets its related event flag, after that whichever thread waits for this event, starts running, and…
varstas
  • 335
  • 10
  • 19