• Recovering from a hard fault cortex M3

    mike morgen
    mike morgen

    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…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • uVision Target Simulation of Custom chip

    ViniciusG
    ViniciusG

    Hello,

    I am aiming to develop a custom system based on ARM Cortex-M3 core. This chip will contain some CMSDK default peripherals, but also custom peripherals not present in CMSDK.

    How can I simulate the behavior of these peripherals when debugging with…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Branch to a label in inline assembly

    Teddy Zhai
    Teddy Zhai

    Hi All,

    I have a label, say "XXX" in the startup assembly code.

    Later if I want to jump to label "XXX" in the inline assembly by using

    __asm{ B XXX }

    The ARMCC compile in Keil MDK complains "the label XXX is referred but not defi…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Compile error for core_cm3.c

    John Wellbelove
    John Wellbelove

    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…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • View related content from anywhere
  • More
  • Cancel