Go to advanced search

by mathiask
Thu Dec 17, 2015 9:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C Bus hangs after ~60sec idle time
Replies: 2
Views: 683

Re: I2C Bus hangs after ~60sec idle time

I'm so glad I finally found the fault that kept me busy for 3 hours. I got a loose contact in my wiring and the small vibrations of my NAS on my desk were enough to trigger the error somtimes -.-

Nevertheless thanks for reading and always check your wiring :P
by mathiask
Thu Dec 17, 2015 8:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C Bus hangs after ~60sec idle time
Replies: 2
Views: 683

Re: I2C Bus hangs after ~60sec idle time

Small addition: calling fd = open("/dev/i2c-1", O_RDWR) and ioctl(fd, I2C_SLAVE, address) works, but after that the i2c_smbus_read_byte_data(...) returns -1(EPERM) AFAIK this error raises if the i2c master is locked by another connection. For me this seems as odd as the idle time until this error oc...
by mathiask
Thu Dec 17, 2015 6:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C Bus hangs after ~60sec idle time
Replies: 2
Views: 683

I2C Bus hangs after ~60sec idle time

Hi,

I got a RPI 2 with a MotorHAT and ADS1015 from Adafruit. If both boards are connected to the I2C bus it looks like the bus hangs after ~60s idle time. If I do a i2cdetect -y 1 the bus and the boards work again if there is no idle time again.

Anybody an idea? I am at my wit's end.

Best regards
by mathiask
Wed Feb 13, 2013 12:19 pm
Forum: Troubleshooting
Topic: Raspberry freeze
Replies: 9
Views: 2213

Re: Raspberry freeze

P.S.: I'm using the Enocean USB 300 aswell but using node to read it ;)
by mathiask
Wed Feb 13, 2013 11:30 am
Forum: Troubleshooting
Topic: Raspberry freeze
Replies: 9
Views: 2213

Re: Raspberry freeze

Hey try updating your kernel to 3.6.11+ like i mentioned in this thread http://www.raspberrypi.org/phpBB3/viewt ... 39#p285539. Now running for 37 hours without hanging.

Regards
mathiask
by mathiask
Tue Feb 12, 2013 11:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 161860

Re: FTDI USB Serial Hangs

A small update from my side. Maybe I'm a bit hasty, but I updatet my pies kernel from 3.2.27+ to 3.6.11+ and no hanging yet. Uptime is about 12 hours. Usually my pi freezed within 2-6 hours when a F232RL device is plugged in. Looking at the kernels changelog shows that there were made changes to the...
by mathiask
Tue Feb 12, 2013 1:48 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 161860

Re: FTDI USB Serial Hangs

Hey I have an issue with a FT232RL. I looked in the logs Feb 8 10:17:16 raspberrypi kernel: [ 10.849892] usbcore: registered new interface driver usbserial Feb 8 10:17:16 raspberrypi kernel: [ 11.070060] USB Serial support registered for generic Feb 8 10:17:16 raspberrypi kernel: [ 11.253296] usbcor...
by mathiask
Mon Feb 11, 2013 9:09 pm
Forum: Troubleshooting
Topic: Raspberry freeze
Replies: 9
Views: 2213

Re: Raspberry freeze

I found a related thread for my issue and as I see it's not solved yet. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=8010&hilit=FT232&start=100 I will try to force USB 1.1 and hope this will temporarily solve the problem until a fix will be available. Added dwc_otg.microframe_schedule=1 dw...
by mathiask
Mon Feb 11, 2013 12:37 pm
Forum: Troubleshooting
Topic: Raspberry freeze
Replies: 9
Views: 2213

Re: Raspberry freeze

It might be worth trying to add smsc95xx.turbo_mode=N to the end of /boot/cmdline.txt. That helped me to get stability. I read this solution in a couple of threads, but there is often the problem a huge amount of network load. But my ethernet idles most of the time and the USB Device only writes/re...
by mathiask
Mon Feb 11, 2013 11:11 am
Forum: Troubleshooting
Topic: Raspberry freeze
Replies: 9
Views: 2213

Raspberry freeze

Hi, I've got a problem with my new raspberry pi B rev 2. The system freezes and I really cant figure out why. I've got the newest raspberry wheezy image installed, apache server + php5 + mysql, node, screen. All working like a charm but i cant run the system a long time. Hardware attatched to the pi...

Go to advanced search