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,726件の閲覧回数
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,621件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信

1,621件の閲覧回数
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 件の賞賛
返信