Society of Robots - Robot Forum
Software => Software => Topic started by: KurtEck on December 12, 2009, 08:40:37 PM
-
Hi, I am new to these forums,
Today my Axon2 arrived :) It has been a little while since I have done any programming on an AVR based system. Previously I did some with the Atmega32 (SRS workshop robot) and Atmega128 (BDMicro Maveric). I have been meaning to do some more with the ATmega and I really liked the design of the new board as it is a lot easier to add things on to this board then I could do with the Maveric!
Currently I do most of my deveopment on Lynxmotion robots using the Basic Micro BAP28 microcontoller in Basic and some H8 assembly language.
So I decided to start working my way through the Getting started tutorial and cam up with a couple of questions and/or observations.
Setting up Software: Step 6, you mention you need to add the libraries in a certain order, but I dont think this order is matched in the shown image.
In steps 7-8: The program did not complile. The main problem is that it could not find a header file: servopwm.h. Looking through the header files, I tried servos.h and the program did compile after that.
I went on to the hardware page and installed the usb driver and the like. I then went on the bootload page and tried to download the bootloader and I get an error: /axon2/downloads/FBOOT17.EXE does not exist on this server.
I tried a couple of things like, maybe you were up to version 18 or 19 or 20, but same error, so finally found what I think the file is the right file at /axon/downloads/FBOOT17.EXE.
That is all for now, again I think this should be a lot of fun. Later I may have more questions about using the USB boot loader versus using AVRISP or AVRJTAGICE_MKIIā¦ But for now I will keep this simple.
Kurt
-
I had an Axon... I found that the bootloader took maybe 20 or so seconds to download, which got kind of annoying. I got the AVR ISP MKII and now it downloads in seconds. IMO it is worth the money.
-
I had an Axon... I found that the bootloader took maybe 20 or so seconds to download, which got kind of annoying. I got the AVR ISP MKII and now it downloads in seconds. IMO it is worth the money.
You have (had) WinXp SP3. It's documented on the main website that SP3 adds 30-40 seconds to the flash time. I had this problem as well, i rolled back to SP2 and flash times went back to ~5 seconds.
-
thanks for the heads up. I am actually on Windows 7. I also do own a AVRISP and the Jtag. Will have to see if I have the right converters or the like as my ISP has 10 pins.
-
For only $1 you can get a nifty converter board (you have to do the soldering)
http://www.sparkfun.com/commerce/product_info.php?products_id=8508 (http://www.sparkfun.com/commerce/product_info.php?products_id=8508)
Of course, there is always looking for a schematic and do it yourself on a protoboard/breadboard
-
As an early user of the Axon II, you are a victim of all my typos . . . but you did a pretty good job getting around them!
Setting up Software: Step 6, you mention you need to add the libraries in a certain order, but I dont think this order is matched in the shown image.
Actually, only the libWebbot-ATmega640.a file needs to come first. The others can be in any order. I corrected the documentation, sorry for the confusion.
In steps 7-8: The program did not complile. The main problem is that it could not find a header file: servopwm.h. Looking through the header files, I tried servos.h and the program did compile after that.
Oops. WebbotLib combined servopwm.h and servos.h in a recent version. I corrected for it, and even uploaded it, but its still linked to old code . . . use the photovore example in here:
http://www.societyofrobots.com/axon2/downloads/Axon_WebbotLib_examples.zip (http://www.societyofrobots.com/axon2/downloads/Axon_WebbotLib_examples.zip)
I went on to the hardware page and installed the usb driver and the like. I then went on the bootload page and tried to download the bootloader and I get an error: /axon2/downloads/FBOOT17.EXE does not exist on this server.
I tried a couple of things like, maybe you were up to version 18 or 19 or 20, but same error, so finally found what I think the file is the right file at /axon/downloads/FBOOT17.EXE.
oops, link corrected
I had an Axon... I found that the bootloader took maybe 20 or so seconds to download, which got kind of annoying.
http://www.societyofrobots.com/axon/axon_FAQ.shtml#boot_slow (http://www.societyofrobots.com/axon/axon_FAQ.shtml#boot_slow)
I personally prefer to use the ISP programmer simply to avoid the annoying turning on and off of hyperterminal to program.
ps - I updated everything locally, but it won't get uploaded until I fix the FTP on my site . . . long story . . .
-
Thanks!
I ordered the 10->6 converter board from Sparkfun so will probably go this way for awhile. May also convert over my JTAG.
Thanks again
Kurt