How to change arduino serial  programmer speed

Hi all,

I want to use my arduino with a Bluetooth serial converter like the Sparkfun BlueSmirf. However, that board defaults to 9600 baud and the Arduino defaults to 19200. I changed the bootloader to use 9600 baud but I can't figure out how to change how the Arduino application's serial baud rate to talk to it.

Is this possible?

thanks,
DLC

serial.Begin(9600) ?

I mean change the IDE's serial programming baud rate. I want the programmer to run at 9600 baud as well so that I can get a wireless download speed easily from my 9600 baud Bluesmirf.

thanks,
DLC

Check out ARDUINO/hardware/boards.txt (it's the serial.download_rate).

I'll try that. I had just stumbled upon that file. I've been reading the documentation but I have not found a configuration section that mentions this kind of thing. What I have found has been pretty Windows-centric, but that isn't too surprising (I'm on Macintosh), I'm used to that. I understand avr-gcc and avrdude pretty well, so I should get this working soon.

I've tried burning Arduino bootloaders into my M168 via the IDE, but I simply can't get the IDE to recognize anything but "usb" as the programmer - every other thing that I set that field to says "unknown" in the error window.

I'll get this soon, then I'll document it. :slight_smile:

have fun,
DLC

Hi all,

I modified the "boards.txt" file so that the Arduino IDE would download to my custom Arduino board at 9600 baud. I modified the standard Arduino bootloader code for the ATMEGA168 to use a button to push the arduino into bootloader mode with a button down after a reset. Now I can download code over my Bluetooth Bluesmirf connection wireless from my Mac! Since I use the button on a reset or powerup there is no timeout delay before the program starts.

Thanks everyone for your help and thanks to the Arduino developers for making such things possible!

DLC