Azure RTOS Threadx Modules - MPU support

Timothy Fields 21 Reputation points
2021-11-10T16:46:49.023+00:00

I am using Threadx Module to create a memory partition for safety-critical functions. I also will use the Cortex-M7 MPU to protect this memory partition. The application software in this partition will access hardware drivers in the Board Support Package (BSP) that use interrupts. Does the hardware driver also have to be in the same partition as the safety-critical functions? Or is there a way to have the BSP drivers shared between 2 memory partitions?

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
341 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Scott Larson 451 Reputation points
    2021-11-10T17:15:25.663+00:00

    You can use this API https://learn.microsoft.com/en-us/azure/rtos/threadx-modules/chapter5#txm_module_manager_external_memory_enable to share memory (e.g. the hardware registers) between multiple modules. Because interrupts escalate privilege, we recommend your ISRs exist in the manager space.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.