Go to advanced search

by Killertechno
Fri Sep 05, 2014 5:52 pm
Forum: Beginners
Topic: [NOOB] Compiling, packages and cross-compiling
Replies: 3
Views: 1645

Re: [NOOB] Compiling, packages and cross-compiling

The Raspberry Pi is the hardware. Raspbian Wheezy is the Debian based Operating System Ok, but shouldn't I tell to compiler what hardware am I using... or not? I'm trying to compile earthworm; it has several modules. For example: in a Makefile I have libqlib2.a: $(CC) -c $(CFLAGS) $(C32) $(COPT) $(...
by Killertechno
Fri Sep 05, 2014 4:43 pm
Forum: Beginners
Topic: [NOOB] Compiling, packages and cross-compiling
Replies: 3
Views: 1645

[NOOB] Compiling, packages and cross-compiling

Hi everybody, I'm totally noob about linux compilation and I have no idea how to solve. 1) I got source files of program but I have to compile it to use on Raspberry Pi (binaries are for Ubuntu, I think it wouldn't be the same, right?) I need this: - g++ (ok, I can install) - subversion (ok, I can i...
by Killertechno
Mon Aug 04, 2014 10:47 am
Forum: Bare metal, Assembly language
Topic: WIFI USB adapter issue
Replies: 4
Views: 1909

Re: WIFI USB adapter issue

Having same trouble using USB pen drive (tested with several pen drives correctly working on another Ubuntu PC).
Could it be a kernel issue?
by Killertechno
Fri Aug 01, 2014 10:31 pm
Forum: General discussion
Topic: Help compiling kernel: external/built-in modules?
Replies: 1
Views: 676

Help compiling kernel: external/built-in modules?

Hi, I'm trying to compile kernel. At command make menuconfig I have to select if build-in device drivers (option [*]) or as external module (option [M]). Which differences? Maybe external modules could be updated without re-compiling all kernel? (I suppose) Then, if I've correctly understood, extern...
by Killertechno
Fri Jun 13, 2014 12:55 pm
Forum: Automation, sensing and robotics
Topic: cron and timezone
Replies: 9
Views: 9513

Re: cron and timezone

Hi, how set system time to UTC without DST?
In my system time I correctly set UTC time but system clock is always DST affected.....
by Killertechno
Tue Jun 10, 2014 8:57 am
Forum: Troubleshooting
Topic: Not booting with... RS cards?
Replies: 3
Views: 760

Re: Not booting with... RS cards?

If I write 4GB OS image on SD card, then I make a new partition on remaining 4GB space, SD card always works.
Like if not supported 8GB SD card.....
by Killertechno
Tue May 13, 2014 5:05 pm
Forum: Troubleshooting
Topic: Not booting with... RS cards?
Replies: 3
Views: 760

Re: Not booting with... RS cards?

Sorry, I forget to say I've also "forced" pins. I also updated first thread: micro SD card from RS was class 6 instead class 10 I've written..... but on micro SD card inserted on SD card adapter it's marked as CLASS 4!!!!! So I don't know the correct class (I suppose 6 because when I write OS I writ...
by Killertechno
Tue May 13, 2014 3:55 pm
Forum: Troubleshooting
Topic: Not booting with... RS cards?
Replies: 3
Views: 760

Not booting with... RS cards?

Hi everybody, don't worry, I've already read Not booting (no video)? read this carefully! post... I bought 5 Raspberry from RS, but 2 devices were not booting (red led on, green led just a blink and nothing else), so I supposed a couple of Raspberry defective. OS image downloaded on Transcend 4GB cl...
by Killertechno
Wed May 07, 2014 4:08 pm
Forum: General discussion
Topic: Why does RPi need to pass FCC and CE?
Replies: 20
Views: 5487

Re: Why does RPi need to pass FCC and CE?

So, if I correctly understood, Raspberry is a) stand alone device: plug (power supply, keyboard, mouse, monitor) and play b) sold to millions of people so it requires CE/FCC mark. Now my doubt: I make a simple shield (let's suppose microcontroller + temperature sensor), I use MCU for data conditioni...
by Killertechno
Tue Mar 11, 2014 12:26 pm
Forum: Troubleshooting
Topic: Sync GPIO pulse to internal time: why so difficult?
Replies: 7
Views: 2265

Re: Sync GPIO pulse to internal time: why so difficult?

Ok, thanks for reply. I need a PPS output (similar to PPS GPS), that's why I need sync with software clock. I know there could be a drift so actually I'm working only on Raspberry time (PPS from Raspberry); It will be connected to a GPS based Raspberry ntp server. What accuracy / synchronisation do ...
by Killertechno
Tue Mar 11, 2014 9:17 am
Forum: Troubleshooting
Topic: Sync GPIO pulse to internal time: why so difficult?
Replies: 7
Views: 2265

Sync GPIO pulse to internal time: why so difficult?

Hi, my aint is to generate a pulse (one pulse per second) with internal time sync. Output is 1 at the beginning of the second (within 200 microseconds), then i go to sleep for about 0,1 seconds, then output goes to 0. Here my code in C: // pps1.c // #include <stdio.h> #include <unistd.h> #include <f...
by Killertechno
Thu Feb 06, 2014 3:51 pm
Forum: Italiano
Topic: DS18B20 su web
Replies: 8
Views: 2212

Re: DS18B20 su web

Questo e' il lato client (hello.html) che interroga il server ogni 10 secondi e aggiorna parte della pagina (id: msg): <html> <head> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> </head> <body> <p>Dato dal server: <span id="msg">attesa prima risposta...</span></p> <script> $(d...
by Killertechno
Sun Feb 02, 2014 11:00 am
Forum: Beginners
Topic: How to startx from remote machine?
Replies: 10
Views: 23676

Re: How to startx from remote machine?

[quote="Joe Schmoe"]Actually, the real answer to this question is either:

1) simple version - allows you to run individual X apps and have them displayed locally:
/quote]


