Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
The Axon, and other AVR microcontrollers, cannot run Linux, because they don't have enough RAM and CPU resources to support a full operating system. Instead, they come with support libraries that let you talk to peripherals, handle interrupts, etc. But the microcontroller only runs one set of code at a time -- the code you load into them.WebBotLib is one such set of support libraries, that comes with a convenient set of helpers for building your robot-specific project. Other such sets of libraries include the Arduino libraries, the avr-glibc library, the libraries that come with AVR Studio, and the LUFA library (for USB-based AVRs.)The easiest way to make sure you can use any tool to program your AVR microcontroller is to get a USB programmer. The STK 500 mk II, and various clones, is the most compatible with various tools (including AVR Studio, Arduino IDE, plain avrdude program, etc.) When using a programmer, you don't need a bootloader at all.
I want to program my Axon from my linux computer.
Try using WebbotLib Studio - see http://webbot.org.uk/iPoint/50.pageIts Java based and runs on Linux - but I haven't re-tested it for a while.Your Axon comes with a bootloader already installed (but if you've used a hardware programmer like the AVRISP MKII then it will have wiped it). Assuming its still there then all you will need is a USB cable since WebbotLib Studio includes the software to upload to the Axon bootloader.
Quote I want to program my Axon from my linux computer. I see. I do that all the time with various AVR microcontrollers.The Arduino IDE runs on Linux just fine, for a simple to use case.Also, the avr-gcc and avr-libc and avrdude tools are available as packages for most linuxes (Debian, Arch, etc) Those will let you build any code you want, but you have to use make files and a separate text editor (I use vim.)avrdude is the program that "burns" built software to the microcontroller. It recognizes a number of different programmers (that hook up to the 6-pin ICSP port.) The cheapest ones are typically USBasp or USBtinyISP. You can find them for < $10 on eBay, or for about $15 from places like adafruit or sparkfun or pololu.There's a little bit of udev rule configuration to get them to work automatically (without sudo) but that's not too bad.
Quote from: Webbot on May 07, 2014, 03:26:07 PMTry using WebbotLib Studio - see http://webbot.org.uk/iPoint/50.pageIts Java based and runs on Linux - but I haven't re-tested it for a while.Your Axon comes with a bootloader already installed (but if you've used a hardware programmer like the AVRISP MKII then it will have wiped it). Assuming its still there then all you will need is a USB cable since WebbotLib Studio includes the software to upload to the Axon bootloader.How do I run this? What program can I open the download with, it refuses to open with anything but a text editor.