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

Error while loading an RTX kernel example

Hi,

I am new to ARM and am using Keil micro vision v3 and was tryin to build the example for RTX kernel.

While doing so i encountered the following error

RTX_ex1.axf : error :L6938E : Invalid value for --ro-base.

Can anyone tell me why this is happening and how do i get rid of this error.

Help will be deeply appreciated

Thanks
Meenakshi

  • Hi,

    I changed the linker R/O base to 0x0000.
    Now this error is not coming. However when i try to build the target again i get a whole lot of errors relating to the OS tasks.. some of them are as below

    RTX_ex1.axf: Error: L6218E: Undefined symbol os_dly_wait (referred from rtx_ex1.o).

    RTX_ex1.axf: Error: L6218E: Undefined symbol os_dly_wait (referred from rtx_ex1.o).

    RTX_ex1.axf: Error: L6218E: Undefined symbol _init_box (referred from rtx_config.o).

    RTX_ex1.axf: Error: L6218E: Undefined symbol tstclrb (referred from rtx_config.o).

    RTX_ex1.axf: Error: L6218E: Undefined symbol SWI_Handler (referred from startup.o).

    Please tell me why this is happening. why is the linker not able to access the OS tasks

    Regards
    Meenakshi

  • Hi,

    have you included in your project the RTL.h library? What kind of version of OS are you using?

  • Hi,

    I have included the rtl.h file...

    The project is a demo example availiabel with the evaluation kit. It uses the RTX kernel availiable with uV3. How do i find the version of the OS.

    SHould the version affect the execution especially when i am using just the basic os tasks.

  • You can find the version opening the release note RTL_Release_Note under \Keil\ARM\Hlp.
    You have also select RTX Kernel in the window "operating systems" under Project - options - target in the MDK keil.

    In any case, tell me what's the name of the example that you use that I try to debug for you.

    Regards.

  • hai Meenakshi,

    just now i have compile that program. it is compiled sucessfully with out errors.
    here i am using uvisin3.03a full version.
    and my sugession is just have a look on startup code and options for target.

    regards
    =-raj=-

  • hai,
    i want to know on which microcontroller u r working.

    regards
    -=raj=-