From: Rodrigo S. <rod...@gm...> - 2006-10-31 05:39:21
|
Hi Wing, It will help if you tell better what you have, eg: expansion cards you own etc... for debugging i bought the tweener to connect a console to the gumstix as an example On 10/30/06, wing yuen <win...@ho...> wrote: > > Dear all, > > Currently, I do not know how to make the gumstix able to run C-code...Is > there any thing could help on this ? As I've tried what wiki doc said but > seems no use... Ok, first of all, did you installed the buildroot in a machine for development?, on this i really recommend installing a linux distro, fedora is what i use, but configured an ubunut lappie of a friend aswell, and works much better ( mean the whole system, for programming both are ok, but im starting to like ubuntu better, its just easier provided you delete or comment out the contents of /usr/include/linux/config.h it will solve a compiling problem of buildroot) So if you had that done... you are a step closer to get things working... If what you dont know is how to do C, its better you get the Kernighan & Ritchie book "The C programming language" ull love it (dont mean you dont know how to code C, just working on the clues you gave) Once you have compiled the archive, youll need to put it on the gumstix by some manner. (Note: factory linux version may be older than the one buildroot you had compiled as following the standard steps, so you need to compile a matching version or load the new compiled image). What i use mostly here is an ftp in my dev machine. I access it from the gumstix+etherstix (ssh to gumstix from anywhere, <ssh -l root gumstixIP>... pass: gumstix ) and with a wget ftp://devIP/archive download it, remember to <chmod u=x archive> prior to execute, just to be sure ;) Also used the netusb stuff.. and worked fine too And other method of transferring data is over the serial interface Quoting Dave Hylands: "You run minicom on the host. Get logged into your gumstix. cd to the directory on the gumstix that you want to download the file to. Then, from minicom, do: Ctrl-A S choose zmodem and a file to download and it should startup rz on the gumstix automatically and download the file." Moreover, I would like to connect the gumstix to brainstem with serial > connection, is there any guide on this ? I've really got no idea on this > >_< > Please help. On this i can not help much than saying you need an adapter for the rs232 voltage levels, at first glance that is what you have in the brainstem, so take a look here http://docwiki.gumstix.org/Gumstix_UARTs, and youll see you will need something like this: http://www.acroname.com/robotics/parts/S13-SERIAL-INT-CONN.html Best regards, > Wing Hope this helps to point you in some way... , try to be more specific on your problems and more will answer, lot of kind and smart people here :D cheers Rodrigo _________________________________________________________________ > Learn English via Shopping Game, FREE! > http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-03ETFJ-0211E > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |