OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Program Preview Crashes
- This topic is empty.
-
AuthorPosts
-
December 19, 2013 at 7:22 am #22714
bedo2405ParticipantHi
I’ve upgraded my firmware to 1.8.3 and now “Preview” doesn’t work. It seems to crash it as it goes missing off the network for a while.
Any ideas?December 19, 2013 at 4:26 pm #25843
RayKeymasterWhat browser and operating system are you using? Since the preview is plotted in the browser, it shouldn’t cause the controller to crash.
December 20, 2013 at 9:19 pm #25844
bedo2405ParticipantWindows 8.1 / Chrome
I tested it again while watching the controller and it doesn’t crash, the browser just hangs and the preview never appears.
It also hangs in IE.
December 22, 2013 at 5:03 am #25845
RayKeymasterWhen you click on the ‘Programs’ button which will print out the list of programs, does the browser hang? If not, I think the issue is still browser compatibility — the ‘Preview’ uses certain features of HTML5 which may not be supported in all browsers. The other possibility is if the programs you set cause an excessive number of lines being plotted, that can cause the browser to hang. For example, a program that runs every minute can result in a large number of lines being plotted in preview. In any case you may want to reset the controller and start adding programs back one after another and check ‘Preview’ after adding each new program. This way you can pin-point the issue.
January 8, 2014 at 11:58 am #25846
bedo2405ParticipantHi Ray, I removed all my programs and then added them 1 by 1. It failed when I added the 9th program. So I tried it again in a different order and once again it failed when I added the 9th program. It appears to be limited to 8 programs.
January 11, 2014 at 3:20 am #25847
RayKeymasterHmm, this is odd. You have firmware 1.8.3, right? I’ve tested 1.8.3 and I don’t think it’s limited to 8. Back to the question I asked earlier: when you click on the ‘Programs’ button which will print out the list of programs, does the browser hang? If not, it’s still likely to be a browser issue. The code for showing programs and previewing programs outputs the same data, except that they refer to different javascripts, one is to list the programs in a table form, the other is to render the programs in graphics form.
January 11, 2014 at 8:11 am #25848
bedo2405ParticipantSorry I missed your question. Yes, clicking on the programs works fine. I see all my programs. The problem occurs when I click on preview. The browser just hangs like its waiting for a response. In chrome the loading icon turns slowly anti clockwise like its waiting for the web server to reply.
And yes, my firmware is 1.8.3
January 19, 2014 at 1:51 am #25849
RayKeymasterIs it possible for you to set up port forwarding so I can take a look? If not, can you send me the list of programs (or take a screen shot) so I can try to replicate your programs and check what causes the preview to hang?
February 2, 2014 at 5:34 am #25850
bedo2405ParticipantYeah sure, I sent you a private message.
February 17, 2014 at 5:04 pm #25851
utman293MemberI’m having this same problem: preview hangs up after 9th program is added. I’m using firmware 1.8.3 and it is the same with IE or chrome or safari. Did you find something that helped this?
February 17, 2014 at 5:31 pm #25854
RayKeymasterI’ve identified the source of the problem (Ethernet buffer overflow) and I will update the firmware shortly today. I know I’ve promised bedo2405 to fix this problem a few weeks ago but managed to forget …
February 17, 2014 at 7:37 pm #25852
RayKeymasterI’ve compiled a new firmware and it can be downloaded at:
http://rayshobby.net/software/firmware1.8.3_new.zip
This should be able to fix the buffer overflow problem, and allow you to preview a large number of programs. Plesae follow the instructions about “Update a Precompied Firmware” to flash the new firmware to your controller:
http://rayshobby.net/?page_id=732#upload
Basically you need to install USBtinyISP driver (only if you are using Windows), and avrdude program (or WinAVR if using Windows). Then run command:
avrdude -c usbtiny -p m328p -F -U flash:w:firmware1.8.3_new.hex
I didn’t change the firmware number, so your program data should be preserved.February 18, 2014 at 2:38 am #25853
bedo2405ParticipantThanks Ray, I’ll give it a go this weekend.
March 7, 2014 at 12:58 am #25855
bedo2405ParticipantThe fix worked
Thanks Ray
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Program Preview Crashes