Technical Support

ARM: SETUP PROJECTS WITH RTX KERNEL


Information in this article applies to:

  • MDK-ARM Version 3
  • RL-ARM Version 3

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

Last Reviewed: Tuesday, January 29, 2008


Did this article provide the answer you needed?
 
Yes
No
Not Sure