Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Gumstix Programming (http://www.chiefdelphi.com/forums/showthread.php?t=49239)

fowlerm 16-10-2006 14:28

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.

yongkimleng 16-10-2006 23:48

Re: Gumstix Programming
 
I see.. so you're running of .NET framework? Wonder if there is any support for non .NET like VB/VC6 ...

fowlerm 17-10-2006 10:24

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.

EHaskins 17-10-2006 17:52

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.

Tom Bottiglieri 17-10-2006 19:06

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.

EHaskins 17-10-2006 22:52

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.

fowlerm 18-10-2006 10:07

Re: Gumstix Programming
 
Quote:

Originally Posted by EHaskins
I have one question, do you know if VS.net 2003 would work?

VS2003 will work, but only for developing managed applications and you will only be able to target .NET CF 1. There is a VS2003 add-in called Windows CE Utilities that you need to install to be able to connect directly to the CE device for debugging.

If you need to develop native apps you can download eMbedded VC++, which is free.

Edit: I forgot - doesn't VS2005 Standard come in the FIRST KoP?

fowlerm 18-10-2006 10:50

Re: Gumstix Programming
 
Quote:

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

The biggest reason is that it provides a powerful and stable OS (not to say that Linux isn't) that many developers would be more familiar with. CE shares many of the same SDK features as Win32, and the .NET CF makes it even easier to transition from desktop to embedded development.

Quote:

Originally Posted by Tom Bottiglieri
It seems logical to use an easily changeable script to manage this, rather than cross compiling each time you want to change something.

This isn't really an issue since .NET can dynamically load assemblies. Also there are many scripting languages that will work with the .NET CF. As soon as the .NET CF includes the System.Reflection.Emit namespace I will be doing most of my robotics development using IronPython (Python for the .NET CLR).

Quote:

Originally Posted by Tom Bottiglieri
As good as it this is, you will probably be able to get better efficiency from a compiled C program.

This is true, but there are many things that you can do to speed up your applications. The biggest issue is memory consumption (because of the JIT compiler), but with good coding this can be minimized. For a comparison of execution speed of the .NET CF 2 vs. native code on the PXA255 CPU this is a great article. Also, the .NET CF can invoke native methods from managed code, so you always have the option of mixing managed and native code to speed things up.

lupjohn 18-10-2006 15:52

Re: Gumstix Programming
 
Quote:

Originally Posted by EHaskins
I've been considering purchasing a gumstix computer( netstix 200xm-cf, or waysmall 400mhz). I know many teams have used gumsitxs on their robots, and I'm curious how you've programmed them?

I don't have access to a linux computer :( , and I have never done any linux programming :o , but I have done lots of Windows and embedded programming. I would appreciate any linux programming resources, or code for gumstixs, but more than anything I would like any comments on gumsitx, or any other systems you've used.

I know someone will ask so I'll say now. I plan to use the gumstix in a position tracking system, and poisably connect a web cam to replace the $&%#$^ CUMCam. I also want to be able to save a record of all inputs, motor outputs, and any other data I can so I can replay a match virtually to help identify problems.

EDIT: After looking through the gumstix models I'm leaning towards a Waysmall due to the serial ports.
Thanks,
Eric Haskins

Eric and all;
Microsoft has intro'd their robotics suite which drew dubious comments in previous threads. However I have read the interviews in several pubs and actually downloaded the August edition to play with. It would seem to me if this product is successful then the gumstix/winCE/VS2005( or facimile of the same) environment could be in the future of at least FRC. I would not be supprised if the DVD of the Robotic Studio ends up in the KOP for 2007. First's close ties with MIT would predict that some sort of global robotics software environment will eventually become part of the KOP of the near future. LRU.

fowlerm 23-10-2006 15:47

Re: Gumstix Programming
 
Quote:

Originally Posted by lupjohn
It would seem to me if this product is successful then the gumstix/winCE/VS2005( or facimile of the same) environment could be in the future of at least FRC. I would not be supprised if the DVD of the Robotic Studio ends up in the KOP for 2007.

I don't think this will happen any time soon. MSRS doesn't have runtime support for Windows CE yet, so you would need to have Windows XP Embedded (and a 32-bit PC) running on your robot, which isn't practical at all.

If we were to get any of the new Microsoft development technology to play with next year I would think that it would be the .NET Micro Framework, but this is unlikely. The IFI RC would require different hardware and I don't think Microchip would be too receptive to moving away from their microcontroller line.

Max2007 28-11-2006 16:44

Re: Gumstix Programming
 
All,

Totally new to the world of robotics, but have been doing some reading and the gumstix looks like a good starting place , as its a new chip. Most of the pre-built bots I seem are all based around PIC chips, which seem very old now.

Looking at this thread it seems some people have been able to get the gumstix working with .NET, which for me is good news as that my background. Would be could if someone could PM or post an idiot guide to how to do this and what stix they bought. As the idea of linux is one I would like to avoid

Thanks in advance

M

gobeavs 01-12-2006 01:46

Re: Gumstix Programming
 
If I'm familiar with linux (gui and command line), is a gumstix easy to get running? Or is there some setup that needs to be done or any kind of learning curve?

fowlerm 02-12-2006 14:22

Re: Gumstix Programming
 
Quote:

Originally Posted by gobeavs
If I'm familiar with linux (gui and command line), is a gumstix easy to get running? Or is there some setup that needs to be done or any kind of learning curve?

You shouldn't have any problem. The Gumstix boards come preloaded with u-boot (the bootloader) and a 2.4.x kernel. I am not that familiar with the other Linux software that's included since I reflash them with a CE image as soon as I get them.

fowlerm 04-12-2006 10:21

Re: Gumstix Programming
 
Quote:

Originally Posted by Max2007
Would be could if someone could PM or post an idiot guide to how to do this and what stix they bought.

I don't have a setup guide for Windows CE on the Gumstix. I may write one in the future, but right now you can look at the documentation that others have contributed to the GotDotNet workspace for the Drumstix project.

See the above posts for hardware requirements.


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

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