avrdude: stk500_getsync(): not in sync: resp=0x00avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I've bootloaded my atmega328P with the "atmega328 on a Breadboard (8MHz internal clock)" bootloader but when i try to upload a sketch I get the error:
On a semi related note, does PWM work the same at 8MHz?
I wanted to skip the external crystal because Im makeing a very simple fading LED device but obviously I may have to re-think it if PWM isn't effective at 8MHz.
ALSO the program isn't terribly time sensitive so accuracy isn't an issue, but does my sketch have to be changed to account for the clock speed change
I used the IDE. Is that a mistake?
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)atmega328bb.upload.protocol=stk500atmega328bb.upload.maximum_size=30720atmega328bb.upload.speed=57600atmega328bb.bootloader.low_fuses=0xE2atmega328bb.bootloader.high_fuses=0xD8atmega328bb.bootloader.extended_fuses=0x07atmega328bb.bootloader.path=atmegaatmega328bb.bootloader.file=ATmegaBOOT_168_ATMEGA328_pro_8MHz.hexatmega328bb.bootloader.unlock_bits=0x3Fatmega328bb.bootloader.lock_bits=0x0Fatmega328bb.build.mcu=atmega328patmega328bb.build.f_cpu=8000000Latmega328bb.build.core=arduino:arduino
Quote from: stoopkid on Apr 28, 2011, 08:16 pmI used the IDE. Is that a mistake?No. That's a good choice. The IDE takes care of the fuses and the bootloader.But it also means the fuses are very likely correct so something else must be wrong.
Do you actually want to install a bootloader on those chips (in which case you'll need to have some sort of serial interface in order to use it), or do you just want to load a program on to them? Or, do you already have the program loaded, and you just want to change them to run at 8MHz using the internal clock?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16