On Tue, Oct 19, 2010 at 3:45 PM, Marc Kleine-Budde <[email protected]>wrote:
> On 10/19/2010 08:25 PM, Jargalan Nermunkh wrote: > >>> I connected a board to a lawicel CAN dongle and receiving on the board > >>> (sending from dongle) is fine but sending (with cangen) from the board > to > >>> the dongle produces repeated frames. > >> > >> We're talking about sending on the mc251x? This is even a different > >> problem. > > > Yes this is a different problem. > > Can you explain this problem a bit more? > > >> What do you mean? Are you using net-next-2.6/master with my series > >> applied or 2.6.35.x? > > > I am a bit new to this sorry about the confusion. I am using 2.6.36-rc4 > > found here: > > > http://arago-project.org/git/people/?p=sneha/linux-davinci-staging.git;a=shortlog;h=refs/heads/davinci-spi-rewrite > > Okay...got it, you're using the "spi-rewrite" driver from this branch. > But which mcp251x driver are you using? The one in that tree is the > 2.6.35 driver. Or have you applied my patches, merged my tree or even > merged net-next-2.6? > > So describe your setup for the repeated frames while sending on the > mcp251x as good as possible (used hardware, kernel+patches, driver, > tools, command line to reproduce, etc...) > > 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 | > > I am using the 2.6.35 driver for the mcp251x (using the one in the "spi-rewrite" tree) with the 8 patches found here: http://www.mail-archive.com/[email protected]/msg01747.htmland fix for the 000 or 004 IDs. Kernel is from the "spi-rewrite" tree and the only change is to bring up the spi bus and running on an OMAP-L138 ( http://www.mitydsp.com/products-services/cpu-engines/mitydsp-l138F/). I am bringing up can0 with "ip link set can0 up txqueuelen 1000 type can bitrate 1000000). I have recompiled the can-utils found in the Socket can SVN repo for the OMAP-L138. The repeated frames are produced when "cangen -vv -g 0 -I 255 -L 1 -D i can0". The repeated frames can be seen on another board and when it is sent to a Lawicel CAN dongle. Thank You -- Jargalan Nermunkh Critical Link, LLC
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
