Go to advanced search

by dukenukem
Wed Jul 23, 2014 7:33 am
Forum: General discussion
Topic: Auto run 2 different programs at boot
Replies: 8
Views: 1637

Re: Auto run 2 different programs at boot

I have no experience in this field but it seems to me that two feasible ways to run two application in a concurrent way are: 1) a shell script that periodically calls those programs. Here i don't get how to handle the interrupt wake up of one program and the periodic execution of the other (is it po...
by dukenukem
Tue Jul 22, 2014 10:47 am
Forum: General discussion
Topic: Auto run 2 different programs at boot
Replies: 8
Views: 1637

Re: Auto run 2 different programs at boot

Well every 50ms a pin is raised from a micro controller to a GPIO pin of the Raspberry, this pin should generate an interrupt in the Raspberry (that in the meantime is running the other C program) and they should communicate in SPI (this communication lasts for about 2 ms), subsequently this data ha...
by dukenukem
Tue Jul 22, 2014 9:23 am
Forum: General discussion
Topic: Auto run 2 different programs at boot
Replies: 8
Views: 1637

Auto run 2 different programs at boot

Hi everybody, I would like to use a Raspberry Pi in an embedded way in a project: the Raspberry has to auto-run two C programs at boot and periodically (every 50/100ms) run those programs, for its entire life. What is the best way to do so? I am able to auto run programs at boot modifying the rc.loc...

Go to advanced search