• Recovering from a hard fault cortex M3

    Hi,

    I'm new into  mixing C and ASM on Cortex M3 using keil, here is the question,

    Suppose that a function tries to access some memory that is not in the system, something like this, the system crashes with the hardfualt exception, so my question is…

  • Compile error for core_cm3.c

    I'm currently trialing the Keil uVision compiler V5 with the ST demo board MCBSTM32 (uses an STM32F103R8).

    The Keil IDE indicates that a set of the inline assembler definitions are incorrect.

    __ASM uint32_t __get_PSP(void)

    __ASM void __set_PSP(uint32_t…