CMSIS RTOS RTX from KEIL - MSP/PSP - What is allowed/what is forbidden?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CMSIS RTOS RTX from KEIL - MSP/PSP - What is allowed/what is forbidden?

1,848 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mysepp on Tue Apr 05 14:04:09 MST 2016
Question is not directly related to LPC4357, but this is the controller I am using.

I am using CMSIS RTOS RTX from KEIL. There the system runs in MSP/PSP.

Has someone deeper knowledge about MSP/PSP. What is allowed the execute? What is forbidden?
e.g. how about peripheral access? Or GPDMA usage?

Can switch PSP usage off, e.g. when doing critical things like a bootloader/FW update,
where I want to control all things by my own?

I have seen os_set_env, which seem to disable PSP completely.
When and how to call it? Before RTOS is started at all, so I must add it in startup files?
标签 (1)
0 项奖励
回复
2 回复数

1,743 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复

1,743 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Wed Apr 06 01:17:44 MST 2016
Your question doesn't make a lot of sense.

MSP/PSP is the stack pointer (Main Stack Pointer and Process Stack Pointer) and has nothing to do with what can be executed/accessed. To find out more information, get a good book on the Cortex architecture. The books by Joseph Yiu are very good.
0 项奖励
回复