Hi, I'm attempting to compile the RTX51 CAN Example Program for the Infineon C515C example from the keil website without much success. I'm using the PK51 with full RTOS. I import the uVision version 1 project following the instructions on importing files from uVision version1. I changed the TARGET_PROC to 515, as this is the chip I hope to use. I've checked the environment, changing the frequency to 16Mhz for the CAN timing calculations. The project compiles without error, but unfortunately produces linker errors.
UNRESOLVED EXTERNALS: ***WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?RTX_PAGE_OUT_REG MODULE: C:\KEIL\C51\LIB\RTX51.LIB (RTXINT)
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: ?B_CURRENTBANK MODULE: L51_BANK.obj (?BANK?SWITCHING) ***ERROR L102: EXTERNAL ATTRIBUTE MISMATCH SYMBOL: ?B_CURRENTBANK MODULE: C:\…\RTX51.LIB (RTXCREA)
EXTRN DATA (?B_CURRENTBANK)
I suggest that you try demo program located in KEIL\C51\CAN\C515C folder. That one works for sure. If you cannot locate it, email me and I'll send it to you. regards Dejan ( dilogic@zg.htnet.hr )