Go to advanced search

by tz1
Mon Aug 11, 2014 7:36 pm
Forum: Beginners
Topic: connecting to 802.1x network
Replies: 20
Views: 36257

Re: connecting to 802.1x network

I just tried our corporate N network - the problem at the moment is when I watch it connect, it says wpa_supplicant wasn't configured (when compiled) with the EAP method I'm using showing a hex dump of supported methods - all zero. There may be something else wrong. My arm based android tablets can ...
by tz1
Sat Apr 05, 2014 5:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

3.10.36+

github.com/tz1/pikernomatic has been updated to the latest rpi-update kernel binary.

Attached are the can specific modules built with pikernomatic.
by tz1
Sun Mar 30, 2014 4:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I think I'm close to getting the PICAN ( http://skpang.co.uk/catalog/pican-canbus-board-for-raspberry-pi-p-1196.html ) to work with the mcp2515 driver on the Model B , but cannot get can0 to appear. Any help would be greatly appreciated! The mc251x kernel on the PICAN page ( http://lnxpps.de/rpie/ ...
by tz1
Thu Mar 20, 2014 2:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I have used both of these: http://microcontrollershop.com/product_info.php?products_id=4618 http://microcontrollershop.com/product_info.php?products_id=4719 One is 10Mhz, the other 16Mhz (Also works with Arduinos, see github.com/tz1/CanBusTriple forked from etx's project). I've made a monitor from a...
by tz1
Thu Mar 20, 2014 2:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

Thanks tz1 but i have a problem with this step wget http://www.pengutronix.de/software/libs ... .8.tar.bz2 # tar xvjf libsocketcan-0.0.8.tar.bz2 My Raspi says to me that he cant find this "tool" But i can download it with my Laptop. When i start the "startx" in su mode i can dl it at the Raspi too ...
by tz1
Wed Mar 19, 2014 7:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

cam CAN modules

There was an update for raspicam moving the kernel version to 3.10.33+ and replacing the kernel and binary modules. So here is a new can module archive attached. I'm updating http://github.com/tz1/pikernomatic and will do mcp2515 async later. I have a faster guide to finding the git checkout hash in...
by tz1
Tue Mar 18, 2014 7:03 pm
Forum: Off topic discussion
Topic: Raspberry Pi-racy, GPL violation edition
Replies: 3
Views: 1677

Raspberry Pi-racy, GPL violation edition

http://gpl-violations.org/faq/vendor-faq.html http://gpl-violations.org/faq/sourcecode-faq.html https://www.softwarefreedom.org/resources/2008/compliance-guide.html http://www.gnu.org/licenses/gpl-faq.html#ModifiedJustBinary I am really getting tired of all the software piracy going on by vendors of...
by tz1
Fri Mar 14, 2014 11:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I've noticed the same thing - if there is something else keeping the PI busy (sd card i/o) it will drop frames. I don't know if anything more can be done - I think the latency of the interrupt to the spi transfer of the data won't be that easy to reduce. I think we need a chip with a deeper FIFO, or...
by tz1
Fri Mar 14, 2014 4:43 pm
Forum: Advanced users
Topic: Boot, config.txt, and boot-time selection
Replies: 1
Views: 593

Boot, config.txt, and boot-time selection

I have multiple versions of the kernel (some for TFT, some for CAN, some just normal). Mostly I can use one command line, but it would be convenient if I could use a GPIO pin or some other resource to pick the kernel. config.txt can specify the kernel and the command line, so would it be possible to...
by tz1
Tue Mar 11, 2014 7:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

isotp

While I was looking, I've also added isotp from can-modules (in the mcp2515async repo), so those can utils also work.
by tz1
Tue Mar 11, 2014 6:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

No missing packets

I just pushed an update to my github. I am no longer missing packets at 250KBaud (as far as I can tell, ISO15765 at full speed for a long packet). First, I'm overclocked to 1GHz. See the Tested Values section at http://elinux.org/RPiconfig since I've set the other parameters too including force_turb...
by tz1
Mon Mar 10, 2014 8:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

Overclocking may help with the missing entities, but I will also be looking into the mcp2515 source - there seems to be few things which might be better inlined or otherwise untangled or unrolled to reduce latency.
by tz1
Mon Mar 10, 2014 7:05 pm
Forum: Troubleshooting
Topic: can0 driver stops after some messages
Replies: 1
Views: 468

Re: can0 driver stops after some messages

http://www.raspberrypi.org/forum/viewto ... 18#p510118

and following messages. The older mcp251x driver will lock up. The somewhat newer mcp2515 should work better, but can still miss packets if they occur too close together.
by tz1
Mon Mar 10, 2014 6:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I am struggling for a week now, trying to install them and get them working but i am slowly loosing nerves after reading so many different guides how to do it. I would really appreciate if anyone can post me image of an OS which can run this modules or if can anyone make me a guide how to do get it...
by tz1
Mon Mar 10, 2014 6:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

Thanks tz1 for the downloads. The mcp2515 driver is much better than the mcp251x. However, on multi-frame packets my RPi still appears to suffer buffer overflow or frame loss. ifconfig reports no error frames but the frame parameter on Rx packets is incremented. Do you have any ideas on parameters ...
by tz1
Mon Feb 24, 2014 8:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

modules

This is my set of modules (just the ones for mcp2515 and the can network) for the current raspian kernel.
by tz1
Mon Feb 24, 2014 3:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

That was it, I needed the mcp2515.c version of the driver. I now get the whole stream. Again, I've placed my work at: https://github.com/tz1/mcp2515async Including the script that will automatically download and build all the pieces on a laptop or desktop (if you have the /proc/config.gz and the ker...
by tz1
Sun Feb 23, 2014 8:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I eventually got it so it would dump out 3-20+ frames, then it would be quiet. Looks like you are using the "mcp251x" driver and not the "mcp2515" (with a 5 in place of the x) one ? ... Zeta. OK. I think I know the mcp2515 driver - the patch from http://clientes.netvisao.pt/anbadeol/mcp2515.html Wh...
by tz1
Tue Feb 18, 2014 4:28 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Talking, for a few frames

I managed to compile things, sorry for the frustration and thanks for the help. I have it connected to a truck controller at 250K. I eventually got it so it would dump out 3-20+ frames, then it would be quiet. I would have to unload the spi_config module and then reload and reconfig to get it again,...
by tz1
Fri Feb 14, 2014 5:08 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I tried BOTH methods in the linked file at the top of http://lnxpps.de/rpie/raspi-anleitung.txt Note: why couldn't they use some simple indenting or whitespace? The post uses the redirect symbol so I can't just copy the group of lines from the post and past them into my shell and insure everything w...
by tz1
Thu Feb 13, 2014 11:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Re: CAN controller

I didn't see the latter part of the webpage where the extra CAN modules were added. I started to go through but there are also links to offsite ("if you got your kernel from rpi-update"... ? what does that mean? https://github.com/raspberrypi/linux/issues/486 has a process at the end which is even m...
by tz1
Thu Feb 13, 2014 7:56 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338849

Can't get anything working.

I tried downloading the modules, the rpi_can_310x...xz and tried the 3.10.25+ which is what uname returns, but it says it can't load them - wrong format. There are instructions saying "compile your own", but all I can find is a scattering of things so I don't know what to compile. Do I have to turn ...

Go to advanced search