"locally": do you mean on my Rasp display?
by Killertechno
Fri Nov 29, 2013 9:45 pm
Forum: Other projects
Topic: NTP PPS
Replies: 285
Views: 124124

Re: NTP PPS

Hi everybody, I'm totally noob about drivers/kernel, etc. etc. So, reading this thread I can get ntp timing from GPS. Ok, then, is there a way to give PPS pulse as output from NTP time? My aint is this: - "master" Raspberry as NTP server (connected to GPS), with PPS output to "check" PPS quality - s...
by Killertechno
Wed Jul 03, 2013 6:56 am
Forum: Troubleshooting
Topic: Network connection manager
Replies: 6
Views: 1680

Re: Network connection manager

Hi, I'm having several problems with Sakis3G (I suppose): I correctly connecto to internet, but as soon I start to download (dowbload speed uo to 400Kbps), connection goes down.
Is there a way to understand why?
Is there other software except Sakis3G to use?
Thanks.
by Killertechno
Wed May 29, 2013 12:54 pm
Forum: Advanced users
Topic: GPRS usb modem, Huawei E171
Replies: 12
Views: 18361

Re: GPRS usb modem, Huawei E171

Thanks, I had similar problem wit 3G modem ONDA MDW655. After installed usb-modeswitch I always had device configured as USB disk at boot, so I always need to reboot rasp to find device automatically configured as USB modem. Or should I unplug-plug USB device to start automatic conversion. Whit foll...
by Killertechno
Thu May 09, 2013 7:40 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Re: Square wave unstable: GPIO or timing troubles?

I need signal to synchronize external hardware, output signal should have from 100 to 2000-2500 Hz. I need to use PPS output from GPS (I've seen there are a couple of posts about sync NTP time to GPS), when not available GPS I would use standard NTP. At the same time I would use as possible only Ras...
by Killertechno
Wed May 08, 2013 2:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Re: Square wave unstable: GPIO or timing troubles?

Do you know PPS output of GPS modules?
It works at 1 HZ, I need to make same thing, working at 2000 Hz, but this time synchronized with NTP time.
My rasp will work as a "GPS-PPS source".

I've tried to work without GUI, same result.
by Killertechno
Wed May 08, 2013 7:17 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Re: Square wave unstable: GPIO or timing troubles?

Unfortunately that's done through PWM, my aim is to make a 2KHz wave synchronized with internal time (like PPS output).
by Killertechno
Mon May 06, 2013 7:48 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Re: Square wave unstable: GPIO or timing troubles?

If the trouble is due the GUI it would be hard, I'll need to use GUI....
Ok, I'll try without GUI (actually I'm using Raspbian, I hope trying with ARCH GUI it'll be better).
Thanks.
by Killertechno
Mon May 06, 2013 7:04 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Re: Square wave unstable: GPIO or timing troubles?

I'm using GUI (X), ethernet disconnected (could this be a problem? I would need ethernet connected on the future).
Then I use USB hub for keyboard and mouse.
by Killertechno
Mon May 06, 2013 6:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Square wave unstable: GPIO or timing troubles?
Replies: 17
Views: 4906

Square wave unstable: GPIO or timing troubles?

I'm trying to make a square wave using GPIO pin. I've followed this: http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/ I used same example code: - C: Maximum performance - BCM2835 C library I also used Getsystemclock (I get time then I wait until difference time is what I need,...
by Killertechno
Mon Apr 29, 2013 3:33 pm
Forum: C/C++
Topic: Writing own device driver
Replies: 4
Views: 3898

Re: Writing own device driver

Hi, is there a tutorial (or similar) about writing driverso for Raspberry? I would like to make my own (I know this feature is already available, but I would make it by myself) timing system: PPS output on GPIO, I sync time through NTP, if not available GPS receiver connected. How can I use hardware...
by Killertechno
Fri Apr 26, 2013 9:50 am
Forum: C/C++
Topic: Build kernel modules against running kernel
Replies: 7
Views: 5112

Re: Build kernel modules against running kernel

I apologize, but I'm a very noob..... I can't understand: I can find default libraries to control GPIO signals on GPIO Raspberry connector. Let's suppose are available on connector GPIO from 0 to 10, but only GPIO 0 to 5 are available from default GPIO libraries. Now I would allow to access "someway...
by Killertechno
Thu Apr 25, 2013 3:43 pm
Forum: General programming discussion
Topic: Read data at 2KHz sample rate, how to?
Replies: 3
Views: 1730

Re: Read data at 2KHz sample rate, how to?

I'm testing SPI libraries (I suppose GPIO libraries in C language, I don't remember), I can reach 3 KHz of sample rate. In high level language (Visual Basic) I can make a software timer interrupt that generates a call, could I make something similar in C/Phyton? I have to synchronize data collecting...

Go to advanced search