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?