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

Getting started with Realview

Hello to everyone,

getting started with Realview seems to be a little complicated.
The Blinky exampe works. But after adding a printf everything went wrong.
Now i followed the advices and files in my project are:
ADuC702x.S (this is the Startup)
Serial.C (putchar & _getkey)
Retarget.C
My_hallo_blinky.C (just helloworld)

When rebuild all target files i get:
Error L6218E undefined symbol undef_Handler(referred from Aduc702x.o)
Error L6218E undefined symbol SWI_Handler (referred from Aduc702x.o)
Error L6218E undefined symbol Pabt_Handler (referred from Aduc702x.o)
Error L6218E undefined symbol Dabt_Handler (referred from Aduc702x.o)
Error L6218E undefined symbol IRQ_Handler (referred from Aduc702x.o)
Error L6218E undefined symbol FIQ_Handler (referred from Aduc702x.o)

I think i will start a long long vacation in a funny farm!

Parents
  • Take a look to:

    C:\Keil\ARM\RV30\Examples\Hello

    Important is the RETARGET.C file.

    Take a look to: C:\Keil\ARM\Hlp\RVI.chm. It contains overview information about the important steps.

    The main problem in your case seems to be that you are using the wrong STARTUP.S file. The correct version of the Startup files for the RealView compiler is in the folder C:\Keil\ARM\RV30\Startup and the related sub-folders for the indivitual devices.

Reply
  • Take a look to:

    C:\Keil\ARM\RV30\Examples\Hello

    Important is the RETARGET.C file.

    Take a look to: C:\Keil\ARM\Hlp\RVI.chm. It contains overview information about the important steps.

    The main problem in your case seems to be that you are using the wrong STARTUP.S file. The correct version of the Startup files for the RealView compiler is in the folder C:\Keil\ARM\RV30\Startup and the related sub-folders for the indivitual devices.

Children