Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
This thread might be helpful: http://www.societyofrobots.com/robotforum/index.php?topic=8714.0Particularly this link within: http://tinkerlog.com/2007/09/29/programming-avr-with-a-macbook/I have been using the USBtinyISP programmer from ladyada.net and avrdude in Terminal to load the programs onto my $50 robot. Since the Axon and the $50 robot both use Atmel AVR chips, I would think you can do it the same way but you might be overwriting the bootloader that's already on the Axon by default.Right now I'm trying to add in UART and the bootloader to my $50 robot, so I will have to switch to the SILabs chip and USB to program directly. But as I am running into problems myself, this is also of interest to me
Quote from: Crunchy Theory on December 01, 2010, 12:49:45 PMThis thread might be helpful: http://www.societyofrobots.com/robotforum/index.php?topic=8714.0Particularly this link within: http://tinkerlog.com/2007/09/29/programming-avr-with-a-macbook/I have been using the USBtinyISP programmer from ladyada.net and avrdude in Terminal to load the programs onto my $50 robot. Since the Axon and the $50 robot both use Atmel AVR chips, I would think you can do it the same way but you might be overwriting the bootloader that's already on the Axon by default.Right now I'm trying to add in UART and the bootloader to my $50 robot, so I will have to switch to the SILabs chip and USB to program directly. But as I am running into problems myself, this is also of interest to me I've read about LadyAda and the USBtinyISP programmer. I was a little confused(first Mac user) - on my windows/linux machines, I can just set the baud rate, connect the Axon to the USB port and use the bootloader to download the code. On the Mac, it seems closed. I've installed Ubuntu under virtual box and I'm able to use the linux method(stty) to set the baud rate but that command seems to not do anything in Mac.I figured maybe there's a trick with the Mac OS that I'm not familiar with.Based on your experience, how are you finding the USBtinyISP? Is it worth it to have when your main(only) device is the Axon?
Using an ISP programmer will overwrite the bootloader, but its not a big deal as an ISP programmer can program the bootloader back onto the Axon.The Axon bootloader has an auto-baud feature, so it'll generally work no matter the baud you send the .hex at.
I realized a little while ago that I wasn't sure if I could use Terminal to talk to the board. So I did some digging and found ZTerm: http://homepage.mac.com/dalverson/zterm/I'll have to give it a try when I get my UART-to-USB breakout board. But since you already have an Axon, you might look into this if you don't already have a way to talk to it.Or let me know if Terminal works, that would be cool too!