Page 1 of 1

2 Problems with AVR Doper (2008-11-27 Firmware)

Posted: Fri Jan 02, 2009 4:05 pm
by Bimbo385
I build a AVR Doper without the HV-Part.

But I have 2 problems:

I get an error about the firmware version (I have to use AVR Studio).
In the Elektor-version you already fixed this problem, but I need the 3-state outputs.
So I can't use the Elektor firmware.


If I use an USB-Stick and the AVR-Doper on the same time.
The Flash routine stopped at 95% and I get an error message.


Is it possible to fix the problems and upload a new firmware version?
I haven't any experience in C so I can't fix it by myself.

Sorry for my very bad English!

Posted: Sun Jan 04, 2009 7:55 pm
by christian
If you compile from the source code, edit firmware/stk500protocol.c and change the constants

/* The following versions are reported to the programming software: */
#define STK_VERSION_HW 1
#define STK_VERSION_MAJOR 2
#define STK_VERSION_MINOR 4

appropriately.

The other issue: Don't know why there are any interactions with the USB memory stick. If you use CDC mode, the memory stick may affect USB timing and thus cause the problems. CDC mode is not reliable by definition because it violates the standard.

You may also get better (or worse) behavior if you insert a USB 2.0 hub.

Posted: Tue Jan 06, 2009 9:40 am
by Bimbo385
I'm sorry but I'm not able to compile the C File.

I Try it with AVR GCC (and the included "Programmer's Notepad") but the only response is:

make.exe: *** No rule to make target 'all'. Stop


Can you compile it for me, please?
And give me only the new Hex File?



The Problem about the USB-Stick is PC specific.
On an other PC (Fujitsu Siemens Notebook) it runs with a USB-Stick.


Sorry for my very bad English!


Edit:

Yes!!!!!

I have successfully compiled the AVR Doper Firmware.

The Firmware now matches to the AVR Studio Version 4.6XX!


Thank you!!!!!!!!!