This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Undefined symbol __SWI_0

I am new on ARM and I am using Keil micro vision v3 . I had build an example for RTX kernel on NXP LPC2368. I flowed step by step the description (Getting started for arm ) but

While I compiled this build I get this Error

RTX_Test.axf: Error: L6218E: Undefined symbol __SWI_0 (referred from swi_table.o).

Can anyone help me to solve this error.

Parents
  • Hi Tamir
    I have the same SWI.s file as you described.
    I added this to my application.

    int __swi(0) disable_fiq(void) ;
    int __SWI_0 ()
    { return __disable_fiq() ;
    }

    When I do that, the compilation go’s *** without any error but when I run debugging
    I receive this message.

    Data Abort: ARM Instruction at 00000128H, Memory Access at FFE08000H

Reply
  • Hi Tamir
    I have the same SWI.s file as you described.
    I added this to my application.

    int __swi(0) disable_fiq(void) ;
    int __SWI_0 ()
    { return __disable_fiq() ;
    }

    When I do that, the compilation go’s *** without any error but when I run debugging
    I receive this message.

    Data Abort: ARM Instruction at 00000128H, Memory Access at FFE08000H

Children