Firmware 1.16 released


  • administrators

    I have released firmware 1.16 at https://github.com/dc42/RepRapFirmware/tree/dev/Release/Duet-WiFi/Stable. For a full list of changes and notes on upgrading from earlier versions, see https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW. My thanks to Chrishamm for his contributions.

    Chrishamm has released DuetWebControl 1.13 and that is the recommended version for this firmware release. For your convenience, I have included a copy in my firmware release folder on github. Also included there is Chrishamm's DuetWebServer-1.03-ch.bin file and I recommend you try using this version. You can find the previous version (1.02) in the Archived folder if you think you need it.



  • Thank you! Awesome! I hope that 1.17 will come just as fast:) Update went without a hitch! By the way does it make a difference which firmware should be uploaded first?


  • administrators

    @terabyte:

    Thank you! Awesome! I hope that 1.17 will come just as fast:) Update went without a hitch! By the way does it make a difference which firmware should be uploaded first?

    DWC 1.13 won't work with RRF 1.15 and all beta and some RC versions of 1.16. So install DWC 1.13 last.

    I am aiming to do about one major firmware release a month but I am not promising it. I have other work scheduled too relating to ongoing development of the Duet WiFi product range.



  • Hey David, you mentioned in the RC2 thread about the possibility of using "inverted PWM" with the new servo support/M280.

    Is it possible to enable inverted PWM on the heater channels when used for servos? According to the RepRep Gcode wiki, I only see that as being an option for the fan channels. Since my particular configuration is using a Duet 0.6 I don't have fan channels to spare, hence my need to use one of the surplus heater channels…


  • administrators

    Servo PWM inversion is completely separate from fan PWM inversion and works on all pins for which servo support is available. See http://reprap.org/wiki/G-code#M280:_Set_servo_position.



  • Did you just update that document? Because I looked before posting my question and there was no mention of an I parameter for M280 at the time. I always RTFM before posting questions….

    In any event, it works! So BLTouch appears to be 3.3v tolerant.

    @dc42:

    Servo PWM inversion is completely separate from fan PWM inversion and works on all pins for which servo support is available. See http://reprap.org/wiki/G-code#M280:_Set_servo_position.



  • @W3DRK:

    Did you just update that? Because I looked before posting my question and there was no mention of an I parameter at the time. I always RTFM before posting questions….

    You can see edit history here: http://reprap.org/mediawiki/index.php?title=G-code&diff=prev&oldid=177383



  • Hey, what would be the easy way to find out (short of extracting the board from under the bed or reading through the diffs) what is the new P3? I mean, what was P3 (in terms of M42) before the upgrade is now what? I can't clean my nozzle without find that out 😉 I'm not sure the wiki reference helps much…


  • administrators

    P3 was never officially supported because it is the I2C Data pin, now used to communicate with Duet expansion boards. Try another pin. For example, P60 = CS5 = physical pin 50 on the expansion connector.



  • @dc42:

    P3 was never officially supported because it is the I2C Data pin, now used to communicate with Duet expansion boards. Try another pin. For example, P60 = CS5 = physical pin 50 on the expansion connector.

    Thanks! That means having to remove bed, but at least I know why now 😉

    I tried to find what pins are officially supported, but IIRC all I found was "temporary" 0xff bitmask in "#if 1" block or something like that 😉



  • @dc42:

    P3 was never officially supported because it is the I2C Data pin, now used to communicate with Duet expansion boards. Try another pin. For example, P60 = CS5 = physical pin 50 on the expansion connector.

    P60 doesn't seem to do anything to CS5, though P61 does affect E3_STOP, so I'm fine.



  • BTW, the wiki page about unused pins https://duet3d.com/wiki/Using_servos_and_controlling_unused_I/O_pins mentions M206 as a command to disable fan, which, I believe, is M106.


  • administrators

    Thanks for pointing that out, I have corrected it.



  • I tried upgrading all updates through the web interface and it didn't update. I then tried the alternate method and loaded the files into the /sys folder and connected to through USB. I updated the main firmware and the web controls but got an error on the Web server file saying the file was not found (even though it was there). I continued to try different files and it continued not to work. now when I try to log into the web interface I get an error. {"err": "404: / NOT FOUND"}

    Any idea why the error is there? I am assuming it is because of the web server file not found issue. Any idea why the file cant be found? Or why I keep having trouble updating firmware through the web interface?


  • administrators

    If it's a Duet WiFi then the DuetWebControl.bin hasn't installed correctly. Download DuetWebControl-1.13.bin, rename it to DuetWebControl.bin and copy it to the /sys folder on the SD card. Then put the SD card in the Duet, start and connect to the Duet, and send M997 S2 to install it. Installation takes several minutes, until the blue LED on the wifi module stops flashing.



  • Sorry should have said that, yes it is a Duet WiFi. Ill check this when I get back home to see if it helps.
    Thanks for the help!



  • on the http://reprap.org/wiki/G-code#M280:_Set_servo_position

    the Example is
    "Example
    M300 P1 S50 "

    its M280 right?

    I'm not sure if you guys can edit that… I'm sure you can.
    Fantastic work all!!!! just in time ! needed that servo functionality! 🙂

    ~Russ


  • administrators

    Thanks for pointing that out. I have corrected it.



  • NP,

    also, is the current 1.16 firmware the same as the 1.16 RC3? ( i cant even find that version)

    i used a file that was updated "8 hrs ago" and when checking using the web interface… i get V1.16 but no other info, the date is 11-9-16

    it was stated in the other thread that you fixed some PWM errors for the Duet 8.5 for servo control, i just want to make sure i have the correct version as I'm trying to test some servo controls with a duet 8.5

    Thanks !!!

    ~Russ



  • also, when using the command "M307 H# A-1 C-1 D-1"

    i get no feed back in the command line.

    but if i just enter "M307 H#" after using "M307 H# A-1 C-1 D-1" then and only then do i get "Heater # is disabled"

    just FYI

    ~Russ


Log in to reply