I tried the example: C:\Keil\ARM\RT Agent\TI\TMS470R1B1M\Blinky on ARM MDK 3.50
But I get the linker errors:
TMS470HET Assembler 470 HET Release 1.52 Copyright (c) 1996, 1999 Texas Instruments Incorporated PASS 1 PASS 2 No Errors, No Warnings assembling SWI.s... compiling HET.c... compiling Blinky.c... compiling LCD_4bit.c... compiling RTA_Config.c... linking... .\Flash\Blinky.axf: Error: L6218E: Undefined symbol __RTA_rd_adr (referred from rta_config.o). .\Flash\Blinky.axf: Error: L6218E: Undefined symbol __RTA_wr_16 (referred from rta_config.o). .\Flash\Blinky.axf: Error: L6218E: Undefined symbol __RTA_wr_32 (referred from rta_config.o). .\Flash\Blinky.axf: Error: L6218E: Undefined symbol __RTA_wr_8 (referred from rta_config.o). Target not created
The above 4 functions are defined in rt_agent.c as embedded asm functions.
I also tried the examples in C:\Keil\ARM\RT Agent\ADI and C:\Keil\ARM\RT Agent\Atmel, and got the similar linker errors.
The Keil tech support analyst helped me try this example with the same MDK version. And he can build in his machine with no errors. Now I can only guess that something specific to my machine affects the linker.
But I tried the example C:\Keil\ARM\Examples\Blinky without any errors to build. This example has no embedded asm functions.
This is too weird!!!
Does anyone have any hints on this or meet similar errors for the arm linker in RT_Agent built?
Thanks.