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

problem: uvision 3 upgrade to uvision 4

I have a project which was completed by another persion by using uvision 3. Recently I plan to add some new fuctionalities in this project.
Since I only have uvision 4 on my machine, so, I plan to use uvision 4 to open the project and see if I can complie the project.

Without touching anything of the source and header files, I opened this project using uvison 4. However, when I compiled this project, there was an error message, "_swi_0 multiply defined in hal.o and rtx_config.o".

Is it caused by the toolchain upgrade? could anyone help on this issue?

Thanks a lot!

The hardware platform is LPC 2103 (Arm-7 core based)
RTOS: keil MDK RTOS

Louis

Parents Reply Children
  • Thanks for your quick reply!

    Then it's time for standard debugging.

    You have enough stack?
    ----I will double check.

    Are the memory regions in the project correct for your processor?
    ----yes, for both scatter file and flash tool setting, there are same, i.e., on-board rom 0x0-0x8000, and on-board ram: 0x40000000-0x40002000.

    You use a boot loader or is your hex file complete for bare-bones execution?
    ----My understanding is that the startup.s is responsible for loading the real Keil RTOS.

    Does the clock settings seem to agree with your processor
    ----The frequency of the external crystal is 14.7456MHz, which is same as startup.s and the rtx_congig.c settings.