ARM Technical Support Knowledge Articles

SETUP PROJECTS WITH RTX KERNEL

Applies to: ARM Development Tools

Answer


Information in this article applies to:


QUESTION

I have created an RTX application from scratch (not using one of the template projects). I have just added the file RTX_Config.C to my project but apparently the RTX kernel does not work.

What can be wrong?

ANSWER

The RTX kernel uses a SWI handler, therefore the startup file of this device must be adapted to use the SWI handler.

Typically, you need to make the following changes in the CPU startup file to enable the RTX SWI handler:


                IMPORT  SWI_Handler

UndefHandler    B       UndefHandler
;SWIHandler     B       SWIHandler           ; Part of RTL

MORE INFORMATION

Article last edited on: 2008-01-29 02:15:18

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