Questions tagged [azure-rtos]

Developer docs: https://learn.microsoft.com/en-us/azure/rtos/ Source code and samples: https://github.com/azure-rtos

Azure RTOS is a small, fast, reliable, and easy-to-use real-time operating system (RTOS) for connecting deeply embedded sensors, devices, and gateways from the edge to the Internet of Things (IoT).

Learn more at: http://azure.com/rtos

24 questions
2
votes
0 answers

Conflict between eRPC and usb msd due to USE_SHMEM

I have an i.MX RT1160 Evaluation Kit. On CM7, I have: Azure RTOS (ThreadX, FileX, UsbX) eRPC on Cm4: Bare Metal and eRPC. It seems that I need the preprocessor USE_SHMEM for eRPC. When I add the preprocessor USE_SHMEM, eRPC is working but…
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
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

Azure GUIX automated testing specifically for languages

I was checking the feasibilty of Automated testing using Azure GUIX using win32 simulation executable. I have checked using Inspect but could only find window title bar,close ,maximise, minimise on logs I also tried recording and play back of macro…
Anas
  • 13
  • 2
0
votes
0 answers

Windows driver for Azure RTOS FileX with fault tolerant mode enabled

I'm working on a development project which incorporates Azure ThreadX RTOS. The embedded system contains an sdcard on which we would like to enable FileX's fault tolerant mode to make it more resilient to filesystem corruption. The problem is that…
Ken
  • 1
0
votes
0 answers

ThreadX Event Flags Result

I've got 2 threads; Brain Thread => Responsible from state machine Terminal Thread => Responsible from Uart communication When Brain wants to open UART communication it signals the Terminal via Event Flag, and wait till the result of "open uart…
varstas
  • 335
  • 10
  • 19
0
votes
2 answers

Equivalent function in Azure RTOS ThreadX

I want to switch from FreeRTOS to Azure RTOS ThreadX. In FreeRTOS there is the function xQueueSendToBackFromISR() - It is used to write data to the queue from an interrupt service routine. FreeRTOS interrupt provides an interrupt safe version of…
user21288868
0
votes
0 answers

The elegant way to handle ADCs with DMA in a RTOS

I'm currently setting up an AZURE RTOS (ThreadX on STM32), with Ethernet, SPI and ADCs activated. This STM32 has to pass-through configuration information from time to time, coming from my PC over the Ethernet-Port. It has to pass these information…
Justin Time
  • 41
  • 1
  • 4
0
votes
1 answer

tx_time_get() always returns 0 in threadx module manager

I am trying to calculate the time ticks, however tx_time_get() always returns 0 wherever I put it in modules or module manager of ThreadX E.G: ULONG start_time, current_time=0, cycle_time=0; start_time= tx_time_get(); …
Hamdim
  • 19
  • 6
0
votes
2 answers

MPU subregions security for STM32H7

I am trying to understand the STM32H7 MPU example, In this example, only one region has been created for all the memory address space 4GB. The subregion option is activated which means, it will be divided into 8 subregions starting from 0x0. And SRD…
Hamdim
  • 19
  • 6
0
votes
1 answer

Drawing the line between Module and ModuleManager in ThreadX priviliges

Using Module and ModuleManager with ThreadX in a MPU-enabled platform is "default_module_start" considered part of ModuleManager and can call Tx APIs even though, it is in the app_module.c? E.G tx_thread_create works in default_module_start but…
Hamdim
  • 19
  • 6
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
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
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

ThreadX Event Flags

Is it possible to call the "tx_event_flags_set()" function from an Interrupt Service Routine? I am referring this link for the ThreadX Event Flags related API's https://learn.microsoft.com/en-us/azure/rtos/threadx/overview-threadx Under the section…
svv
  • 81
  • 1
  • 4
1
2