Setting up support for the BahBots controller in Arduino

Setting up support for the BahBots controller in Arduino

Postby admin » Fri Oct 01, 2010 9:46 pm

Following are instructions on how to add support for the BahBots controller to the Arduino development environment.

Please note that while it has not been fully tested, so far all programs tested have worked with only minimal changes. Primarily only pin assignments needed to be changed.

First, if you have not yet installed Arduino, download and install the Arduino programming environment from Arduino.cc (currently tested with version 0020).

Next, you will need to download additional board support for the BahBots controller. Currently Mark Sproul has created additional core files to support many of the additional AVR processors. These support files can be downloaded from here: http://avr-developers.com/corefiles/index.html. Follow the instructions on this page on how to put them into place.

Next, there is a small problem were there is support for so many boards, that the BahBots listing may be too low in the list and may get cut off. (I think Mark is working on this issue).

To fix it, edit the boards.txt file and find the section:

Code: Select all
##############################################################
arduino_bahbots1284p.name=Arduino-BahBots 1284p
arduino_bahbots1284p.upload.protocol=stk500v2
arduino_bahbots1284p.upload.maximum_size=122880
arduino_bahbots1284p.upload.speed=38400

arduino_bahbots1284p.bootloader.low_fuses=0xFF
arduino_bahbots1284p.bootloader.high_fuses=0xD8
arduino_bahbots1284p.bootloader.extended_fuses=0xFF
arduino_bahbots1284p.bootloader.path=bahbots
arduino_bahbots1284p.bootloader.file=stk500boot_v2_bahbots1284.hex
arduino_bahbots1284p.bootloader.unlock_bits=0x3F
arduino_bahbots1284p.bootloader.lock_bits=0xFF

arduino_bahbots1284p.build.mcu=atmega1284p
arduino_bahbots1284p.build.f_cpu=18432000L
arduino_bahbots1284p.build.core=arduino
##############################################################


and move it higher in the list. You should then be able to choose it from the list in the Arduino IDE.

If you do not already have the proper bootloader installed, then you will need to install the bootloader with an ISP programmer. If you don't have an ISP programmer you can purchase a good/cheap one from here: http://www.wrighthobbies.net/catalog/product_info.php?cPath=23&products_id=172
admin
Site Admin
 
Posts: 12
Joined: Wed Nov 18, 2009 12:21 am

Return to Support for Arduino

Who is online

Users browsing this forum: No registered users and 1 guest

cron