• 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...
  • ARMv6-M vs ARMv7-M - Unpacking the Microcontrollers
    This article is a follow-on to Navigating the Cortex Maze . As a high-level overview, the earlier article provides an easy way-in to the ARM processor range. It covers Cortex-A (architecture ARMv7-A...
  • Present program counter address
    Good day, I want to refresh and (or) update my knowledge on ARMv7. Is it true for ARMv7-M that when CPU starts execute one instruction, PC value has already been updated/is being updated in parallel...
  • CPU Reset during a Debug session
    Hi All, I am trying to reset the CPU in the middle of a debugging session. I am using Application Interrupt and Reset control register by setting the SysResetReq bit in the SCB block. (this preserves...
  • Beginner question: stack pointer initialization
    Hi, I'm pretty new to ARM processor and STM32 microcontroller, so my question is very basic. In the startup file for a SW4STM32 project (eg startup_stm32f446xx.s) the stack pointer is set in Reset_Handler...