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

    Invalid GPIO

    Scheduled Pinned Locked Moved
    Firmware installation
    firmware 3 update gpio
    4
    18
    1.1k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Does this printer use the standard Duet board, or is it a custom one from the manufacturer?

      What firmware version is it running? Can you post the results of M122 and M98 P"config.g" please?

      Also post your config.g

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • Fishpigundefined
        Fishpig
        last edited by

        Send: M122
        Recv: === Diagnostics ===
        Recv: RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later + DueX5
        Recv: Board ID: 0JD0M-9P61A-J8PSJ-6JTD8-3S46M-9BQUS
        Recv: Used output buffers: 1 of 24 (10 max)
        Recv: === RTOS ===
        Recv: Static ram: 30516
        Recv: Dynamic ram: 92516 of which 16 recycled
        Recv: Exception stack ram used: 592
        Recv: Never used ram: 7432
        Recv: Tasks: NETWORK(ready,640) HEAT(blocked,1240) DUEX(suspended,160) MAIN(running,1320) IDLE(ready,156)
        Recv: Owned mutexes:
        Recv: === Platform ===
        Recv: Last reset 03:23:57 ago, cause: software
        Recv: Last software reset at 2021-09-10 10:30, reason: User, spinning module GCodes, available RAM 7836 bytes (slot 3)
        Recv: Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
        Recv: Error status: 8
        Recv: Free file entries: 10
        Recv: SD card 0 detected, interface speed: 20.0MBytes/sec
        Recv: SD card longest block write time: 6.0ms, max retries 0
        Recv: MCU temperature: min 31.4, current 32.2, max 33.2
        Recv: Supply voltage: min 23.9, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
        Recv: Driver 0: standstill, SG min/max 0/324
        Recv: Driver 1: standstill, SG min/max 47/307
        Recv: Driver 2: temperature-shutdown! short-to-ground standstill, SG min/max not available
        Recv: Driver 3: standstill, SG min/max not available
        Recv: Driver 4: temperature-shutdown! short-to-ground standstill, SG min/max not available
        Recv: Driver 5: standstill, SG min/max 0/326
        Recv: Driver 6: standstill, SG min/max 0/1023
        Recv: Driver 7: standstill, SG min/max 0/322
        Recv: Driver 8: standstill, SG min/max 0/1023
        Recv: Driver 9: temperature-shutdown! short-to-ground standstill, SG min/max not available
        Recv: Date/time: 2021-09-10 13:54:07
        Recv: Cache data hit count 4294967295
        Recv: Slowest loop: 25.74ms; fastest: 0.09ms
        Recv: I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        Recv: === Move ===
        Recv: Hiccups: 0(0), FreeDm: 169, MinFreeDm: 163, MaxWait: 7856434ms
        Recv: Bed compensation in use: none, comp offset 0.000
        Recv: === MainDDARing ===
        Recv: Scheduled moves: 379, completed moves: 379, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
        Recv: === AuxDDARing ===
        Recv: Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
        Recv: === Heat ===
        Recv: Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
        Recv: === GCodes ===
        Recv: Segments left: 0
        Recv: Stack records: 3 allocated, 0 in use
        Recv: Movement lock held by null
        Recv: http is idle in state(s) 0
        Recv: telnet is idle in state(s) 0
        Recv: file is idle in state(s) 0
        Recv: serial is ready with "M122" in state(s) 0
        Recv: aux is idle in state(s) 0
        Recv: daemon is idle in state(s) 0
        Recv: queue is idle in state(s) 0
        Recv: autopause is idle in state(s) 0
        Recv: Code queue is empty.
        Recv: === Network ===
        Recv: Slowest loop: 8446.66ms; fastest: 0.00ms
        Recv: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
        Recv: HTTP sessions: 0 of 8
        Recv: - WiFi -
        Recv: Network state is running
        Recv: WiFi module is providing access point
        Recv: Failed messages: pending 0, notready 0, noresp 1
        Recv: WiFi firmware version 1.23
        Recv: WiFi MAC address 4a:3f:da:51:11:37
        Recv: WiFi Vcc 3.41, reset reason Hardware watchdog
        Recv: WiFi flash size 4194304, free heap 24608
        Recv: WiFi IP address 192.168.1.1
        Recv: Connected clients 1
        Recv: Socket states: 0 0 0 0 0 0 0 0
        Recv: === Filament sensors ===
        Recv: Extruder 0 sensor: ok
        Recv: ok

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Fishpigundefined
          Fishpig
          last edited by

          Send: M98 P"CONFIG.G"
          Recv: Error: M574: endstop type 0 is no longer supported. Use type 1 and invert the input pin instead.
          Recv: Error: M574: endstop type 0 is no longer supported. Use type 1 and invert the input pin instead.
          Recv: Turn off the current WiFi mode before selecting a new one
          Recv: HTTP is enabled on port 80
          Recv: FTP is disabled
          Recv: TELNET is disabled
          Recv: Error: M307: Heater 3 not found
          Recv: Warning: M307: heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 542C.
          Recv:
          Recv: Error: M106: Fan number 3 not found
          Recv: Error: M106: Fan number 4 not found
          Recv: Error: M106: Fan number 5 not found
          Recv: Error: M106: Fan number 6 not found
          Recv: Error: M106: Fan number 7 not found
          Recv: Error: M106: Fan number 8 not found
          Recv: Warning: M307: heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 763C.
          Recv:
          Recv: ok

          1 Reply Last reply Reply Quote 1
          • Fishpigundefined
            Fishpig
            last edited by

            i tried to post those in the </> and it was flagged as spam

            1 Reply Last reply Reply Quote 1
            • Phaedruxundefined
              Phaedrux Moderator @Fishpig
              last edited by

              @fishpig said in Invalid GPIO:

              RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later + DueX5

              Are you able to update to 3.3?

              It looks like your config is still using a lot of RRF2 syntax.

              Z-Bot CoreXY Build | Thingiverse Profile

              Fishpigundefined 1 Reply Last reply Reply Quote 0
              • Fishpigundefined
                Fishpig @Phaedrux
                last edited by

                @phaedrux
                don't have a link to the files do you?
                also as i have a rare not well known printer i am a little hesitant to update further without some files to make sure it runs on this big girl, it's a work printer not mine personally.

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

                  @Phaedrux the custom vivedino board doesn't work with RRF since RRF3.1RC11 for unresolved reasons, see https://forum.duet3d.com/topic/16997/formbot-troodon-rrf-3-1-1-update/7 for the discussion back at the time.

                  EDIT: The config provided by vivedino is available at https://github.com/InsanityAutomation/FormbotTroodon/

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

                  Phaedruxundefined 1 Reply Last reply Reply Quote 2
                  • oliofundefined
                    oliof
                    last edited by oliof

                    @Fishpig check if that M42 P25 is maybe in your slicer's start gcode and remove if from there. Assuming the configuration files haven't been changed, there's no reference to a GPIO 25 in there. And yes, it looks like an RRF2.x config running on RRF3.x, so the configuration for the LEDs doesn't work.

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

                    Fishpigundefined 1 Reply Last reply Reply Quote 2
                    • Fishpigundefined
                      Fishpig
                      last edited by

                      Thanks guys,
                      i'll test out M42 P25 in a short while, i think i might try and find the RRF2.X firmware and go back to that.

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @oliof
                        last edited by

                        @oliof said in Invalid GPIO:

                        @Phaedrux the custom vivedino board doesn't work with RRF since RRF3.1RC11 for unresolved reasons, see https://forum.duet3d.com/topic/16997/formbot-troodon-rrf-3-1-1-update/7 for the discussion back at the time.

                        EDIT: The config provided by vivedino is available at https://github.com/InsanityAutomation/FormbotTroodon/

                        Yes I had suspected it was the custom board.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 1
                        • Fishpigundefined
                          Fishpig
                          last edited by

                          I just entered M42 P25

                          Send: M42 P25
                          Recv: Error: Invalid gpio port 25
                          Recv: ok
                          

                          and it throws the error outside of starting a print.

                          dc42undefined 1 Reply Last reply Reply Quote 0
                          • Fishpigundefined
                            Fishpig @oliof
                            last edited by

                            @oliof
                            well would you look at that.....just got the cura going and found not only was it set to marlin but the start code was

                            M42 P25 S0
                            M42 P26 S0
                            M42 P24 S255
                            M280 P7 S160
                            T0
                            G92 E0
                            G1 E-10 F1800
                            G32
                            G29
                            G1 X0 Y0 F4800
                            G92 E0
                            G1 E10 F540
                            G92 E0
                            G1 E-3.0000 F1800
                            G1 Z0.200 F1000
                            G1 X400 Y0 E43.5631 F1000
                            G92 E0
                            G1 E-8.0000 F5400
                            G1 X205 Y200 F18000
                            G1 E0 F5400
                            
                            1 Reply Last reply Reply Quote 0
                            • oliofundefined
                              oliof
                              last edited by

                              @Fishpig good find. You should still update your config to 3.0 syntax.

                              @Phaedrux you never figured out what change in RRF broke the board, right?

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

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

                                @fishpig said in Invalid GPIO:

                                I just entered M42 P25

                                Send: M42 P25
                                Recv: Error: Invalid gpio port 25
                                Recv: ok
                                

                                and it throws the error outside of starting a print.

                                Try a lower number than 25. I think 25 may be higher than the maximum allowed.

                                EDIT: the highest GpOut port number allowed in Duet 2 builds of RRF is 19.

                                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
                                • Phaedruxundefined
                                  Phaedrux Moderator @oliof
                                  last edited by

                                  @oliof said in Invalid GPIO:

                                  @Phaedrux you never figured out what change in RRF broke the board, right?

                                  I don't think anyone affiliated with Duet has a Troodon board in hand to know how it's different.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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

                                    Last I heard the only difference is that the TMC2660s stallguard pins are floating since those aren't required on the troodon. Otherwise, it's a single board combining Duet2Wifi and Duex5. Unfortunately, I don't have a board (or schematics) either.

                                    <>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
                                    • oliofundefined
                                      oliof
                                      last edited by

                                      @Phaedrux I ordered a board and expect it to arrive by October. If I don't manage to find the offending change by a couple bisecting builds, I'm happy to send it over to Duet3D for inspection.

                                      <>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 2
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA