Go to advanced search

by Simoff
Mon Mar 25, 2013 3:10 pm
Forum: Troubleshooting
Topic: i2c issue with rev2 board
Replies: 3
Views: 689

Re: i2c issue with rev2 board

... and I connected the SCL wire wrong..... now everything is working
by Simoff
Mon Mar 25, 2013 1:37 pm
Forum: Troubleshooting
Topic: i2c issue with rev2 board
Replies: 3
Views: 689

Re: i2c issue with rev2 board

Yeah, thats what i thought. but its not working. Old board and i2cdetect 0 gives me the sensors adress, new board and i2cdetect 1 gives me no adress
by Simoff
Mon Mar 25, 2013 12:57 pm
Forum: Troubleshooting
Topic: i2c issue with rev2 board
Replies: 3
Views: 689

i2c issue with rev2 board

Hi, I used a raspberry pi rev1 to read data from a C02 Sensor. Now I got a rev2 board and tried to use it to read the sensors data. The Sensor is connected to the Pi over a level shifter (Sensorbus @ 5V). on rev1 I could simply detect the sensor with i2cdetect 0. Same pin connection on rev2 board wi...
by Simoff
Fri Nov 30, 2012 4:45 pm
Forum: C/C++
Topic: Memory mapping - DMA?
Replies: 2
Views: 856

Re: Memory mapping - DMA?

Thank you. all i wanted to know :D
by Simoff
Fri Nov 30, 2012 3:09 pm
Forum: C/C++
Topic: Memory mapping - DMA?
Replies: 2
Views: 856

Memory mapping - DMA?

Hi,
Im not sure if its the right topic here but i hope so. I have got this question if I use mmap() to map peripherals to virtual user memory and use it, is this some kind of direct memory access (DMA) or is the cpu involved getting and setting the register data?

Thx
Simoff
by Simoff
Wed Nov 21, 2012 4:31 am
Forum: Troubleshooting
Topic: Watchdog started but not rebooting!
Replies: 9
Views: 1463

Re: Watchdog started but not rebooting!

I guess, because I had to restart the pi by hand after I forced the different crashes the system was destroyed by not proper shutting it down.I just reimaged, but it took me a lot of time. Next week i will try again to find a solution
by Simoff
Tue Nov 20, 2012 1:33 pm
Forum: Troubleshooting
Topic: Watchdog started but not rebooting!
Replies: 9
Views: 1463

Re: Watchdog started but not rebooting!

i was not succesful. i destroyed my raspbian :(
by Simoff
Tue Nov 20, 2012 10:36 am
Forum: Troubleshooting
Topic: Watchdog started but not rebooting!
Replies: 9
Views: 1463

Re: Watchdog started but not rebooting!

it seems to be a problem with the watchdog daemon. it never writes a tick to the watchdog device. i searched the linux kernel documentation about the watchdog and found: Watchdog documentation so itried the simple c example: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <unistd.h> 4 #include...
by Simoff
Mon Nov 19, 2012 8:06 pm
Forum: Troubleshooting
Topic: Watchdog started but not rebooting!
Replies: 9
Views: 1463

Re: Watchdog started but not rebooting!

My Pi has got the same issue, but its a Model A. Any suggestion?
by Simoff
Fri Nov 02, 2012 12:04 pm
Forum: C/C++
Topic: fopen beginners problem
Replies: 7
Views: 3953

Re: fopen beginners problem

thank you. this were my to mistakes i did there. no it works fine
by Simoff
Thu Nov 01, 2012 7:23 pm
Forum: C/C++
Topic: fopen beginners problem
Replies: 7
Views: 3953

fopen beginners problem

Hi, Im having trouble with opening files in directories. Everythings fine if the file is in the same directory. For example in directory home/a/ is my c programm "prog" and the file "test.txt" i can open it with fp = fopen("test.txt","r"); with ./prog while located in /a/ is the file located /home/a...
by Simoff
Wed Oct 10, 2012 2:19 pm
Forum: C/C++
Topic: GPIO and Bus lib ..
Replies: 3
Views: 1192

Re: GPIO and Bus lib ..

one useful project could be wiring Pi https://projects.drogon.net/raspberry-pi/wiringpi/
and of course the wiki where GPIO Code examples are http://elinux.org/Rpi_Low-level_peripherals
by Simoff
Fri Sep 21, 2012 9:07 am
Forum: Troubleshooting
Topic: No valid HDMI resolution
Replies: 4
Views: 950

Re: No valid HDMI resolution

Thank you very much, it worked.
Because im interested in the problem: how can i view the edid file myself?
by Simoff
Thu Sep 20, 2012 2:32 pm
Forum: Troubleshooting
Topic: No valid HDMI resolution
Replies: 4
Views: 950

Re: No valid HDMI resolution

while you posted, I already reseted my System (had an working image, from last week). So I attach both outputs. /opt/vc/bin/tvservice -s gave me on the old, running version: state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1280x720 @ 60Hz, progressive and on the troublesome updated versi...
by Simoff
Thu Sep 20, 2012 1:23 pm
Forum: Troubleshooting
Topic: No valid HDMI resolution
Replies: 4
Views: 950

No valid HDMI resolution

Hi everybody, Im using Raspian wheezy (2012-08-16). After installing the last update (espacially to overclock), the Pi does not get the right resolution for my monitor. (its a little 10" faytech monitor). So I tried it on a 22" Dell Monitor, there its working. After booting the pi attached to the bi...
by Simoff
Tue Sep 11, 2012 5:08 pm
Forum: C/C++
Topic: time issue
Replies: 2
Views: 1180

Re: time issue

omg, i should stop programming. the second extremly dump failure in just one day. thank you very much joan the function is already complete and ididnt had to get angry about the wrong year (didnt know that you have to add 1900). but i compiled the whole time on the pi - i should get myself a running...
by Simoff
Tue Sep 11, 2012 2:51 pm
Forum: C/C++
Topic: time issue
Replies: 2
Views: 1180

time issue

Hi, i try to get the systime, but when I am compiling my programm i get an error message. #include <stdio.h> #include <stdlib.h> #include <time.h> .... void timeString(char *dat) { struct tm *systime; time_t clock = time(NULL); systime = localtime(&clock); } the Error is : expected declaration speci...
by Simoff
Tue Sep 11, 2012 10:45 am
Forum: C/C++
Topic: /dev/ttyUSBx -> console
Replies: 3
Views: 1264

Re: /dev/ttyUSBx -> console

i just forgot some brackets.....

if ( ( port = serialOpenPort("/dev/ttyUSB0" ) ) == -1)
so the programm tested if openeing the port gets to an -1 - that did not happen (port was opened correctly) and the logic 0 = FALSE was written to the variable port. and port 0 = console - damn :oops:
by Simoff
Tue Sep 11, 2012 9:26 am
Forum: C/C++
Topic: /dev/ttyUSBx -> console
Replies: 3
Views: 1264

/dev/ttyUSBx -> console

Hi everyone, i wrote a c programm with parts of wiringPi to use the serial port (on debian wheezy). i attached a usb serial converter with a profilic chipset that seemed to work fine. My programm was working until today. i cant figure out why its doing this but instead to the serial port everything ...
by Simoff
Mon Sep 10, 2012 6:14 pm
Forum: General discussion
Topic: Remote controlling the Pi over the internet
Replies: 4
Views: 2168

Re: Remote controlling the Pi over the internet

yeah ok, that works. :shock: its always the simplest answer. *facepalm*

But if there is such a kind of programm i still would want to know (then i dont have to let the pc turned on the whole time)
by Simoff
Mon Sep 10, 2012 4:45 pm
Forum: General discussion
Topic: Remote controlling the Pi over the internet
Replies: 4
Views: 2168

Re: Remote controlling the Pi over the internet

The pi is in the network of the university where i study. there are running some test applications on it and i would like to control from my home that everything is working. on the pcs that are also running here is TeamViewer installed and it works fine. i basicly need a programm where i can log to ...
by Simoff
Mon Sep 10, 2012 4:29 pm
Forum: General discussion
Topic: Remote controlling the Pi over the internet
Replies: 4
Views: 2168

Remote controlling the Pi over the internet

Hi everyone, is there a programm that allows me to remote control the pi over the internet? Console would be fine (i dont run lxde). But ther is one constriction - I dont have acces to the router :( I thought about a programm like TeamViewer only for linux console. is there anything like that? thx S...
by Simoff
Sun Sep 09, 2012 6:50 pm
Forum: Python
Topic: RPi crashes after python script
Replies: 12
Views: 3497

Re: RPi crashes after python script

ok - it was the device. connected to a computer the python script ran the whole weekend without any crash. i searched the whole time for an not existing error *facepalm*


and edit: it seems to be the internal ftdi chip wich provides the problem - just found this here in the forum *double-facepalm*
by Simoff
Thu Sep 06, 2012 8:15 am
Forum: Python
Topic: RPi crashes after python script
Replies: 12
Views: 3497

Re: RPi crashes after python script

damn, why didnt i rule that one out further. i will try by using a pc instead of the serial device and check it.
by Simoff
Wed Sep 05, 2012 2:59 pm
Forum: Python
Topic: RPi crashes after python script
Replies: 12
Views: 3497

Re: RPi crashes after python script

no, but how to see in the code above i write into a .txt file or on top into a MySQL database. Is there an issue with pythons output?

Go to advanced search