Jump to content

WaveForms Live Timout When Downloading OpenScope MZ Firmware


Recommended Posts

The initial firmware update issue experienced by @light bulb seems to be due to the short timeout of the code in WaveFormLive to download the firmware. I've experienced the same, and have to keep clicking the update button until the complete firmware file is cached by the browser. I've attached the network activity from the browser when clicking the button.

Screenshot from 2017-06-24 23-06-38.png

Link to comment
Share on other sites

It won't let me choose an older version (not sure if that's also a bug), so I can't test and capture the request header. I was on 4G network when I captured that yesterday, reception wasn't great. From the data progression, it seems to be around 6.6kB/s. I wouldn't expect it to timeout while there's still data transfer.

Might be good to include a direct download link and a manual hex file upload (maybe after it error once), that would be a good workaround for those with slower internet connection.

Link to comment
Share on other sites

Hey faultylee,

You can download the firmware files directly from the OpenScope MZ resource center (in the infobox on the lower right, just above the pinout).

After you've downloaded the hex file you can upload it to the OpenScope MZ using the WaveForms Live firmware wizard by choosing Other from the available versions then Browse to select the desired hex file.

waveforms-live-firmware-local-hex-file.PNG

waveforms-live-firmware-local-hex-file-browse.PNG

Link to comment
Share on other sites

@Kristoff the version selection didn't work in Firefox, it kept going back to 1.4.0 regardless of what I've selected. But no issue in chrome. Btw, this is the first time I see that a forum post can be split for clarity, kudos!!!

@sudharsan.sukumar below is the information as requested. This time I'm on 5mbps broadband, seems like I'm getting about 70kB/s xfer speed.

1st hex file download request header

GET /digilent/Software/OpenScope+MZ/release/firmware/without-bootloader/OpenScopeMZ-1.2.0.hex HTTP/1.1
Host: s3-us-west-2.amazonaws.com
Connection: keep-alive
Origin: http://waveformslive.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36
Accept: */*
DNT: 1
Referer: http://waveformslive.com/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8

response header

HTTP/1.1 200 OK
x-amz-id-2: qw8h+sODw5+O7pqOFzU+bGA0O/ubUUnSazfbrBNaGe6VbTpTwUYhojgrx5fpVYkVzDtambS7t3k=
x-amz-request-id: DC89FDBAC486F96E
Date: Tue, 27 Jun 2017 03:16:28 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Access-Control-Max-Age: 3000
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
Last-Modified: Thu, 08 Jun 2017 18:28:57 GMT
ETag: "01d6f46cde50f19ac731d9836898f54d"
x-amz-version-id: Jh_nVCZVHya4m4wSpqoENSOL057Yipal
Accept-Ranges: bytes
Content-Type: binary/octet-stream
Content-Length: 1292859
Server: AmazonS3

subsequent request

GET /digilent/Software/OpenScope+MZ/release/firmware/without-bootloader/OpenScopeMZ-1.2.0.hex HTTP/1.1
Host: s3-us-west-2.amazonaws.com
Connection: keep-alive
Origin: http://waveformslive.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36
Accept: */*
DNT: 1
Referer: http://waveformslive.com/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8
Range: bytes=382380-382380
If-Range: "01d6f46cde50f19ac731d9836898f54d"

subsequent response

HTTP/1.1 206 Partial Content
x-amz-id-2: b6TBrmH3qrW0JV5sYdVVnOqpPB88ucsUN4M/45/jBWp/cR13rxr98NkRf+K5JxRIE9SOMNVmFjY=
x-amz-request-id: D0D1D85EFD004914
Date: Tue, 27 Jun 2017 03:16:40 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Access-Control-Max-Age: 3000
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
Last-Modified: Thu, 08 Jun 2017 18:28:57 GMT
ETag: "01d6f46cde50f19ac731d9836898f54d"
x-amz-version-id: Jh_nVCZVHya4m4wSpqoENSOL057Yipal
Accept-Ranges: bytes
Content-Range: bytes 382380-382380/1292859
Content-Type: binary/octet-stream
Content-Length: 1
Server: AmazonS3

last request

 

Screenshot from 2017-06-27 11-27-06.png

Link to comment
Share on other sites

Hey faultylee,

Dharsan just updated waveformslive.com to 1.0.6. Check under settings in the side menu to make sure you're on 1.0.6. If not, ctrl + f5 will get you the latest version (at least in chrome). This version increased the timeout when retrieving the firmware from 5 to 30 seconds.  Pre-downloading the hex file should still work the same.

Let us know if you have any more questions about this.

Thanks!

-Kristoff

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...