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

    The most useless warning message ever?

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    10
    372
    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.
    • o_lampeundefined
      o_lampe
      last edited by

      Hi guys,
      while I tried to get my CoreXYV running, I frequently ran M98 P"config.g" to see any faults.
      One time I got a warning like " improper use of 'P' parameter" without further details. (don't remember the real words)
      I opened config.g and highlighted all 'P' characters. There were 50+... 😁
      It's like finding a needle in the hay...

      oliofundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • oliofundefined
        oliof @o_lampe
        last edited by

        @o_lampe Time for the good old binary search. Try with only first half of config.g, if a match, first half of that; otherwise second half of original. Repeat until only one P remains (-:

        (I searched the source code for "improper" but nothing comes up. A genuine replica of the error might help pin stuff down).

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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

          @o_lampe said in The most useless warning message ever?:

          Hi guys,
          while I tried to get my CoreXYV running, I frequently ran M98 P"config.g" to see any faults.
          One time I got a warning like " improper use of 'P' parameter" without further details. (don't remember the real words)
          I opened config.g and highlighted all 'P' characters. There were 50+... 😁
          It's like finding a needle in the hay...

          Which firmware version? Standalone or with SBC?

          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

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @dc42
            last edited by

            @dc42
            It's RRF3.3.b2 in standalone mode, Duet2WiFi
            The error only appeared once, I had no chance to take a screenshot

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

              @o_lampe said in The most useless warning message ever?:

              @dc42
              It's RRF3.3.b2 in standalone mode, Duet2WiFi
              The error only appeared once, I had no chance to take a screenshot

              Thanks. I too searched the code base for the word "improper", and it doesn't appear anywhere. So I think it must have been a different word.

              All RRF error messages that report a problem interpreting a command also report which command (G- or M-code) it was processing at the time.

              If you get a useless error message again, please take a screen shot.

              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

              oliofundefined 1 Reply Last reply Reply Quote 0
              • oliofundefined
                oliof @dc42
                last edited by

                Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).

                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                dc42undefined o_lampeundefined 2 Replies Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @oliof
                  last edited by

                  @oliof said in The most useless warning message ever?:

                  Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).

                  Thanks. I found "Invalid use of P parameter" there, however if this message was produced then it should have been prefixed by "M574: ".

                  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

                  o_lampeundefined 1 Reply Last reply Reply Quote 0
                  • o_lampeundefined
                    o_lampe @oliof
                    last edited by

                    @oliof
                    Might be, I had some endstop-warning, too. But not at the same time. IIRC it claimed some endstop was already in use. But in fact it wasn't.

                    1 Reply Last reply Reply Quote 0
                    • o_lampeundefined
                      o_lampe @dc42
                      last edited by

                      @dc42 said in The most useless warning message ever?:

                      @oliof said in The most useless warning message ever?:

                      Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).

                      Thanks. I found "Invalid use of P parameter" there, however if this message was produced then it should have been prefixed by "M574: ".

                      No there was no hint of anything. No line number or G-code relation.

                      1 Reply Last reply Reply Quote 0
                      • o_lampeundefined
                        o_lampe
                        last edited by

                        I just noticed, I had RRF3.3.b2 running, but DWC is still 3.2.
                        Could this lead to unexpected behaviour, like echos of previous reboots popping up
                        Will upgrade ASAP.

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