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)
Hi I've been playing around with the RTX51 CAN Example Program for the Infineon C515C. I've hit a problem though, my send module increments the LEDs of the Phytec Development board, with the transmit pin flashing on and off. However as soon as I turn my receive module on, my transmit module stops transmitting. If I reset the two boards the transmit board still refuses to transmit. In the code I have set
SENDER to 1
SENDER to 0
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 )