文章目录
-
- 前言
- Hardware
-
- Supported Devices
- Register Usage
-
- Initialization
- Modification
- Required OS resources
- Interrupts
-
- Interrupt Priority Levels
- Allocation of ISRs to Interrupt Vectors
- Vector Table
- Writing Category 1 Interrupt Handlers
- Writing Category 2 Interrupt Handlers
- Memory Model
- Processor Modes
- Stack Handling
- Cross-Core Interrupts
- SEMA42 Usage and XRDC Setup
- 多核操作和运行RTA-OS的多实例
- Physical Core Numbers
- MSCM Clock Signal
- MSCM Access from Untrusted Code
- MSCM Interrupt Routing
- 总结
前言
上一篇文章介绍OS API的使用和编译器相关的指令,本文介绍该OS Port支持的硬件及相关注意事项
Hardware
Supported Devices
下表中列出的MCU为支持的:
Register Usage
Initialization
RTA-OS要求在调用StartOS()之前将以下寄存器初始化为指定的值。
Register | Setting |
---|---|
CCR.NONBASETHRDENA | 必须设置为1,使处理器可以在异常活动时进入线程模式。调用Os_InitializeVectorTable()将为您完成此操作 |
CCR.STKALIGN | 必须设置为1,对异常强制进行8字节堆栈对齐。调用Os_InitializeVectorTable()将为您完成此操作 |