doper: programming only with internal oscillator

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
plinepa

doper: programming only with internal oscillator

Post by plinepa » Tue Dec 30, 2008 9:03 am

Hello Forum!

When I'll programm my targetboard from myavr it will only be successfull with running the target at internal oscillator with 1MHz.
(default setting, the programmer works fine)

When the external crystal is activated 3,6864MHz the programming breaks with following error:

Code: Select all

Writing | avrdude: stk500v2_command(): unknown status 0x80
avrdude: stk500v2_paged_write: write command failed
################################################## | 100% 0.38s


In Readme.txt stands
Setting ISP clock
AVR-Doper uses a moderate ISP clock (~ 100 kHz) after power-up


The programming speed must always be higher then 1/4 CPU-Speed.

But 100kHz is less than 1/4 CPU...

Please bring light in my confusion?

THX
plinepa

PS: sorry for english, the last lesson was over 25years ;-)

Post Reply