• MSP & PSP - 'Using it All'
    As I understand it, if, when my system boots and I switch to using PSP (process stack pointer) and allow the CPU to handle exceptions using MSP? Have I got that the right way around? The reason is that...
  • Use case of MSP and PSP in Cortex M
    Hi Experts, What is the key difference between Master Stack pointer and the Process stack pointer and how an OS can take advantage of it ?
  • PSP Stack Pointer, what memory address does it point to?
    In the ARM Cortex M4, If the PSP stack pointer is configured, what address space does it point to?  Is it the same address space as the MSP (main stack pointer)? Or do we create a new and separate stack...
  • Store the value of PC to Memory address
    I want to store the value of Program Counter(pc) to a memory location. I did this, LDR R1, =[0x20000000] STR R15, [R1,#0] I got an error saying, "Error: r15(pc) not allowed here -- `str R15,[R1...
  • The reason why the exception frame forms on PSP?
    Hello experts, I would like to ask the reason why the exception frame forms on PSP in the Cortex-M architecture. My understanding is that MSP (Main Stack Pointer) is the interrupt stack pointer and PSP...