March 12, 2020 at 12:37 pm #64627
This shouldn’t be this confusing but here we are. I have an ancient (from when the v2.0 OS first launched) OpenSprinkler controller that has suited me fine for a number of years. I recently had some issues by trying to assign/change the port manually that caused me to have to manually reset my controller in order to access it via the browser interface once again. Since I’m starting from a clean slate I figured I’d use this opportunity to upgrade to the latest (and I believe last) firmware version to get the most out of my hardware.
I started by watching this video by Ray:
It doesn’t seem to go into too much detail about the v2.0 hardware as it appears about 80% of the video is devoted to the v2.1 hardware and/or Windows v8.1
Nevertheless it says to go to OpenSprinkler.com to download the latest update program. Apparently that no longer points to Rayshobby.net so I manually navigated to Rayshobby.net to eventually get to this link:
From there I go down to Legacy OS v2.0 update instructions. Since I have Windows 10 I proceed to Step 2 above as instructed and download “avrdude_win” and unzip it to a folder on my laptop’s desktop. At this point I’m not sure if I should proceed with Step 3, 4 & 5 from above regarding the next steps or if I should try to find the “latest OpenSprinkler Firmware Update Program” as per the video instructions. I downloaded the firmware from the “OpenSprinkler legacy firmware OS 2.0 subfolder” as instructed and now it wants me to open a terminal and manually type the instructions? I see no mention of this in the video at all.
Can someone help me to make sense of what seems like an overly complicated upgrade path? I now remember why I chose to just stay on v2.0.4 so many years ago as it was working for me needs well enough. I think the only functionality I was looking for wasn’t on v2.1.x anyway. *shrugs*
At this point I just want to cross the finish line with a little help since I feel like I’m close to being done here.
Thanks for the help and sorry for the long drawn out explanation.March 12, 2020 at 12:42 pm #64636
The video instructions are obsolete. Since we haven’t updated the firmware updater for a few years, it no longer runs on many operating systems. Instead, just use avrdude and follow the command line instructions. (The updater is simply a GUI for the same command line instructions).March 13, 2020 at 12:01 pm #64650
Thanks for the response. Disregard the video, got it. Moving on….
I now have a folder that inside contains another folder called “avrdude” which was named as it was unzipped and a hex file named firmware2.1.7.hex but when I try to run the command text via powershell (I hold the shift key while right clicking to run powershell from within that folder) I get an error. I took a screen grab so please see image #1 below for details. I tried the same command from within the “avrdude” folder as well with similar results and a different error. I also have a screen shot of this error which is #2 below.
Of note, when I plug my US v2.0 into my laptop’s USB port it shows it as USBtinySPI under device manager with a yellow exclamation point. I’m not sure if this is how it’s supposed to be or not. I attached an image of that as well in case it’s useful.
Attachments:March 13, 2020 at 10:24 pm #64656
Maybe it’s called avrdude_win? You can do
to find what’s the exact name of the executable.March 15, 2020 at 10:48 am #64675
I see no executable file in this unzipped avrdude folder. Just lots of applications mostly.March 17, 2020 at 12:07 pm #64691
Since I’m not allowed to edit the last post: the .exe in this context is an application so ignore the previous post.
I guess I just don’t understand how to do this and much of the jargon I’m reading is going over my head. I’d like someone to please explain to me what it is I need to do at this point in as simple to understand language as possible as I clearly don’t get it.March 17, 2020 at 12:33 pm #64692
I attempted the following command again from PowerShell:
avrdude.exe -c usbtiny -p m644 -U flash:w:firmware2.1.7.hex
I get a return of “The command avrdude.exe was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type:” (at this point it basically tells me to add .\ to the beginning of the string which I do and run)
I then get an error that says “could not find USBtiny device (0x1781/0xc9f)”
Followed by: avrdude.exe done. Thank you.
So I feel like maybe I took a step forward here but one of my previous concerns mentioned in a previous post might be the culprit as far as how the laptop sees the device. As I stated previously, Hardware Manager doesn’t show USBtiny device but instead USBtinySPI with an exclamation point.
I found another thread online about a totally different device that said that if you have avrisp on the device (which I believe one of the install notes says is the case with the OS v2.0 hardware) you can substitute the “usbtiny” portion of the code with “avrisp” which I tried and I seem to get a little bit further but the error says that it can’t open the device “\\.\com1” The system cannot find the file specified.
Updated firmware shouldn’t be this difficult.March 17, 2020 at 10:27 pm #64708
“could not find USBtiny device (0x1781/0xc9f)”
means it’s missing a driver. You can download and install the driver available here:
https://learn.adafruit.com/usbtinyisp/driversMarch 18, 2020 at 11:02 am #64719
The instructions say specifically that you don’t need to install drivers on Windows machines unless you’re on Windows XP or 7 specifically which I’m not. I’m on Windows 10. This is nearly impossible to do as someone who understands very little of what should be happening or how to do it with the instructions given. Little of it makes sense even if I follow what’s stated but it seems like half of what needs to be done isn’t even stated.March 18, 2020 at 5:36 pm #64721
For anyone else who is having issues that may find this thread, I’ll type what worked. Be warned though that this is for OS ver2.0 specifically and I upgraded from v2.0.4 to v2.1.7 and I (clearly) don’t understand this stuff well enough to say what other hardware or firmware version combinations this works on. I’m also running this from Windows 10 which also differs from Linux, MAC and even other versions of Windows from what I’ve read.
For starters, you WILL need to install the drivers before plugging in the OS USB cable. Use the link two posts above and follow the instructions. Once that’s installed plug in the USB cable and open Device Manager to assure that your machine sees the OS as USBtiny (mine was under libusb-win32 devices) and then proceed with the code mentioned in the install instructions.
I found that the best way is to download and unzip the avrdude files to a folder. Then download the firmware v2.1.7 (latest and last for OS v2.0 hardware) hex file and place this in that same folder where all of the unzipped avrdude files are located. Verify that that hex file is indeed within this folder with all of the other files before proceeding to the next step.
Now, you need to launch PowerShell which is easiest down by holding the shift key down and (while in the folder you just moved the firmware file) right click this explorer window and select “Open PowerShell window here” which will bring up a PowerShell window that is already pointed to the proper directory.
Here is the next important change that was made from the posted instructions. In the instructions it states to type in the following code (cut and paste works for all of these BTW) and run it:
avrdude.exe -c usbtiny -p m644 -U flash:w:firmware2.1.7.hex
I can tell you that that likely will not work. The problem appears to be twofold. Up first, the avrdude program/application you need to run is just named avrdude w/o the extension on the end. This may work or it may not so try it like this first:
avrdude -c usbtiny -p m644 -U flash:w:firmware2.1.7.hex
Note that the ONLY difference in that string of text is the omission of “.exe”
If that doesn’t work PowerShell will likely give you a hint on how to fix it so that it runs properly. This is to add a “.\” to the very front of the string of text which will then run the avrdude executable which will then complete all of the last steps for you automagically. You should see it erasing and writing the firmware files to the OS.
Viola! All is well and my OS v2.0 now has the most recent and final firmware created for it. Mine has been running about 8 years now and my needs are minimal so there’s no reason for me to throw this in the landfill to get the latest greatest when this meets all of my needs. I only wish the firmware update was a little more beginner friendly but I guess I never need to worry about that again now so water under the bridge I suppose.March 19, 2020 at 9:37 am #64730
Glad to hear it worked in the end. Thanks for sharing the instructions.March 24, 2020 at 8:52 am #64779
Do I still need to forward port 123 for weather info on 2.1.7 or is this nullified by the new weather solution?March 24, 2020 at 9:46 am #64781
Of note, related to my previous post (which is now off-topic) the OS is showing my location incorrectly as Boston, MA and the time/date to be in the year 1970.March 24, 2020 at 10:01 am #64782
When I disable NTP sync and manually set my date/time & location it doesn’t appear to be saving them properly.
(also, the “Notify me of follow-up replies via email” option appears to not be working for me)March 24, 2020 at 10:11 am #64783
Actually, I was wrong. I went back to verify that “NTP Sync” was disabled and it wasn’t. I unchecked the box and clicked “submit” and it returns home but when I go back into advanced settings NTP Synch is enabled once again. It appears as though I’m unable to disable NTP Sync in order to manually set my time & date.March 25, 2020 at 5:43 pm #64811
The date & time are all over the place and it doesn’t seem to matter if NTP Sync is enabled or not. I’ve managed to successfully disable NTP Sync and even when I manually set the date and time it will change itself minutes later to some random date in 1970, 1988 or something along those lines. Not only can I not set programs to run at a specific date & time but I can’t even manually run the zones now because rather than running for 15 minutes they run for only a couple of minutes before shutting off since the time changes itself and they think they’ve been running for decades.March 27, 2020 at 10:49 am #64839
First of all, since you said your device is OS 2.0, make sure you uploaded the correct firmware. Firmwares for hardware version 2.0 are available here:
If you are sure you used the correct firmware file, and you suspect firmware 2.1.7 is causing the NTP problem (which I am not aware), why not try to flash it back to your original firmware 2.0.4, it’s available in the folder. You can flash the controller to any version of firmware.March 27, 2020 at 3:03 pm #64843
Please, stop creating new forum posts about the same issue. This only makes it difficult for us to keep track of your questions.
- You must be logged in to reply to this topic.