From: Brian G. <bgr...@g-...> - 2007-05-31 23:18:50
|
I bet that it what happened, I think I loaded one on the prebuilt hex files a while back and never replaced it. My mistake. I'll try loading one built from source. BTW, I'm currently working on code to bit-bang the interface to the parallax HM55B compass. It turns out I'd have to anyway considering it uses 4-bit commands and a 2 11bit responses, from what I understand SPI requires 8-bit groups. When I get it working I'll post it on here or the wiki. Brian Gregory -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Dave Hylands Sent: Thursday, May 31, 2007 4:07 PM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] i2c-io and the blue LED Hi Brian, On 5/31/07, Brian Gregory <bgr...@g-...> wrote: > I've noticed that whenever I send an i2c-io command to my robostix the blue > LED toggles. The strange thing is that I can't find where this happens in > either the i2c-io code or the i2c-Bootloader code. The only place that I can > find it is in Config-LED.h where it is commented out. So, as long as CFG_I2C_LED_PORT and CFG_I2C_LED_MASK are defined when the i2c-slave.c was built for the bootloader, then that's what causes the blue LED to flash. Did you build and program your own bootloader? Or use one of the prebuilt ones? I know I went back and forth on whether to use it, and its possible that one of the precompiled bootloaders had the option set even though the checked in source code doesn't. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |