Go to Post We don't tell new mentors about the Mentor VIP Adults Only Lounge, you'll get your key if we approve. We have leather couches, flat screens, and free corndogs in there. - Monochron [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-10-2006, 11:31
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: Gumstix Programming

I havent looked into it. Aint it just a sbc running linux. So you should be able to use C, C++, Perl, Python, etc. They have a dev wiki and SDK. Not sure how much info you are looking for.

Wiki: http://docwiki.gumstix.org/Main_Page
  #2   Spotlight this post!  
Unread 02-10-2006, 11:42
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

One of the big problems i'm having is figuring out how to program a linux compuer from windows. I have look into flash drive sized versions of linux, but I only have a laptop and I can't get them to boot . I think it is a hardware incompatibility.

I havn't done any linux programming so I was hoping someone had some good resources for linux programming, but gumstix specific is better.
__________________
Eric Haskins KC9JVH
  #3   Spotlight this post!  
Unread 02-10-2006, 12:32
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: Gumstix Programming

Quote:
Originally Posted by EHaskins
One of the big problems i'm having is figuring out how to program a linux compuer from windows. I have look into flash drive sized versions of linux, but I only have a laptop and I can't get them to boot . I think it is a hardware incompatibility.

I havn't done any linux programming so I was hoping someone had some good resources for linux programming, but gumstix specific is better.
Neither have I looked into it. But you got to figure a way to output console text to the serial port, coz you got no screen. And you could use GCC to write your software.
__________________
| jamesyong.net |
FVC2007, FTC2008
  #4   Spotlight this post!  
Unread 02-10-2006, 13:18
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

Is it possible to use GCC/or other compilier on windows?
__________________
Eric Haskins KC9JVH
  #5   Spotlight this post!  
Unread 02-10-2006, 13:25
Mike Shaul's Avatar
Mike Shaul Mike Shaul is offline
Registered User
FRC #0065 (Huskie Brigade)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Farmington Hills, MI
Posts: 53
Mike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant future
Re: Gumstix Programming

I need to start by saying that I have no experience with the Gumstick processor... however, I do have Linux and Linux-in-windowns programing (we use GCC for our secondary processor).

First, check out Cygwin, you can run many command-line linux applications in windows using this. It is essentially, a linux terminal you can run in windows.
Cygwin

My guess is that the Gumstick is programed with (or can be) with the standard GNU GCC C compiler. This along with the correct flash utility and Cygwin you *should* be able to do what you want.

If you still want to run Linux on your laptop, try a "Live" CD. I suggest Ubuntu or Knoppix

Hope this helps!
__________________
By far the best proof is experience. - Sir Francis Bacon
  #6   Spotlight this post!  
Unread 02-10-2006, 13:45
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

Thanks, I have started a Cygwin install, but I don't have a gumstix yet. Hopefully this will work.

Thanks for your help everybody!
Eric Haskins
__________________
Eric Haskins KC9JVH
  #7   Spotlight this post!  
Unread 05-10-2006, 12:21
rsosa rsosa is offline
Registered User
no team
 
Join Date: Oct 2006
Location: Uruguay
Posts: 1
rsosa is an unknown quantity at this point
Re: Gumstix Programming

first of all hi everybody here... first poster am i
Im using the gumstix and i can assure you wont regret getting one, at least just for fun.

For the cross compiler dont bother with windows and stuff... its more a prob than a solution... so.. do a dual partition on that disk and install a fedora or the taste you want, (ubuntu requires more tuning but will do ok and after tuning it will last more and is more easy to use)
Yes there is no or little docs about gumstix... but the documentation itself isnt in the gumstix itself... you need the pinouts etc and some more tips.
You have for robotics... robostix (atmega 128 datasheet, you dont need more)
the gumstix itself is a bundled intel chip (again other datasheet) the rest of the stuff you dont have was already coded by a guy who in other words saved my project... he is Dave Hylands and always open for answering questions and there is a growing numbers of people on this. Forums arent that active, get a gmail account and sign to the newsletter (gmail because its easier to use)
And there is a LOT of code written already (most by Dave) which just rocks in simplicity and ease of use.
Believe me after some familiarization with linux you will go with no probs
hope this helps
cheers
  #8   Spotlight this post!  
Unread 12-10-2006, 23:50
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

I have used the Gumstix platform running Windows CE 5. If you do that you can actually develop fairly complex realtime control applications using the .NET Compact Framework. Check out the DrumStix Project for details on how to get CE up and running on the Gumstix.

If you pair the Gumstix running CE with a Robostix board you can create some pretty cool robot control systems.
  #9   Spotlight this post!  
Unread 13-10-2006, 11:07
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

What does it cost to get a gumstix running Windows CE?
__________________
Eric Haskins KC9JVH
  #10   Spotlight this post!  
Unread 16-10-2006, 14:28
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by EHaskins
What does it cost to get a gumstix running Windows CE?
I have used the Gumstix Connex 400xm - 400MHz XScale and 16MB of flash, which looks like it's going for $129 now. You also need a "tweener" board which gives you a serial port as well as access to the JTAG lines. You will need an ARM JTAG programmer - you can build one yourself or buy one like this .

As far as software goes, you will need Microsoft Platform Builder (there is a free 120-day trial) and Visual Studio 2005 (for .NET CF development).

That will get you to where you can flash the Drumstix bootloader onto the Gumstix and begin building CE OS images. As long as your OS image includes the .NET CF runtime you can connect to the Gumstix with VS2005 and download applications.
  #11   Spotlight this post!  
Unread 16-10-2006, 23:48
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: Gumstix Programming

I see.. so you're running of .NET framework? Wonder if there is any support for non .NET like VB/VC6 ...
__________________
| jamesyong.net |
FVC2007, FTC2008
  #12   Spotlight this post!  
Unread 17-10-2006, 10:24
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by yongkimleng
I see.. so you're running of .NET framework? Wonder if there is any support for non .NET like VB/VC6 ...
There is support in both Platform Builder and Visual Studio 2005 for developing native code. VS2005 supports native code development in C++ and this support will be greatly enhanced with VS2005 SP1.

There was a legacy product called eMbedded VB that allowed for VB6-like development for PocketPC, but support for that was dropped with the introduction of PocketPC 2003 and VB.NET with the .NET CF.
  #13   Spotlight this post!  
Unread 17-10-2006, 17:52
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

Thanks for showing me Drumstix. I have one question, do you know if VS.net 2003 would work? I only have the express editions of 2005, and since I'm on a limited budget for this I don't want to go spend $500 on VS 2005.
__________________
Eric Haskins KC9JVH
  #14   Spotlight this post!  
Unread 17-10-2006, 19:06
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Gumstix Programming

I'm wondering why you would want to run CE when there is a perfectly good linux kernel that comes standard with these things.

I've decided to do all of my linux-for-robotics development in a scripting language. I haven't decided yet (Python, Perl, Ruby) because I simply haven't had the time to look into it. Robots typically follow a command structure which is constantly changing. It seems logical to use an easily changeable script to manage this, rather than cross compiling each time you want to change something.

As good as it this is, you will probably be able to get better efficiency from a compiled C program. Gumstix uses an intel chip so the standard GCC should be fine.

Keep us updated on your project.

Last edited by Tom Bottiglieri : 17-10-2006 at 19:11.
  #15   Spotlight this post!  
Unread 17-10-2006, 22:52
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

I have used .NET a lot, and I don't even have a Linux machine! If I'm going to spend $200-$500 on a gumstix I want to know I can use it.
__________________
Eric Haskins KC9JVH
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini-ITX or Gumstix? lemoneasy Programming 1 10-04-2006 19:50
VEX or Gumstix? gobeavs Programming 5 06-04-2006 01:04
programming motors with programming kit BorisTheBlade FIRST Tech Challenge 4 01-11-2005 19:03
programming JasonWestHigh Technical Discussion 1 13-01-2003 20:54
programming archiver 2000 2 23-06-2002 22:59


All times are GMT -5. The time now is 20:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi