From: Brian G. <br...@g-...> - 2006-02-19 00:43:32
|
I've set up uispon my gumstix , the uart jumpers and 10k terminal resistor on by robostix. I then managed to load the i2c bootloader, and set up i2c on the gumstix. I can now query the robostix over i2c. As a test I loaded the Simple-Flasher over i2c. This all worked fine, but I did notice one strange behavior; When the robostix is booted while not connected to the gumstix, it appears to boot to the i2c bootloader (red flash pattern) and then switch to the Simple-Flasher (cycling leds) as expected. I haven't tried it, but I would expect it to boot only to the bootloader if jumper pins 9-10 as described in the docs. Although when the robostix is connected to the gumstix, the red led flashes twice when power is applied, and then nothing. Once the gumstix boots and I log in, i2c-load can't query the robostix. I therefore "insmod robostix_drv.ko" and run uisp to check the robostix. I get the "Atmel AVR ATmega128 is found" message and immediately the red led starts flashing as if the i2c-bootloader has started. What is going here? Also, is the robostix supposed to fit the 400mx gumstix so strangely? Somewhere in the middle of the board a component is touching the gumstix such that the alignment is bad. (The boards can't be parallel without bending and stressing something) Brian Gregory |
From: Dave H. <dhy...@gm...> - 2006-02-19 03:22:59
|
HI Brian, > I've set up uispon my gumstix , the uart jumpers and 10k terminal resisto= r > on by robostix. > > I then managed to load the i2c bootloader, and set up i2c on the gumstix.= I > can now query the robostix over i2c. > > As a test I loaded the Simple-Flasher over i2c. This all worked fine, but= I > did notice one strange behavior; > > When the robostix is booted while not connected to the gumstix, it appear= s > to boot to the i2c bootloader (red flash pattern) and then switch to the > Simple-Flasher (cycling leds) as expected. I haven't tried it, but I woul= d > expect it to boot only to the bootloader if jumper pins 9-10 as described= in > the docs. > > Although when the robostix is connected to the gumstix, the red led flash= es > twice when power is applied, and then nothing. See this page, which describes how to use uboot to control the power-on behaviour of the robostix. http://gumstix.org/tikiwiki/tiki-index.php?page=3DRobostix-Uboot When you insmod the robostix_drv.ko, it puts the robostix into reset. You can then use the robostix to take it out of reset (use 'robostix reset pulse'). The S10robostix can also be used to cause the robostix to start during the gumstix boot process. > Once the gumstix boots and I log in, i2c-load can't query the robostix. I > therefore "insmod robostix_drv.ko" and run uisp to check the robostix. I = get > the "Atmel AVR ATmega128 is found" message and immediately the red led > starts flashing as if the i2c-bootloader has started. > > What is going here? uisp takes the robostix out of reset and leaves it out of reset, which is why the main program in the robostix is running. > Also, is the robostix supposed to fit the 400mx gumstix so strangely? > Somewhere in the middle of the board a component is touching the gumstix > such that the alignment is bad. (The boards can't be parallel without > bending and stressing something) The 32 kHz crystal on the gumstix board is hitting components on the robost= ix. I've heard that the newer gumstix boards have a smaller crystal on them. I have one of the original XM boards, so I haven't seen the newer boards yet. I replaced the big crystal on my board with a smaller one so that the boards fit together nicer. Here's a before and after photo: http://www.davehylands.com/gumstix-wiki/Before.jpg http://www.davehylands.com/gumstix-wiki/After.jpg -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Brian G. <br...@g-...> - 2006-02-19 04:00:31
|
Thanks for the response, I must've missed the wiki page. I was interested in your crystal mod pics but the links don't seem to work. Brian Gregory -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Dave Hylands Sent: Saturday, February 18, 2006 10:23 PM To: gum...@li... Subject: Re: [Gumstix-users] robostix i2c bootloader HI Brian, > I've set up uispon my gumstix , the uart jumpers and 10k terminal resistor > on by robostix. > > I then managed to load the i2c bootloader, and set up i2c on the gumstix. I > can now query the robostix over i2c. > > As a test I loaded the Simple-Flasher over i2c. This all worked fine, but I > did notice one strange behavior; > > When the robostix is booted while not connected to the gumstix, it appears > to boot to the i2c bootloader (red flash pattern) and then switch to the > Simple-Flasher (cycling leds) as expected. I haven't tried it, but I would > expect it to boot only to the bootloader if jumper pins 9-10 as described in > the docs. > > Although when the robostix is connected to the gumstix, the red led flashes > twice when power is applied, and then nothing. See this page, which describes how to use uboot to control the power-on behaviour of the robostix. http://gumstix.org/tikiwiki/tiki-index.php?page=Robostix-Uboot When you insmod the robostix_drv.ko, it puts the robostix into reset. You can then use the robostix to take it out of reset (use 'robostix reset pulse'). The S10robostix can also be used to cause the robostix to start during the gumstix boot process. > Once the gumstix boots and I log in, i2c-load can't query the robostix. I > therefore "insmod robostix_drv.ko" and run uisp to check the robostix. I get > the "Atmel AVR ATmega128 is found" message and immediately the red led > starts flashing as if the i2c-bootloader has started. > > What is going here? uisp takes the robostix out of reset and leaves it out of reset, which is why the main program in the robostix is running. > Also, is the robostix supposed to fit the 400mx gumstix so strangely? > Somewhere in the middle of the board a component is touching the gumstix > such that the alignment is bad. (The boards can't be parallel without > bending and stressing something) The 32 kHz crystal on the gumstix board is hitting components on the robostix. I've heard that the newer gumstix boards have a smaller crystal on them. I have one of the original XM boards, so I haven't seen the newer boards yet. I replaced the big crystal on my board with a smaller one so that the boards fit together nicer. Here's a before and after photo: http://www.davehylands.com/gumstix-wiki/Before.jpg http://www.davehylands.com/gumstix-wiki/After.jpg -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd_________________________________________ ______ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Dave H. <dhy...@gm...> - 2006-02-19 05:02:03
|
Hi Brian, On 2/18/06, Brian Gregory <br...@g-...> wrote: > Thanks for the response, I must've missed the wiki page. > I was interested in your crystal mod pics but the links don't seem to wor= k. Whoops - I forgot to upload them to the server, and screwed up the links to boot - Doh. Try these ones: http://www.davehylands.com/gumstix-wiki/Crystal/Before.jpg http://www.davehylands.com/gumstix-wiki/Crystal/After.jpg -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Brian G. <br...@g-...> - 2006-02-19 05:22:43
|
BTW, can you recommend tools and/or tutorial on how to perform a modification to the board like this? I have a robostix board with a reversed red LED that I've been putting off fixing because I'm not that confident with surface mount soldering. How do you manage to heat all of the connectors at once? Multiple irons? Should I invest in a heat gun? Brian Gregory |
From: Dave H. <dhy...@gm...> - 2006-02-19 05:38:54
|
HI Brian, On 2/18/06, Brian Gregory <br...@g-...> wrote: > BTW, can you recommend tools and/or tutorial on how to perform a > modification to the board like this? I have a robostix board with a rever= sed > red LED that I've been putting off fixing because I'm not that confident > with surface mount soldering. How do you manage to heat all of the > connectors at once? Multiple irons? Should I invest in a heat gun? I have a hot-air gun. http://www.sparkfun.com/commerce/categories.php?cPath=3D46_48 That's what I use for the LEDs. Trying to use a single iron will typiically melt the lens Using two soldering irons would make the removal easy. Although for the crystal, I just used my trusty soldering iron. I didn't want to risk disturbing other parts in the area. I was able to heat up one corner and pry it up slightly and worked around the chip until all 4 corners were free (it took about 4 go arounds). At work, We'd have two people each with two irons. Makes removing a 4 contact crystal easy. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Brian G. <br...@g-...> - 2006-02-19 05:58:44
|
Do you have a part number or link for the crystal you used? Or can you point me in the right direction? (My board is a 400mx) Brian Gregory |
From: Dave H. <dhy...@gm...> - 2006-02-19 19:16:46
|
Hi Brian, On 2/18/06, Brian Gregory <br...@g-...> wrote: > Do you have a part number or link for the crystal you used? Or can you po= int > me in the right direction? (My board is a 400mx) The crystal is a Citizen CM415. http://www.citizencrystal.com/images/pdf/ks-cm415.pdf It looks like Mouser has some in stock (I used www.findchips.com to see who has stuff available). http://www.mouser.com/index.cfm?handler=3Ddisplayproduct&lstdispproductid= =3D669954 I highly recommend using a temperature controlled iron. Too much heat could damage parts in the area and you run the risk of a non-functional gumstix. And, of course, I'm pretty sure this voids your warranty :) -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |