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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,738 Views
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?
Labels (1)
0 Kudos
Reply
2 Replies

1,633 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply

1,633 Views
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 Kudos
Reply