Good day!
I'm currently working on a project, using a Robostix board on it's own
as a self-contained microcontroller. Woking fine at the moment reading
analogue voltages and outputing values via one of the serial ports.
The next thing to tackle is to read sensor/s via the I2C bus - this is
where we've currentley hit a brick wall.
It seems that, although the Atmel ATMega128 does support the I2C
interface, these connections are only available on the Verdex connector
- is this correct?
The signals into/out of the microcontroller seem to be 3.3V but are
passed through a level shifter to give 5V levels - there's 10k pull up
resistors to "V_BATT" which is 5V - how about this?
I think that to use the I2C bus with the Robostix on it's own, we need
to tap into the level shifter lines and bring these out to an external
connector.
If anyone has any experince with doing anything similar I'd welcome any
input!
Thanks!
Spike

what is the default run level if your gumstix? make one script file say [justin.sh] and put it in init.d file (not inittab). make symbolik link with runlevel then it will start automatically when boots.
thanks
mojahid
Phd student
DCU(ireland)
________________________________
From: EmbeddedMicro <justin@...>
To: gumstix-users@...
Sent: Saturday, 14 February, 2009 1:29:11 AM
Subject: [Gumstix-users] Simply startup question
I need to run my program when the gumstix boots. I have a faint idea how to
do this but I don't know how to make sure it runs after everything else.
Also it needs to wait for the robostix bootloader to run the regular code. I
have a file in /etc/init.d containing the program that needs to be run. How
do I make sure it is run last?
Thanks,
Justin
--
View this message in context: http://www.nabble.com/Simply-startup-question-tp22008081p22008081.html
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/

On Wed, Feb 11, 2009 at 12:00 PM, Robert Dodier <robert@...> wrote:
> I have some Verdex boards which I would like to get talking to each other
> in a local network. If numerical ip addresses are used, they can
> communicate,
> no problem there. However the numerical addresses may change, so I'd
> like to see if I can get the wireless router (Ativa) to act as a DNS server
> for them. The gumstix don't need to resolve any host names other than
> for the other gumstix on the router's local network.
This sounds like a perfect job for mDNS (Also known by apple's
Bonjour/Rendezvous name.)
http://en.wikipedia.org/wiki/Zeroconf#Service_discovery
You'll need to setup Avahi and nss-mdns to use this. Avahi will answer
mDNS requests sent by other machines, and nss-mdns will enable your
device to ask other machines for their hostname.
http://avahi.org/http://0pointer.de/lennart/projects/nss-mdns/
I've only used this in my home network on my linux DVR machine, but it
works really well there. It should work just as well for your
application. Plus, it doesn't require any special support from your
router, only the ability to send and receive multicast packets.
-Zach
-Zach

Hi Robert,
I use DD-WRT on a Linksys WRT54G with my gumstix. It's firmware that can be
downloaded to your router. Once there, you can enable DNSMasq to get local
DNS services from the router. Unfortunately I didn't see Ativa on the
supported router list. If you go to dd-wrt.com, they have a database of
supported routers along with the binaries and instructions for updating the
router's firmware.
It's been a while, so I can't remember doing anything other than adding a
hostname line to the /etc/network/interfaces file to enable it on the
gumstix.
I hope this helps.
- Mike Miller
Robert Dodier wrote:
>
> Hello, not a gumstix question per se but maybe someone can help me all the
> same.
>
> I have some Verdex boards which I would like to get talking to each other
> in a local network. If numerical ip addresses are used, they can
> communicate,
> no problem there. However the numerical addresses may change, so I'd
> like to see if I can get the wireless router (Ativa) to act as a DNS
> server
> for them. The gumstix don't need to resolve any host names other than
> for the other gumstix on the router's local network.
>
> Can someone give any advice about this? Any advice, even if generic and
> not specific to the Ativa router, would be appreciated. I suppose I need
> to edit /etc/resolv.conf on the gumstix, and set something on the router.
> I read the router's user manual but I can't find the info, or I don't
> understand.
>
> Thanks for your help,
>
> Robert Dodier
>
>
--
View this message in context: http://www.nabble.com/gumstix-and-local-DNS-from-wireless-router-tp21962996p22012779.html
Sent from the Gumstix mailing list archive at Nabble.com.

Hi Justin,
> I need to run my program when the gumstix boots. I have a faint idea how to
> do this but I don't know how to make sure it runs after everything else.
> Also it needs to wait for the robostix bootloader to run the regular code. I
> have a file in /etc/init.d containing the program that needs to be run. How
> do I make sure it is run last?
Normally, there are files in /etc/rc.d which are symlinks to the files
in /etc/init.d
The files in /etc/rc.d (or /etc/rcX.d where X is a number) are of the form
S99name
where 99 is a two digit number. The files that start with S are
executed in alphabetical order at startup.
So if you name your file S99app then it will be execute last or very
close to the very last.
--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

I need to run my program when the gumstix boots. I have a faint idea how to
do this but I don't know how to make sure it runs after everything else.
Also it needs to wait for the robostix bootloader to run the regular code. I
have a file in /etc/init.d containing the program that needs to be run. How
do I make sure it is run last?
Thanks,
Justin
--
View this message in context: http://www.nabble.com/Simply-startup-question-tp22008081p22008081.html
Sent from the Gumstix mailing list archive at Nabble.com.