AVR Robot Controller 1.1 Software Tools

to 8 MHz; (2) enable brown-out detection; (3) disable JTAG; and (4) disable erasing EEPROM when downloading a new program. Please refer to the chip data sheet (www.atmel.com) for a complete list of the fuse bits.

The following steps set the microcontroller to the suggested state.

If you are using BASCOM-AVR: Connect the programmer to your board as above, select “Send to Chip” from the Program menu to bring up the Sample programmer window. Click on the “Lock and Fuse Bits” tab.

In the Fusebits section:

Click on Fusebit B and change the option to “0:BODEN enabled”

Click on FusebitA987 and change the option to “0100:Internal RC oscillator 8MHz” Click on the WriteFS button.

In the Fusebits High section:

Click on Fusebit J and change the option to “1:Disable JTAG”

Click on Fusebit G and change the option to “0:Preserve EEPROM when chip erase” Click on the WriteFSH button.

Close the Sample programmer window.

If you are using avr-gcc and AVRDUDE, downloading the FlashLED (or FlashLEDAlias) program will set the fuse bits as part of the download process. (If you are setting the fuse bits manually, the changes above are accomplished with 0xA4 for the low byte and 0xD1 for the high byte.)

Resources

You can find tools, support, and samples for Atmel’s AVR microcontrollers at the following sites: http://www.seattlerobotics.org/WorkshopRobot/Level1/

Home page for the SRS Robot Level 1 Kit with links for sample code, data sheets, etc.

http://www.barello.net/ARC

AVR Robot Controller resource page, user guide and sample code.

http://www.atmel.com/atmel/products/prod23.htm

Assembler, Simulator, Application notes, software.

http://groups.yahoo.com/group/AVRRobotControl

Technical support, applications, code fragments, documentation, design files.

http://www.mcselec.com

The BASCOM compiler and various application notes can be found here.

http://www.avrfreaks.net

Discussion groups, sample code and projects, avr-gcc C compiler.

http://sourceforge.net/projects/winavr/

Download site for the WinAVR suite of development tools, including GNU avr-gcc C/C++ compiler and AVRDUDE downloader.

http://winavr.sourceforge.net/

Home page for the WinAVR suite of tools.

http://www.eecs.berkeley.edu/~mseeman/resources/macmicro.html

Information about the AVR tools on Mac OS X and a download for a binary installer that will give you all the software you need to program AVR chips on Mac OS X in C.

http://savannah.nongnu.org/projects/avr-libc/

Detailed info on the free AVR tools is located on the site for the AVR runtime library.

11-3-2005

13

Page 13
Image 13
SRS Labs SRS Robot Level 1 Kit manual Resources, Http//sourceforge.net/projects/winavr