From: <ad...@so...> - 2007-03-23 11:31:13
|
Firstly thank you to everyone who has helped me over the past week and a bit, I reeally appreciate it. I had not configured the fuses correctly and this way why the Roboaudiostix was not work correctly. Everything is running now and my servo code works which is good. I must ask though, I have servos running through 1A and 3A. The servos run fine through 1A, but am having trouble setting 3A to work. I realise that this is because of its alternative port functions but could anyone help by telling me how to overide the signal for the alternative function so I can use use it for Servo control. Kind Regards, Alex Quoting ad...@so...: > As always, thank you very much for all of your the help! :-D > > Just making sure, so I don't damage the device - can I program the > robostix > fuses using uisp via gumstix? I connect to console via the FFUART line. > > Thank you > > Alex > > > > Quoting Dave Hylands <dhy...@gm...>: > > > HI Alex, > > > > > 1) The Blue LED on the WifiStix - when it flashes periodically, is > this > > > because is it sending/receiving data or is this LED controlled by the > > > Roboaudiostix when using the Flash-LED.hex file? > > > > The roboaudiostix doesn't control any LEDs that aren't on the > > roboaudiostix board. > > > > > 2) Is there a command to see what file is on the flash of the > Robostix? > > > > You can read the contents of the flash, but the name of the file that > > was used to program said flash doesn't get printed anywhere. > > > > > 3) Can you put mutiple hex files on the robostix to be run at once or > > does > > > it have to be a single hex file? If you can have multiple, how many? > > > > uisp will allow you to download exactly one hex. Loading a second file > > requires that the first one be erased (which is what the --erase > > option does). > > > > > 4) I have worked out from the examples what the code is to set up the > > printf > > > statements on the Roboaudiostix to go to the UART-0 line. I still > have > > the > > > jumpers on from programming (via uisp) the roboaudiostix. I have > > compiled > > > serial-log program and added it to the bin directory on the gumstix. > It > > > executes but has never displayed any print statements. Am I doing > this > > > correctly? If I can get the print statements working I think I can > > figure > > > out where my code for the servos is breaking down. > > > > > > 5) With the Flash-LED.hex file, what LEDs does it flash (ie where are > > they > > > located)? > > > > There are 3 LEDs in a row, on the short edge of the board opposite > > from the Hirose connector. > > > > If you're LEDs aren't flashing when running FlashLED then you probably > > forgot to program the fuses. If you don't program the fuses, then > > everything runs at 1/16 of the speed and numerous features of the > > ATMega128 are disabled. > > > > Running at the wrong speed could also explain why you're not seeing > > anything on the serial port. > > > > > 6) How can I check to see if the Roboaudiostix is actually running a > > > program? Apart from using print statements. > > > > I use the LED flashing technique, and print statements. I normally > > have my program print a banner which identifies itself, so I can tell > > which program was the last program I programmed into the flash. > > > > -- > > Dave Hylands > > Vancouver, BC, Canada > > http://www.DaveHylands.com/ > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |