I want to run an atmega328 on a breadboard at 2MHz and upload to it via the serial pins (pins 2 and 3). So I am setting the clock divide by 8 fuse bit to enable this, meaning the atmega runs at 2MHz eith the 16MHz crystal. But I can't upload, probably because the bootloader is not expecting the clock to be running at 2MHz. The baud rates are probably mismatched by 8 times, the IDE is trying to upload at 57600 but since the bootloader code is not aware its being clocked at 2MHz, its probably running 8 times too slow. I've messed around a bit with the arduino conf files changing baud rates but had no joy. I was wondering if anyone knows how to do this off the top of their head.
Thanks, Pete
avrisp
section. Replaceavrisp.
withavrispslow.
or something, and change the.name=AVR ISP
with.name=AVR ISP Slow
. Addavrispslow.speed=7200
andavrispslow.program.speed=7200
. Restart the IDE. You should now have a new item in theBoards
=>Programmers
menu. – Gerben Sep 9 '15 at 9:08