OpenSprinkler Forums OpenSprinkler Unified Firmware Can’t seem up install drivers to update firmware Win7

  • This topic is empty.
Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #22807

    Jer
    Member

    I downloaded what I think is the right USB driver file. I have Windows 7 64bit and a OpenSprinkler v2.0 and I (think I) need to update to v2.0.4 in order to use the online and installed apps… right? One video said I need v1.8.4 and up and somewhere else it says that I need 2.0.4 and up. I tried it and can’t connect so I’m assuming the former is accurate and that’s why I’m updating my firmware. Otherwise I have no reason to update so if that’s not the case please tell me and we can skip this whole next section. If not….

    I went to this link: http://www.fischl.de/usbasp/ & clicked the first link under Downloads>Firmware & Circuit. I downloaded that and put it in a new folder called OpenSprinkler on my desktop for now for quick access. I attempted to update via the instructions (right clicking and ‘Update Firmware’ then browse to folder location) and it didn’t work. I then unzipped and tried to point to each folder and each time it said drivers weren’t found. I’m sure I’m just doing something wrong but I’m not as well versed as those who have contributed to this project so I guess I need a little bit more detailed instruction than what is listed in the Firmware Update section because to the layperson (read: me) it doesn’t really make sense. I don’t even know if I clicked/downloaded the proper drivers since I just guessed at which link I was supposed to click. If someone could get me on the right path here I would greatly appreciate it. I’m just trying to update my firmware which should be a pretty basic task and am failing miserably.

    Halp! ๐Ÿ˜€

    #26315

    Ray
    Keymaster

    If you have OpenSprinkler hardware version 2.0, you need to install USBtinyISP driver. As the README says:
    Windows users: you need to install
    – USBtinyISP driver (OpenSprinkler 1st-gen and 2.0s)

    Additional details about driver can be found in the firmware update instructions:
    http://rayshobby.net/?page_id=732#upload

    #26316

    Jer
    Member

    @ray wrote:

    If you have OpenSprinkler hardware version 2.0, you need to install USBtinyISP driver. As the README says:
    Windows users: you need to install
    – USBtinyISP driver (OpenSprinkler 1st-gen and 2.0s)

    Additional details about driver can be found in the firmware update instructions:
    http://rayshobby.net/?page_id=732#upload

    What readme? I’ve read several within the downloaded zip file and it still doesn’t make sense what step I’m missing. The link you posted for me to refer to is the exact same link I posted in my OP. I don’t understand what i’m supposed to do as normal channels of software manipulation don’t seem to apply. I can’t find any instruction so either it doesn’t exist or it’s hidden. I did everything contained within that link both you and I posted and I still can’t install the drivers.

    #26317

    Ray
    Keymaster

    First of all, you posted a question about OpenSprinkler in the SquareWear thread, that’s kind of confusing to me. Next, as I said, you need to install USBtiny driver, not USBasp! The readme I was talking about is the Firmware Updater software. Specifically, at this link:
    http://rayshobby.net/?page_id=732#upload
    download and unzip the Firmware Updater program for your operating system (in your case, windows 64-bit). Next, in the unzipped folder there is an applications subfolder with a .exe file you can click and it will run. There is a big ‘README FIRST’ button at the top. That’s the readme I was referring to. The instructions are brief but contain only the necessary information so you don’t have to read a lot. Please first let me know if you have run the Firmware Updater program, then we can continue from there. Also, I am going to move this to the OpenSprinkler thread since it has nothing to do with SquareWear.

    #26318

    Jer
    Member

    @ray wrote:

    First of all, you posted a question about OpenSprinkler in the SquareWear thread, that’s kind of confusing to me. Next, as I said, you need to install USBtiny driver, not USBasp! The readme I was talking about is the Firmware Updater software. Specifically, at this link:
    http://rayshobby.net/?page_id=732#upload
    download and unzip the Firmware Updater program for your operating system (in your case, windows 64-bit). Next, in the unzipped folder there is an applications subfolder with a .exe file you can click and it will run. There is a big ‘README FIRST’ button at the top. That’s the readme I was referring to. The instructions are brief but contain only the necessary information so you don’t have to read a lot. Please first let me know if you have run the Firmware Updater program, then we can continue from there. Also, I am going to move this to the OpenSprinkler thread since it has nothing to do with SquareWear.

    I was just posting an update when I got an error so the thread must have been moving at that exact moment. I realized I was trying to install the wrong driver link but the weird part is that when I originally tried what I thought was the correct one I couldn’t get it to download so I don’t know if the server that hosted that file was down or what. Either way, I successfully installed the drivers and am ready for the next step. It looks like now I just download the GUI Based OpenSprinkler Firmware Updater (64-bit for me) from that same link, right?

    #26319

    Jer
    Member

    Downloaded the osFirmwareUpdater_win64.zip file and unzipped. What do I need to run within that to install the updater? I’ve poked around all the folders and can’t find the executable file to install. Usually I don’t have this much trouble with something so simple.

    #26320

    Ray
    Keymaster

    Did you see a osFirmwareUpdater.bat file? Double click it and it will run. Just so you know, .exe, .com, .bat are all executable in Windows.

    #26321

    Jer
    Member

    @ray wrote:

    Did you see a osFirmwareUpdater.bat file? Double click it and it will run. Just so you know, .exe, .com, .bat are all executable in Windows.

    Yes, I tried that first. Double clicked and saw a cmd window flash open then closed. Then tried running as admin with the same results.

    #26322

    Ray
    Keymaster

    OK, I see. It probably means Java is not installed. Go to:
    https://www.java.com/en/download/
    and install Java. Then try it again.

    #26323

    Jer
    Member

    @ray wrote:

    OK, I see. It probably means Java is not installed. Go to:
    https://www.java.com/en/download/
    and install Java. Then try it again.

    Nope. I have Java installed and even did an update a couple of weeks ago. To verify I ran the web app that verifies that you’re up to date and when that said I was I even used your link to try to install it again and it also said it’s already installed. Has to be something else.

    #26324

    Ray
    Keymaster

    Hmm, off my head I can’t think of anything else. I have a Win7 64-bit and the program runs fine on mine. Here is one more thing: can you run the bat file in command line, often that gives you more information about what’s missing. To run in command line, click on the windows Start button -> Run -> type in ‘cmd’, that will bright out the command line window. Then you have to ‘cd’ to the folder where the updater program is, and type ‘osFirmwareUpdater.bat’. Check the printout to see if it gives you more information.

    #26325

    Jer
    Member

    @ray wrote:

    Hmm, off my head I can’t think of anything else. I have a Win7 64-bit and the program runs fine on mine. Here is one more thing: can you run the bat file in command line, often that gives you more information about what’s missing. To run in command line, click on the windows Start button -> Run -> type in ‘cmd’, that will bright out the command line window. Then you have to ‘cd’ to the folder where the updater program is, and type ‘osFirmwareUpdater.bat’. Check the printout to see if it gives you more information.

    Rebooted

    Tried to run .bat again w/same result.

    Tried to run from cmd and got the following message: ‘java’ is not recognized as an internal or external command, operable program or batch files.

    Used REVO to uninstall JAVA and everything associated with it.

    Rebooted

    Installed most current Java from Oracle’s website & then ran the verify applet to very it was reading as current.

    Attempted to launch w/the same results. Attempted to run from cmd with the same message.

    I’m not sure what’s going on here but I specifically used my Windows 7 machine to avoid the horrors I read about with Windows 8 machines. I feel like I’m right on the edge of getting this done and have done everything right but I’m not getting anywhere.

    Thoughts?

    #26326

    Jer
    Member

    @Jer wrote:

    @ray wrote:

    Hmm, off my head I can’t think of anything else. I have a Win7 64-bit and the program runs fine on mine. Here is one more thing: can you run the bat file in command line, often that gives you more information about what’s missing. To run in command line, click on the windows Start button -> Run -> type in ‘cmd’, that will bright out the command line window. Then you have to ‘cd’ to the folder where the updater program is, and type ‘osFirmwareUpdater.bat’. Check the printout to see if it gives you more information.

    Rebooted

    Tried to run .bat again w/same result.

    Tried to run from cmd and got the following message: ‘java’ is not recognized as an internal or external command, operable program or batch files.

    Used REVO to uninstall JAVA and everything associated with it.

    Rebooted

    Installed most current Java from Oracle’s website & then ran the verify applet to very it was reading as current.

    Attempted to launch w/the same results. Attempted to run from cmd with the same message.

    I’m not sure what’s going on here but I specifically used my Windows 7 machine to avoid the horrors I read about with Windows 8 machines. I feel like I’m right on the edge of getting this done and have done everything right but I’m not getting anywhere.

    Thoughts?

    For the record, the ‘.bat’ file that I’m trying to run is the file: osFirmwareUpdater.bat that is located within the application.windows64 folder after I unzip the download.

    #26327

    Ray
    Keymaster

    ‘java’ is not recognized as an internal or external command, operable program or batch files.

    This suggests that the system cannot find Java. You usually don’t need to add it to the system PATH variable manually, but since it’s not finding it, you can manually add it. First, find out where java.exe is installed. For example, on mine it’s at:
    C:Program FilesJavajre7bin
    it may be different on your computer so check to make sure.

    Then go to Start -> right click on My Computer -> Properties -> Advanced system settings -> Environment variables. Then look at System variables, find the Path variable, click on Edit, and append
    ;C:Program FilesJavajre7bin
    at the end of the Variable value. Note the semi-colon, as it separates the newly added from the existing. Then click on OK and see if this makes any difference. If you open a command line window and type ‘java’, it should print out a bunch of java options and should not report ‘not recognized’.

    #26328

    Jer
    Member

    Eureka! I finally got it to work. Rather than explain all the steps I did to get it to work here’s a short video outlining on another version of Windows what I did to get it to work:

    https://www.youtube.com/watch?v=X05JPrto_c8

    Apparently it has to do with where the program is looking for Java in order to work and those with 64-bit architecture won’t have the same files in their Program Files folder because it’s in the x86 version.

    Either way I’m am now looking at that secksi blue/purple/white window I’ve been anxiously awaiting so I should be able to handle it fine from here. Thanks for the help!

    #26329

    Jer
    Member

    @ray wrote:

    ‘java’ is not recognized as an internal or external command, operable program or batch files.

    This suggests that the system cannot find Java. You usually don’t need to add it to the system PATH variable manually, but since it’s not finding it, you can manually add it. First, find out where java.exe is installed. For example, on mine it’s at:
    C:Program FilesJavajre7bin
    it may be different on your computer so check to make sure.

    Then go to Start -> right click on My Computer -> Properties -> Advanced system settings -> Environment variables. Then look at System variables, find the Path variable, click on Edit, and append
    ;C:Program FilesJavajre7bin
    at the end of the Variable value. Note the semi-colon, as it separates the newly added from the existing. Then click on OK and see if this makes any difference. If you open a command line window and type ‘java’, it should print out a bunch of java options and should not report ‘not recognized’.

    lol

    I posted before I saw this reply and it looks like we both drew the same conclusion at about the same time. haha! ๐Ÿ˜†

    #26330

    Ray
    Keymaster

    OK, glad to hear that you got it solved. Sorry that it took you so much trouble. Next time I will try to find a way to embed Java into the firmware updater program.

    #26331

    Jer
    Member

    @ray wrote:

    OK, glad to hear that you got it solved. Sorry that it took you so much trouble. Next time I will try to find a way to embed Java into the firmware updater program.

    Yeah that may save someone some time. Anyway to have it point to either program folder? Like check the x86 one and if it’s not there go to the non x86 one or something? That may have prevented it because adding Java to install probably wouldn’t help since my install was correct it just put some needed files/folders in a place that the .bat wasn’t looking whenever you try to run it.

    #26332

    Jer
    Member

    Also, I’ve got a couple of weird issues since the update:

    1) My unit’s display shows TUE even though the date & time are accurate and when I log into the device remotely it shows the proper day as FRI.

    2) I can’t manually adjust my PORT # from the default 80 to what I currently have forwarded on my router for this device.

    3) The MAC is a different address than it was before the firmware update. This has lead to me needing to make correction within my router’s Static DHCP settings so that it assigns the same IP and thus proper port forwarding to be visible outside of my network.

    4) When the screen sleeps or goes into the dim mode none of the 3 side buttons (b1, b2 or b3) will wake it. Only a physical power down and back on with the toggle switch will wake it. To be fair, this happened only the one time after I updated the firmware and I haven’t yet had the ability to try to recreate.

    5) My web access page looks completely different in that none of the buttons have colors or emblems the way they previously did with v2.0.0 so I’m not sure if this is a new change with v2.0.4 or not but I noticed as soon as I logged in that it looked much more plain.

    6) In my router’s client list it now shows the device at this IP address as OpenSprinkler-00 as opposed to what it was previously called: OpenSprinkler.

    So far, these are the first differences I am noticing.

    #26333

    Jer
    Member

    @Jer wrote:

    Also, I’ve got a couple of weird issues since the update:

    1) My unit’s display shows TUE even though the date & time are accurate and when I log into the device remotely it shows the proper day as FRI.

    2) I can’t manually adjust my PORT # from the default 80 to what I currently have forwarded on my router for this device.

    3) The MAC is a different address than it was before the firmware update. This has lead to me needing to make correction within my router’s Static DHCP settings so that it assigns the same IP and thus proper port forwarding to be visible outside of my network.

    4) When the screen sleeps or goes into the dim mode none of the 3 side buttons (b1, b2 or b3) will wake it. Only a physical power down and back on with the toggle switch will wake it. To be fair, this happened only the one time after I updated the firmware and I haven’t yet had the ability to try to recreate.

    5) My web access page looks completely different in that none of the buttons have colors or emblems the way they previously did with v2.0.0 so I’m not sure if this is a new change with v2.0.4 or not but I noticed as soon as I logged in that it looked much more plain.

    6) In my router’s client list it now shows the device at this IP address as OpenSprinkler-00 as opposed to what it was previously called: OpenSprinkler.

    So far, these are the first differences I am noticing.

    As a note to #1 above, verified that the web UI shows proper date with FRI as the day and the device is still showing TUE with 3/28 and the proper time. Weird. Bug?

    As a note to #2 above, I was able to log into my device remotely and change the port to the proper port and have it display as such from the web UI. When I view current connection status from the device itself (using b1) it reads proper port # as well. I’m not sure if I manually adjusted this from the device before putting it on my network or if I did it from the web UI as I did this time but I seemed to recall holding down b1 on the device to get it to the port number and manually changing it. Either way, I’m all set on that one but thought I would point that out in case it was a bug on the new firmware that didn’t allow you to manually adjust your port from the unit itself.

    As to #4 above, it seemed to wake up fine this time using the b1 button so perhaps this was a one-time hiccup. I will keep an eye on that.

    As to #5 above, this may have more to do with my router than the device. I will try a few things to see if this purges from it’s memory.

    #26334

    Ray
    Keymaster

    1) My unit’s display shows TUE even though the date & time are accurate and when I log into the device remotely it shows the proper day as FRI.

    I’ve never seen this happening. Since the LCD and the webpage both pulls time value from the controller’s internal variable, I can’t thinking of any reason that would cause what you described. Is it still the case or it’s now in sync?

    2) I can’t manually adjust my PORT # from the default 80 to what I currently have forwarded on my router for this device.

    The PORT# is never adjustable on the controller (i.e. using buttons) — you need to change it through the web interface (on the options page). This is due to a rather technical reason that the port number is stored in 2 bytes and all options that are editable on the controller are single bytes.

    3) The MAC is a different address than it was before the firmware update. This has lead to me needing to make correction within my router’s Static DHCP settings so that it assigns the same IP and thus proper port forwarding to be visible outside of my network.

    Indeed the MAC has been changed (it’s a rather accidental change when I worked on the firmware code).

    4) When the screen sleeps or goes into the dim mode none of the 3 side buttons (b1, b2 or b3) will wake it. Only a physical power down and back on with the toggle switch will wake it. To be fair, this happened only the one time after I updated the firmware and I haven’t yet had the ability to try to recreate.

    It should wake up on button press. Perhaps the controller was busy doing something when you click on the buttons. If this is a reproducible issue, I can check.

    5) My web access page looks completely different in that none of the buttons have colors or emblems the way they previously did with v2.0.0 so I’m not sure if this is a new change with v2.0.4 or not but I noticed as soon as I logged in that it looked much more plain.

    The button images have been removed but will be added back in future firmwares. The reason they are removed is that the web interface of firmware 2.0.4 (mainly javascripts and images) can be served entirely locally from a microSD card. The factory default is to retrieve javascripts and images from the rayshobby.net server, but if needed these files can be moved to a microSD card and served on the controller itself. When this happens, it’s better to minimize web traffic by reducing the number of files. It’s pretty easy to set the remote javascripts to serve extra images and the microSD card version to not. I just haven’t got around time to make two different versions.

    6) In my router’s client list it now shows the device at this IP address as OpenSprinkler-00 as opposed to what it was previously called: OpenSprinkler.

    This is correct. The device ID is not appended at the end of the name because if you have multiple opensprinklers connected on the same network, you will be able to tell them apart this way.

    #26335

    Jer
    Member

    Sorry for the delayed response. Forgot I had this tab open.

    @ray wrote:

    I’ve never seen this happening. Since the LCD and the webpage both pulls time value from the controller’s internal variable, I can’t thinking of any reason that would cause what you described. Is it still the case or it’s now in sync?

    I just double checked and it indeed still says ‘TUE’ on the screen even though the date (4/16) and time are both accurate. I even accessed the device remotely and it shows the correct day and date. I’m not sure how only the display seems to show a different day. It’s not mission critical really but still…

    @ray wrote:

    The PORT# is never adjustable on the controller (i.e. using buttons) — you need to change it through the web interface (on the options page). This is due to a rather technical reason that the port number is stored in 2 bytes and all options that are editable on the controller are single bytes.

    Like I said, I wasn’t sure if this was something I remembered adjusting from the device or not but I do recall adjusting it almost immediately so I guess I thought maybe I had done it from the controller itself. It makes sense that I probably did it remotely once I got it on the network so this is no change from default then.

    @ray wrote:

    Indeed the MAC has been changed (it’s a rather accidental change when I worked on the firmware code).

    I see. I thought with the other things I was losing my mind here. I have dynamic static MAC routing enable don my router so it had assigned IP & port preferences to the previous MAC and I wasn’t sure why it wasn’t jiving until I did a discovery from my router again and say a new MAC address for the controller. Once I made this adjustment all was right with the world but prior to that it really had my scratching my head.

    @ray wrote:

    It should wake up on button press. Perhaps the controller was busy doing something when you click on the buttons. If this is a reproducible issue, I can check.

    I just double checked this as well and it appears as though the buttons are waking it up again. Not sure what was happening but that behavior appears to have resolved itself after a combination of resets, reboots and some time.

    @ray wrote:

    The button images have been removed but will be added back in future firmwares. The reason they are removed is that the web interface of firmware 2.0.4 (mainly javascripts and images) can be served entirely locally from a microSD card. The factory default is to retrieve javascripts and images from the rayshobby.net server, but if needed these files can be moved to a microSD card and served on the controller itself. When this happens, it’s better to minimize web traffic by reducing the number of files. It’s pretty easy to set the remote javascripts to serve extra images and the microSD card version to not. I just haven’t got around time to make two different versions.

    Understandable and I figured it was something like this since the new app and web app offered much GUI in comparison to the previous anyway. It seems that those who want a fanciful GUI can hit up the app and those who want a basic interface can have that via remote access directly. Makes sense.

    @ray wrote:

    This is correct. The device ID is not appended at the end of the name because if you have multiple opensprinklers connected on the same network, you will be able to tell them apart this way.

    Yeah, I figured as much.

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Can’t seem up install drivers to update firmware Win7