ARM Technical Support Knowledge Articles

PROGRAM HANGS ON SWI INTERRUPT

Applies to: RealView Real-Time Library

Answer


Information in this article applies to:


QUESTION

I recently converted my application to use the RL-ARM RTX kernel. Now when I try to debug, the program hangs on the SWI_handler. This didn't happen before I added the RTX kernel. Why does this happen now?

ANSWER

For RL-ARM applications, you must use the SWI_Handler from the RealView Real-Time Library. To do this, make the following 2 changes (marked in red below) to the interrupt handler definition section in the STARTUP.S file:

                IMPORT  SWI_Handler

Undef_Handler   B       Undef_Handler
;SWI_Handler    B       SWI_Handler            ; Part of RTL
PAbt_Handler    B       PAbt_Handler
DAbt_Handler    B       DAbt_Handler
IRQ_Handler     B       IRQ_Handler
FIQ_Handler     B       FIQ_Handler

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-09-26 00:39:50

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential