We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
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.
I had this same error :(
Startup code is correct, but there is some problems in handlers (Undef_Handler, SWI_Handler, PAbt_Handler, DAbt_Handler, IRQ_Handler, FIQ_Handler). How correct this?
ahhh... im blind ;) Like say Mr. Reinhard Keil every things about this handlers is in "RVI.chm".