October 12, 2014 at 10:44 am #33817
I ran into trouble updating the firmware on my OpenSprinkler v2.1u and I hope these details will help someone else out. I am using Windows 8.1 64 bit.
The error I was getting in the log file of the firmware updating utility was the following:
====== Sat Oct 11 16:45:41 2014 ======
avrdude: error: could not find USB device “USBasp” with vid=0x16c0 pid=0x5dc
====== Sat Oct 11 16:45:41 2014 ======
Error uploading firmware.
The error to me tended to be a bit misleading in the fact that I was hard core troubleshooting the USB driver from within device manager. This included uninstalling, reinstalling, rebooting, unplug this, unplug that… Felt a bit like troubleshooting with Comcast support.. Anyway, I finally wound up using this driver:
I believe it is also necessary to configure a proper .inf file AND rename the “libusb0_x86.dll” file to “libusb1.sys” prior to installing this usb driver.
STEPS in the following order:
NOTE: I did not have to disable driver signing using this driver as it is partially signed.
1. Download usb drivers from sourceforge using link above.
2. Extract to a temporary folder.
3. Rename .dll file located in libusb-win32-bin-220.127.116.11\x86
4. Connect OpenSprinkler controller while holding down button b2 using USB cable. Make sure display is blank!
5. Review Device Manager to make sure that the USBasp device is recognized.
6. Using the inf wizard located in libusb-win32-bin-18.104.22.168\bin create an inf file for the installation to use. Once the wizard starts select the “USBasp” from the device selection. Take the defaults on the next screen for vendor and product ID’s. Save the file in the same folder where you extracted the driver into.
7. Change back to your temporary folder, libusb-win32-bin-22.214.171.124, and double click on installer. (Choose your correct architecture).
8. The installation will complete as you click through the steps.
You have to make sure of the version of AVRDude is updated and that it can be found on your machine. The one packaged with the updated will be ignored should you have AVRDude installed prior by some other application.
1. Open a CMD prompt and type avrdude -v You will have the following displayed:
avrdude: Version 6.1, compiled on Mar 13 2014 at 00:09:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is “C:\WinAVR-20100110\bin\avrdude.conf”
avrdude: no programmer has been specified on the command line or the config file
Specify a programmer using the -c option and try again
2. Should Windows comes back with command not found be sure that AVRDude’s bin folder is in your path.
3. You have to now add the programmer to AVRDude’s .conf file.
4. While holding down button b2 plug in OpenSprinkler using your USB cable. The display must be blank
5. From a CMD prompt type avrdude -c USBasp -p m644p and you should get the following back:
avrdude -c USBasp -p m644p
avrdude: warning: cannot set sck period. please check for usbasp firmware update
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9609
avrdude: Expected signature for ATmega644P is 1E 96 0A
Double check chip, or use -F to override this check.
avrdude: error: usbasp_transmit:
avrdude done. Thank you.
At this point you have AVRDude setup to communicate to OpenSprinkler using the USB cable connection and you can proceed to updating the firmware.
1. Start the OpenSprinkler firware update utility.
2. While holding down button b2 plug in OpenSprinkler to the USB cable. The display must be blank afterwords.
2. Click on download firmware to get the latest.
4. Click on “Detect Device” to ensure that OpenSprinkler is recognized by the firmware upgrade utility through the USB driver.
NOTE: For some reason after clicking detect my OpenSprinkler device would come out of update mode and reboot.
5. Yes Again, While holding down button b2 plug in OpenSprinkler to the USB cable. The display must be blank afterwords.
6. Click on Upload Firmware.
Your OpenSprinker should now upgrade.
Hope this helps.
StephenOctober 12, 2014 at 10:47 am #33818
Doesn’t look like my link for the USB driver made it in:October 12, 2014 at 8:44 pm #33834
The firmware update instructions now include a video tutorial:
In particular the second half of the video is about how to install USBasp driver on Windows 8.1.
- You must be logged in to reply to this topic.