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

ThreadX module manager memory

trying to build using IAR a sample of module and module_manager on STM32-H7 starting from the sample provided in "threadx-6.1.5_rel" and from https://learn.microsoft.com/en-us/azure/rtos/threadx-modules/chapter3 i keep getting called the…
0
votes
2 answers

problem building threadx with TX_THREAD_ENABLE_PERFORMANCE_INFO

After building thredx with TX_THREAD_ENABLE_PERFORMANCE_INFO option and linking to the project the processor hangs up. It is working fine without this option. What are the requirements (stack, ram, flash etc.) for this option?
Uzi
  • 11
  • 2
0
votes
2 answers

threadx module allocating module data section in run time

I see that when loading threadx module, the data section is allocated in run time from byte pool (at _txm_module_manager_internal_load). Is there a way to define in advance (in the module preamble or such) the place where the module data will be…
arye
  • 458
  • 3
  • 15
0
votes
1 answer

Is there a way to run thread in USER Mode for azure-rtos (threadx)?

I have been playing around with azure-rtos (THREADX) and trying to port the OS for the cortex R5 based system. After looking at the port files, it seems that OS runs the threads in Supervisor (SVC) mode. For example, in the function…
0
votes
1 answer

What is the usage of the backtrace at the top of threadx stacks and why it size varies?

I see at the porting of threadx that in the top of each thread stack there are reserved uninitialized bytes, and then 16 zero bytes and just then the stack really begins. The zero bytes called there backtrace. At the arm ports it is 4 bytes…
arye
  • 458
  • 3
  • 15
0
votes
2 answers

ADB Equivalent for ThreadX

I'm interested in looking into the ThreadX RTOS and was wondering if anyone knew if there was an adb type equivalent in ThreadX. I'm imagining using a device with ThreadX and using some adb-like tool to view hte file system or push files to the…
user4500293
  • 621
  • 1
  • 7
  • 18
0
votes
2 answers

Why enable the interrupt so early on threadx scheduler on M4 port?

On threadx M4 port of pendsv interrupt implementation, which do the actual context switch of the multithread support of threadx, it shows all the during the procedure, the interrupt all opened without disabled like other rtos, like ucos, rtthread,…
0
votes
1 answer

C++ code crashes when I try to access the string member of a global object

I am running this program on a resource constrained ARM based ThreadX platform. The code is built using GCC g++ compiler. I am seeing a weird crash that I would like to understand more. I have a class that has a member that is a string. I see that…
Raghav Navada
  • 307
  • 2
  • 7
0
votes
1 answer

How does txm_module_object_allocate((void**)obj_ptr, sizeof(obj)) work?

Whenever I try to create an object(queue, thread, or byte pool) I can only create them by doing dynamic memory allocation; it fails if I try a static memory allocation. I am unable to find the txm_module_object_allocate API anywhere in the…
ish kool
  • 1
  • 1
0
votes
0 answers

Server's chain certificate verification failed in azure Client

I am trying to run my IoT-client on Threadx-Os Client which doesn't have file- system/certificate trusted store kind of things like in linux. When i look into Wireshark the client closing connection with Fatal,Bad certificate error. I tried all…
Chinna
  • 23
  • 10
0
votes
1 answer

Unable to Communicate with Azure IoTHub from ThreadX client

We are creating an application where ThreadX based client would be communicating with IOT Hub. Made appropriate adapter changes to make client work with IOT Azure C SDK. We observe "Bad Certificate" error thrown by client on wire shark error. From…
Koushik mondal
  • 187
  • 2
  • 10
0
votes
1 answer

ThreadX porting on ARM development board

I've worked on Linux but i'm new to RTOS. I've following things: Craneboard(AM3517) development board,below given link for that Linux build for Craneboard Application that runs on Craneboard Downloaded ThreadX demo codes for AM3517 Now…
Ronny
  • 1
  • 3
0
votes
1 answer

Memory allocation issues with the LPC1788 microcontroller

I'm fairly new to programming microcontrollers; I've been working with the LPC1788 for a couple of weeks now. One problem I've been having recently is that I'm running out of memory much sooner than I expect to. I've tested how much memory seems to…
Tagc
  • 8,736
  • 7
  • 61
  • 114
-1
votes
1 answer

ThreadX Memory Allocation on STM32 Cortex M0

I am trying to test out the sample/demo code for ThreadX on an STM32L0 Cortex M0+ controller. Specifically the sample_thread.c code found on GitHub. I used the example code for the cortex M0 port and compiled the code. At this point all is good, or…
James
  • 1
  • 1
1 2 3
4