Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    RepRapFirmware 2.0 with RTOS in development

    Scheduled Pinned Locked Moved
    Firmware installation
    18
    58
    9.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cgcaferundefined
      cgcafer
      last edited by

      Hi David,
      This is the first run for me with RTOS, here you can find M122 result

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.0(RTOS)alpha1 running on Duet WiFi 1.02 or later
      Board ID: 08DAM-9K9K2-NGNSN-6J9D6-3S46J-TPSMJ
      Used output buffers: 2 of 40 (31 max)
      === RTOS ===
      Static ram: 28484
      Dynamic ram: 97188 of which 0 recycled
      Exception stack ram used: 384
      Never used ram: 5016
      Task NETWORK ready, free stack 316
      Task HEAT blocked, free stack 572
      Task MAIN running, free stack 3808

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Thanks, those figures look good, but let me know if you get any unexplained behaviour.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • AS-3D Druckundefined
          AS-3D Druck
          last edited by

          Quick Question on this point.
          What exactly will change if you're done with Version 2.0?

          Is it just more compact or can it operate faster?
          Is it a performance jump like from Windows Vista to Windows 7? 😄
          Sry but i don't get it. 🙂

          Best regards
          AS-3D Druck / Andre

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            The use of RTOS will make it much easier for us to implement some types of new feature. I hope it will also allow us to improve file upload speed a little.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 1
            • Captain_squndefined
              Captain_sq
              last edited by

              @AS-3D:

              Quick Question on this point.
              What exactly will change if you're done with Version 2.0?

              Is it just more compact or can it operate faster?
              Is it a performance jump like from Windows Vista to Windows 7? 😄
              Sry but i don't get it. 🙂

              In short: More efficient use of the microcontrollers and development resources.

              Which means that you can do more things with the resources you have at your disposal without sacrificing performance. In plain english that means that you can add more features, speed up certain parts and shorten development times.

              For the developer a lot of things becomes easier as the abstraction level is significantly raised. Code becomes more robust as you don't have to twiddle around with low-level error prone code that often incurs limitations that makes the entire code base hard to maintain. Hunting for bugs becomes somewhat easier too.

              Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


              Embedded systems designer, RC Pilot, maker and Gadget-o-holic

              1 Reply Last reply Reply Quote 0
              • mhackneyundefined
                mhackney
                last edited by

                Firmware Version: 2.0(RTOS)alpha1 (2018-04-05b2) installed on one of my Ultibots D300VS deltas. 1 print completed. Amazing progress David.

                My 3D Printing blog: http://www.sublimelayers.com
                Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                1 Reply Last reply Reply Quote 1
                • whosrdaddyundefined
                  whosrdaddy
                  last edited by whosrdaddy

                  Completed 2 5 hour prints on 2.0 alpha without any issues, amazing stuff David!.

                  2 (minor) problems I found so far:

                  • sometimes the ESP8266 would not boot a power up (blue led won't light up) ( a power cycle solves this).
                  • DWC Disconnects at the end of an upload.

                  for reference:

                  Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
                  Firmware Electronics: Duet WiFi 1.02 or later
                  Firmware Version: 2.0(RTOS)alpha1 (2018-04-05b2)
                  WiFi Server Version: 1.21
                  Web Interface Version: 1.21.1-b1

                  Here is the last completed print on 2.0 alpha 🙂
                  alt text

                  1 Reply Last reply Reply Quote 2
                  • mhackneyundefined
                    mhackney
                    last edited by

                    I've uploaded multiple files from DWC with no disconnects. I'll keep my eye open for this and if it happens, report back.

                    My 3D Printing blog: http://www.sublimelayers.com
                    Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                    1 Reply Last reply Reply Quote 0
                    • timcurtis67undefined
                      timcurtis67
                      last edited by

                      After updating to 2.0(RTOS)alpha1 (2018-04-03b2) I ran a few small test calibration cubes. Everything was working fine. On the third run I walked out of the room for a few minutes and came back to the printer frozen (not moving).

                      I reset the printer and ran an M122.

                      Here are the results

                      12:01:24 PMM122
                      === Diagnostics ===
                      === RTOS ===
                      Static ram used: 26196
                      Dynamic ram used: 95340
                      Recycled dynamic ram: 1344
                      Handler stack ram used: 324
                      Never used ram: 7868
                      Task NETWORK: state 0 stack rem 676
                      Task HEAT: state 2 stack rem 172
                      Task MAIN: state 1 stack rem 428
                      === Platform ===
                      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.0(RTOS)alpha1 running on Duet WiFi 1.0 or 1.01 + DueX5
                      Board ID: 08DAM-999TL-MQ4S4-6JKDA-3S06M-95HMY
                      Last reset 00:00:26 ago, cause: software
                      Last software reset at 2018-04-08 12:00, reason: User, spinning module GCodes, available RAM 7860 bytes (slot 1)
                      Software reset code 0x0003 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0041f000, BFAR 0xe000ed38, SP 0xffffffff
                      Used output buffers: 8 of 32 (18 max)
                      Error status: 0
                      Free file entries: 10
                      SD card 0 detected, interface speed: 20.0MBytes/sec
                      SD card longest block write time: 0.0ms
                      MCU temperature: min 30.4, current 30.7, max 31.1
                      Supply voltage: min 23.9, current 24.0, max 24.2, under voltage events: 0, over voltage events: 0
                      Driver 0: standstill, SG min/max not available
                      Driver 1: standstill, SG min/max not available
                      Driver 2: standstill, SG min/max not available
                      Driver 3: standstill, SG min/max not available
                      Driver 4: standstill, SG min/max not available
                      Driver 5: standstill, SG min/max not available
                      Driver 6: standstill, SG min/max not available
                      Driver 7: standstill, SG min/max not available
                      Driver 8: standstill, SG min/max not available
                      Driver 9: standstill, SG min/max not available
                      Expansion motor(s) stall indication: no
                      Date/time: 2018-04-08 12:01:23
                      Slowest main loop (seconds): 0.008095; fastest: 0.000070
                      === Move ===
                      MaxReps: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0
                      Scheduled moves: 0, completed moves: 0
                      Bed compensation in use: none
                      Bed probe heights: 0.000 0.000 0.000 0.000 0.000
                      === Heat ===
                      Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                      Heater 1 is on, I-accum = 0.0
                      === GCodes ===
                      Segments left: 0
                      Stack records: 2 allocated, 0 in use
                      Movement lock held by null
                      http is idle in state(s) 0
                      telnet is idle in state(s) 0
                      file is idle in state(s) 0
                      serial is idle in state(s) 0
                      aux is idle in state(s) 0
                      daemon is idle in state(s) 0
                      queue is idle in state(s) 0
                      autopause is idle in state(s) 0
                      Code queue is empty.
                      === Network ===
                      Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                      HTTP sessions: 1 of 8

                      • WiFi -
                        Network state is running
                        WiFi module is connected to access point
                        Failed messages: pending 0, notready 0, noresp 0
                        WiFi firmware version 1.21
                        WiFi MAC address 60:01:94:0c:4f:6d
                        WiFi Vcc 3.39, reset reason Turned on by main processor
                        WiFi flash size 4194304, free heap 17192
                        WiFi IP address 10.0.0.137
                        WiFi signal strength -43dBm, reconnections 0, sleep mode modem
                        Socket states: 2 0 0 0 0 0 0 0
                        === Expansion ===
                        DueX I2C errors 0

                      Not sure what happened? Maybe something in here will help you?

                      Running DuetWifi IDEX (2 X carraiges) With these specs

                      Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
                      Firmware Electronics: Duet WiFi 1.0 or 1.01 + DueX5
                      Firmware Version: 2.0(RTOS)alpha1 (2018-04-03b2)
                      WiFi Server Version: 1.21
                      Web Interface Version: 1.21-RC4

                      1 Reply Last reply Reply Quote 0
                      • timcurtis67undefined
                        timcurtis67
                        last edited by

                        I ran a few longer running prints without anymore freeze ups. Some web disconnects but zero issues with printing. The disconnects are new for me but not really an issue.

                        The firmware is working great so far.

                        Will there be a revised web interface to try out uploading files while printing? I tried it but the button is locked out in the current version I am running.

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @timcurtis67
                          last edited by

                          @timcurtis67 said in RepRapFirmware 2.0 with RTOS in development:

                          Will there be a revised web interface to try out uploading files while printing? I tried it but the button is locked out in the current version I am running.

                          I've asked chrishamm to look at doing this.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators
                            last edited by

                            RRF 2.0beta 1 has now been released. Please post further comments and feedback in the thread I have created about that release, https://forum.duet3d.com/topic/4871/reprapfirmware-2-0beta1-available.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA