Forum Replies Created
-
AuthorPosts
-
September 26, 2014 at 3:21 am in reply to: OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!) #28342
TechFanParticipantSounds fun. How are fixes to the firmware being released and pushed out? Any chance on an iOS beta version?
TechFanParticipantK. Sounds good
TechFanParticipantI am not sure why it is working differently for me. I have tried it on two different Win7 computers. . .one x86 and the other x64. Both have the same problem. I did figure out what line is causing the issue, but I am not sure why and I don’t know why you aren’t seeing the problem. I guess I was also working on my OSX system that runs off SSD, maybe they are enough faster that they copy was complete before the next command started.
I commented out this line and the process works. . .it seems this command must still have the file locked when the next process starts which causes it to fail out. . .you added checks for success which is why it is stopping now when it would have just proceeded previously. I guess we need to take it out. . .I just wanted to maintain a backup copy since the process won’t start if this file is missing.
So, we either need something that can introduce a wait time to allow for completion or remove this line. In other tools, finding a sleep option was simple. . .doesn’t seem so with processing.
// saveStream(“../os_firmware_info_backup.txt”, “../os_firmware_info.txt”);
It seems like it should still run/start up even with that file missing. . .and then try to retrieve it. . .
TechFanParticipantGlad to hear it is working
TechFanParticipantUnless https support available, not much reason for long passwords IMHO.
TechFanParticipantI guess that is well beyond my Arduino knowledge. I was just hoping to be able to control battery operated valves from the same GUI as OS. Probably easier to run wires under the driveway than to get that working. Hub would connect to LAN or would have to be internet?
TechFanParticipantNo, running compiled version from windows folder. Strange thing is that running in processing in parallel folder works.
TechFanParticipantI guess I have always wondering how the OSBee worked. . .so I read a little bit more about it. . .still not super clear. This thread got me interested. I have the OS (not PI) that I assume is an Arduino board as listed as the requirement. Does the arduino board need to be outside with the valves as well? I guess I was hoping for a way to not need to run sprinkler wire all the way under my current driveway (I still have values that are manually controlled that I haven’t converted yet). If I can run battery operated valves on those locations, then I wouldn’t need to run the wires. It still doesn’t seem like I would be able to control the valves with the existing OS, which is what I really would want. Or am I missing something??
TechFanParticipantI would guess you might have found a bug in the GUI. . .just not retrieving the value correctly. . .
Kind of hard to confirm it actually is stopping at 0:10. . .unless you are up at that time.
TechFanParticipantIt indeed sounds like you are potentially trying to run the updater inside the zip. . .
TechFanParticipantOn windows 7 x86, this is the error I get:
java.io.IOException: Cannot run program “..avrbinavrdude”: CreateProcess error=2, The system cannot find the file specified.
TechFanParticipantAre you trying to run the version still in the zip file? Or the completely extracted one.
TechFanParticipant@cpaine wrote:
Desktop folder “Equipment, manuals, etc”, subfolder “OpenSprinkler”. When the download has finished, the file is 39,248 KB.
Can you try a simpler path. . .move the folder to c: and name it something without spaces and commas.
TechFanParticipantHm. I must have put the quote in the wrong place somehow because I thought I tried that without success.
On windows it fails to download files even when they are missing. . .and fails to run the avr command successfully when compiled. . .it seems I was able to get it to work when running from processing editor. . .
TechFanParticipantWhat is the complete path of the folder you are running the updater from?
TechFanParticipantSo, the updater GUI never shows up?
I have seen this before as well, but it was when the firmware_info file was missing/corrupt.
TechFanParticipantMy guess from the description is that nothing happens once they click the update button in the GUI (because OS has booted completely instead of into the boot loader mode). Does it already display a message if it finds no device connected? I guess it could also be related to the issue I ran into on windows with it not being able to find the avr tools. . .
TechFanParticipantHold B2 while plugging in the USB and release after less than 2 seconds. The screen should stay blank.
TechFanParticipantBtw, the windows version also seems to have issues with the avr lines. . .
TechFanParticipantOk. It had to do with the path name. At first I thought it was permissions as well because I had allowed the process via the button on the security page instead of disabling the security completely like I did last time. But, that wasn’t it. I already had an updater in my downloads folder, so it got extracted to osFirmwareUpdater 2 instead of osFirmwareUpdater. It looks like the space in the folder name was the issue. I tested and found that the error is happening in the device detection routine.
It appears this line doesn’t like being in a path with a space in the osFIrmwareUpdater folder. . .I am not sure how to fix this one though. . .that is why I had different path detection logic in my script, because the .. folder navigation didn’t work when I was testing.
This is the line that fails on OSX if there is a space in the folder name:
if(MACOS){
\ Line added for debugging
println(“Now I am here – ” + sketchPath(“”) + “../avr-macos/bin/avrdude -C “+sketchPath(“”)+”../avr-macos/etc/avrdude.conf “);
command = sketchPath(“”) + “../avr-macos/bin/avrdude -C “+sketchPath(“”)+”../avr-macos/etc/avrdude.conf “;
}
TechFanParticipant10.9.4 on Macbook air 2011
TechFanParticipantI got this error when clicking Update and Detect button on OSX:
java.io.IOException: Cannot run program “/Users/username/Downloads/osFirmwareUpdater”: error=13, Permission denied
Why would I be seeing this. . .if it has permission to run the first time, why after clicking the button?
TechFanParticipant8-10 launches. . .hasn’t forgotten my OS yet. 🙂 Looks like that one is squashed. So, in general, still mid implementation, so I should stick with using 1.2.0?
TechFanParticipant:). Glad to help!
Sent from my iPhone using Tapatalk
TechFanParticipant:). No problem.
Sent from my iPhone using Tapatalk
-
AuthorPosts