New experimental firmware 0.59c-dc42 and web interface 0.79 May 23, 2014 06:19PM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 23, 2014 08:00PM |
Registered: 9 years ago Posts: 665 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 03:55AM |
Registered: 9 years ago Posts: 780 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 04:25AM |
Registered: 9 years ago Posts: 14,664 |
Quote
zombiepantslol
But I've noticed you're trying to store a word in an unsigned byte in line 55 in Network.cpp
Quote
Your current firmware is working well so far on Windows 8.1 - thanks again for your work.
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 09:27AM |
Registered: 9 years ago Posts: 30 |
Quote
dc42
* Upload speed for all file types is now almost 5Mb/min on my test system, using Windows 7 and Chrome.
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 10:41AM |
Registered: 9 years ago Posts: 209 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 11:48AM |
Registered: 9 years ago Posts: 30 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 12:11PM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 24, 2014 04:34PM |
Registered: 9 years ago Posts: 256 |
Quote
dc42
[...]
I'll be working on the movement algorithm instead, to finish implementing combined XYZ moves and sort out acceleration issues.
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 03:35AM |
Registered: 9 years ago Posts: 24 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 04:06AM |
Registered: 9 years ago Posts: 14,664 |
Quote
KenF
However, I have had a problem uploading/updating files to/in the sys directory of the SD card. Out of umpteen attempts, it's only worked once. After updating just one file, taking the SD card out and putting it in my computer to see what's happened, more often than not the original file is unchanged, and the new file has been written with a filename "undefined" (without any extension).
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 04:50AM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 04:54AM |
Registered: 9 years ago Posts: 24 |
Quote
dc42
... What I'm finding is that the first time I upload config.g in a new instance of the web interface, it reports success but the file hasn't been updated. Subsequent attempts work OK. Is this what you find too? ...
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 04:56AM |
Registered: 9 years ago Posts: 24 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 05:37AM |
Registered: 9 years ago Posts: 24 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 05:53AM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 05:04PM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 25, 2014 08:30PM |
Registered: 9 years ago Posts: 30 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 01:54AM |
Registered: 9 years ago Posts: 377 |
07:42:22 Program static ram used: 39852 Dynamic ram used: 39004 Recycled dynamic ram: 3064 Current stack ram used: 1288 Maximum stack ram used: 2236 Never used ram: 14148 Last reset 06:21:28 ago, cause: software Last software reset code & available RAM: 0x1002, 13768 Error status: 0 Bed probe heights: 0.000 0.000 0.000 0.000 Free file entries: 10
07:44:38 Warning! Ormerod webserver is probably broken, power cycle/reset your Duet Board
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 03:16AM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 03:51AM |
Registered: 9 years ago Posts: 377 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 04:05AM |
Registered: 9 years ago Posts: 14,664 |
Quote
jstck
The Ormerod is connected to a little wifi bridge, so it at least always has link up (and that part has so far been very reliable). However, the time when it crashed probably matches when my laptop (which had an open browser window to the web ui) went to sleep. So I guess one always needs to disconnect the web ui before leaving a print running? Is it possible to do something about that? After all when printing from SD the web ui is little more than just a status display, and the Duet should ideally keep going no matter what happens to the network connection.
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 08:49AM |
Registered: 9 years ago Posts: 209 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 10:38AM |
Registered: 9 years ago Posts: 14,664 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 11:56AM |
Registered: 9 years ago Posts: 209 |
Quote
dc42
Hi Bob,
I changed the optimization settings in gcc++. Previously it was set to -Os i.e. optimize for space, and I changed it to -O3 to improve the upload speed. The firmware still occupies only about half of the available space. I may switch to -O2 in the future, as the extra improvement given by -O3 is probably not worth the space.
I didn't check the project file in, because unfortunately a lot of settings in it depend on the build path and the path to your Arduino installation.
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 12:34PM |
Registered: 9 years ago Posts: 209 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 02:23PM |
Registered: 9 years ago Posts: 55 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 03:57PM |
Registered: 9 years ago Posts: 209 |
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 05:03PM |
Registered: 9 years ago Posts: 14,664 |
Quote
bobtidey
Quote
dc42
Thanks. That explains it. I changed the optimise to 3 and got a similar size. There is some serious in-lining of the functions there.
I also tried -O2. Results I got on a 4Mbyte file were
-Os size 188k speed = 4.02Mbyte/min
-O2 size 222k speed = 4.53Mbyte/min
-O3 size 255k speed = 4.63Mbyte/min
So O2 might be quite a good compromise between speed and firmware size.
I forgot to mention that I changed to -O3 for both the C++ and the C compiler. I guess you did that too.
Thanks for running those timing tests. Since -O3 is slightly faster than -O2 and at present there is plenty of free space, I'll stick with -O3 for now.
Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod
Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: New experimental firmware 0.59c-dc42 and web interface 0.79 May 26, 2014 05:04PM |
Registered: 9 years ago Posts: 14,664 |
Quote
bobtidey
I was checking why I couldn't get height, filament, progress on latest version.
I think a check on filetype was introduced in GetFileInfo. It is checking for .gcode or .gc or .gco. Unfortunately my giles had a .g extension so got missed out.
I tried renaming a file to .gc and that restored the functionality and then I added .g as an allowable filetype and that worked OK.