Hi!
AVR-Doper is good project, but it has a bug in CDC implementation. For example, when avrdude reopening com-port second time there is a timeout (first time is ok), CodeVisionAVR failed to do anything every second time.
This happens because of usb-packet loss. There are two places for fix (AVR-Doper.2008-11-27):
1. usbconfig.h, line 76:
#define USB_INITIAL_DATATOKEN USBPID_DATA0
No need to do this! just comment it.
2. main.c, line 437:
USB_SET_DATATOKEN1(USBPID_DATA1);
No need, comment it too.
After this improvements bug disappear:)
Also, I have ported AVR-Doper for another hardware: AVR910 by PROTTOSS (
http://www.prottoss.com/projects/AVR910 ... rammer.htm). This programmer is very popular in Russia, so, it would be nice if you take my port (I made it carefully, nothing was violated) and make it official.
Thanks! :)
p.s. sorry for my bad english...
p.p.s. can't attach my port of AVR-Doper, so you can find it here:
http://electronix.ru/forum/index.php?ac ... t&id=42023 .