On 10/18/2010 05:56 PM, Alexander Stein wrote: > Hello, > > On Wednesday 13 October 2010, 11:51:20 Marc Kleine-Budde wrote: >> As Wolfgang pointed out, it doesn't work, i.e. they show up as "normal" >> messages. You cannot distinguish between loopback'ed messages and normal >> ones. But that can be fixed in the driver. >> >> I think we (the socketcan people) originally thought it's a better >> solution to loop the CAN frames back in hardware (if available), as it >> represents what's happening on the wire far better than software >> loopback. But it turns out that many people need the receive own >> messages feature (for whatever reason). >> >> Send patches or contact your favourite embedded linux support company :))) > > I've checked some manuals and found a bit in flexcan register MCR where you > can disable hardware loopback. But now I'm wondering which flexcan device > support this bit. At least flexcan on Coldfire 5484 (yeah a pretty old one) > doesn't do it. Does somebody else know which devices have / have not this bit?
The current driver doesn't support the old coldfire flexcan (the one without the rx-FIFO) anyway. So feel free to implement full software loopback and send patches. cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
