Seite 1 von 1

unable to flash again...

Verfasst: Sa., 01.12.2018, 00:02
von ericg
My McCoi was working for many years but it is now behaving strangefully...
I have tried to flash it again, just to discover I was not able to find a way to avoid the "avrdude.exe error could not find USB device USBASP...
I have tried to install driver thanks to zadig.exe app without luck, I have set up an old laptop with windows 7 without more luck...
Is there any easy option to flash the McCoi again?

Re: unable to flash again...

Verfasst: So., 02.12.2018, 15:15
von webmaster
Hi ericg
the problem is the driver. Do you have win10?
If yes, try this driver I use:
USBasp Driver from McCoi forum

if this does not work, gmbo has written a little workarround:
gmbo hat geschrieben:
So., 03.06.2018, 21:01
Ich bin mir zwar nicht ganz sicher wo die Datei avrdude.conf bei der Windowsversion steht, aber ich meine die ist bei avrdude.exe in dem Verzeichnis des Konfigtools.
wenn du die mit einem Texteditor öffnest solltest du
programmer
id = "usbasp";
desc = "USBasp, http://www.fischl.de/usbasp/";
type = "usbasp";
connection_type = usb;
usbvid = 0x16C0; # VOTI
usbpid = 0x05DC; # Obdev's free shared PID
usbvendor = "www.fischl.de";
usbproduct = "USBasp";
finden.
trage dort an Stelle von
usbvid = 0x16C0; # VOTI
dieses
#usbvid = 0x16C0; # VOTI
usbvid = 0x015C; # Pitius Tec S.L.
ein.
Dann müsste avrdude.exe den Prommer erkennen.

Re: unable to flash again...

Verfasst: So., 02.12.2018, 19:38
von ericg
Than ks for your inputs.
Unfortunately, it did not work.

I finally managed to flash the board after replacing AVRDUDE.EXE and AVRDUDE.CONF in the konfigtool folder with version available in the arduino software folder.

Re: unable to flash again...

Verfasst: Di., 04.12.2018, 16:20
von webmaster
ah, okay! The problem seems to be a double installation of avrdude! If Arduino-IDE installs a newer one,...

Thank you for response! :handgestures-thumbup:
Steffen

Re: unable to flash again...

Verfasst: Di., 04.12.2018, 16:24
von ericg
Anyway, even if the flash is succesful, my McCoi is not working properly...
I think I will have to investigate all the wiring for a bad connection somewhere...

Re: unable to flash again...

Verfasst: Mi., 05.12.2018, 12:02
von webmaster
my McCoi is not working properly
What does this mean? What are the Symptomes?
Please let us know to help you!?! :-)

Regards
Steffen

Re: unable to flash again...

Verfasst: Fr., 07.12.2018, 09:43
von ericg
Well, the pump led sometimes stays "On" all the time, for 10's of kilometers...
I have to disconnect the power from the McCoi to reset it...

I need to check if it is the controller which trig the pump or if it is the pump circuit which is stuck in loop.
Oil does not seems to flow while the led is on, so I need to check further.
Is there any schematic available to help troubleshooting the circuit?

Re: unable to flash again...

Verfasst: Fr., 07.12.2018, 11:26
von webmaster
Oil does not seems to flow while the led is on,
That's for sure!

Your problem is known: You only have to check, if it is the NE555 (pin 3 from the right in the upper row) or if it is the BS170 that does not work. If it was the Attiny (but it is definitely not!!!) your pump would have become extremely hot and began to melt,...

Once again: check pin 3 of NE555 and / or BS170!

To avoid damages on the circuit in the future, the must not attach a battery charger, when the McCoi is attached to the battery. Just disconnect the McCoi's fuse, then you can charge,...!

Kind regards
Steffen