• Hard fault when branching to main
    Hi, I am working in a C++ project for STM3210C-Eval Board (Cortex-M3). I wrote some classes and got the project working perfectly. Then I designed other classes to increment project functionalities...
  • Hard fault when branching to main
    Hi, I am working in a C++ project for STM3210C-Eval Board (Cortex-M3). I wrote some classes and got the project working perfectly. Then I designed other classes to increment project functionalities...
  • SAM7.s branch to main() causes SWI. Why ?
    Hello. In my SAM7.s startup file for AT91SAM7X256, the following instructions are executed: . . . ; Enter the C code IMPORT __main LDR R0, =__main BX R0 . . . Disassembled as follows: 0x0010011C...
  • SAM7.s branch to main() causes SWI. Why ?
    Hello. In my SAM7.s startup file for AT91SAM7X256, the following instructions are executed: . . . ; Enter the C code IMPORT __main LDR R0, =__main BX R0 . . . Disassembled as follows: 0x0010011C...
  • Branch to main fails (ends up in SWI handler)
    I have a project that works until I add in some C modules that I inherited from someone else. The startup code (sam7.s) is the default startup code supplied by KEIL for the ATMEL AT91SAM7S256 (for MDK...