CAN with more than 4 SJA1000 (memory mapped)
Hello,
recently i managed to setup the CAN bus communication using a Zedboard with eight CAN cores (SJA1000 compatible, memory mapped in FPGA), wirh kernel 3.14.17, xenomai v2.6.4.
4 rtcan_rtt are running in parallel moving data @300usec from 0->1, 2->3, 4->5 and 6->7
everything works (up to now) like charm and I'd like to thank you all for developing
and maintaining such an amazing piece of code!
the only thing i had to change is 1 line inxenomai-2.6/ksrc/drivers/can/sja1000/rtcan_mem.c
the RTCAN_MEM_MAX_DEV was fixed to 4 instead of dropping down from the kernel config, simply changing the line like this:
#define RTCAN_MEM_MAX_DEV (CONFIG_XENO_DRIVERS_CAN_MAX_DEVICES)
had worked the magic.
C.