• 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...
  • SWI Handler - Parameters
    If I use the swi_handler.s file that is included in NXP's example programs, does it automatically have the ability to handle passed 'C' parameters? Are the parameters passed on the stack? Note, I...
  • SWI Handler - Parameters
    If I use the swi_handler.s file that is included in NXP's example programs, does it automatically have the ability to handle passed 'C' parameters? Are the parameters passed on the stack? Note, I...
  • Break point at SWI handler
    Hi everyone, I'm using Jlink with openocd to debug ARM926EJ-S and encountered problem when executing SWI command. Even though I don't set a break point at SWI handler but the CPU breaks at SWI handler...