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

    3.5.0rc3 DSF won't connect to Duet board

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    10
    358
    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.
    • katiepi1066undefined
      katiepi1066
      last edited by katiepi1066

      I haven't ruled out this is user error but I can't figure where I'm going wrong.

      Hardware is known good.

      DSF works when using the stable branch.

      I upgrade to unstable and update the pi side, everything works fine until it tries to update the board. It thinks the firmware flash works, but the board never comes back up.

      I use bossa to manually flash to 3.5.0rc3. Bossa thinks it flashes successfully but no joy on the DSF side.

      I nuke the card and reimage it, and bossa reflash the board to 3.4.6. Run the linux updates (still on the stable branch). Everything's happy, DSF connects no problem.

      I switch back to unstable and run the linux updates again. Double check that it's pulling 3.5.0rc3 and it is. Update tries to flash the board and it fails with errors when running apt dist-upgrade.

      I use Bossa to reflash 3.5.0rc3. Bossa thinks it works but again, no DSF joy.

      I've reviewed the release notes and everything else I can find and I can't figure out what I'm missing. Help?

      EDIT - and yes I am BOSSA flashing the SBC builds not the standard firmware.

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @katiepi1066
        last edited by

        @katiepi1066 What do you get in the journal of duetcontrolserver? Run journalctl -u duetcontrolserver -ef on the Pi and check what comes up.

        Duet software engineer

        katiepi1066undefined 1 Reply Last reply Reply Quote 0
        • katiepi1066undefined
          katiepi1066
          last edited by

          Figured it out - Needed to be using the latest OS image (bookwork), not the old stable image.

          1 Reply Last reply Reply Quote 0
          • printerguy3dundefined
            printerguy3d
            last edited by

            doesn't like to run on duet2 ethernet board in sbc mode here is putty response from journalctl

            rface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:19 duet3 DuetControlServer[11300]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:19 duet3 DuetControlServer[11300]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:19 duet3 DuetControlServer[11300]: [info] Application has shut down
            Feb 16 11:01:19 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
            Feb 16 11:01:19 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
            Feb 16 11:01:19 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.165s CPU time.
            Feb 16 11:01:24 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 112.
            Feb 16 11:01:24 duet3 systemd[1]: Stopped duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:24 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.165s CPU time.
            Feb 16 11:01:24 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
            Feb 16 11:01:24 duet3 DuetControlServer[11382]: Duet Control Server v3.5.0-rc.3
            Feb 16 11:01:24 duet3 DuetControlServer[11382]: Written by Christian Hammacher for Duet3D
            Feb 16 11:01:24 duet3 DuetControlServer[11382]: Licensed under the terms of the GNU Public License Version 3
            Feb 16 11:01:25 duet3 DuetControlServer[11382]: [info] Settings loaded
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [info] Environment initialized
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [info] Connection to Duet established
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [info] IPC socket created at /run/dsf/dcs.sock
            Feb 16 11:01:26 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [fatal] Abnormal program termination
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [fatal] SPI task faulted
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [fatal] SPI task faulted
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:26 duet3 DuetControlServer[11382]: [info] Application has shut down
            Feb 16 11:01:27 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
            Feb 16 11:01:27 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
            Feb 16 11:01:27 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.220s CPU time.
            Feb 16 11:01:32 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 113.
            Feb 16 11:01:32 duet3 systemd[1]: Stopped duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:32 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.220s CPU time.
            Feb 16 11:01:32 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
            Feb 16 11:01:32 duet3 DuetControlServer[11461]: Duet Control Server v3.5.0-rc.3
            Feb 16 11:01:32 duet3 DuetControlServer[11461]: Written by Christian Hammacher for Duet3D
            Feb 16 11:01:32 duet3 DuetControlServer[11461]: Licensed under the terms of the GNU Public License Version 3
            Feb 16 11:01:33 duet3 DuetControlServer[11461]: [info] Settings loaded
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [info] Environment initialized
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [info] Connection to Duet established
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [info] IPC socket created at /run/dsf/dcs.sock
            Feb 16 11:01:34 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [fatal] Abnormal program termination
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [fatal] SPI task faulted
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: [fatal] SPI task faulted
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:34 duet3 DuetControlServer[11461]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:35 duet3 DuetControlServer[11461]: [info] Application has shut down
            Feb 16 11:01:35 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
            Feb 16 11:01:35 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
            Feb 16 11:01:35 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.838s CPU time.
            Feb 16 11:01:40 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 114.
            Feb 16 11:01:40 duet3 systemd[1]: Stopped duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:40 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.838s CPU time.
            Feb 16 11:01:40 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
            Feb 16 11:01:41 duet3 DuetControlServer[11559]: Duet Control Server v3.5.0-rc.3
            Feb 16 11:01:41 duet3 DuetControlServer[11559]: Written by Christian Hammacher for Duet3D
            Feb 16 11:01:41 duet3 DuetControlServer[11559]: Licensed under the terms of the GNU Public License Version 3
            Feb 16 11:01:42 duet3 DuetControlServer[11559]: [info] Settings loaded
            Feb 16 11:01:42 duet3 DuetControlServer[11559]: [info] Environment initialized
            Feb 16 11:01:42 duet3 DuetControlServer[11559]: [info] Connection to Duet established
            Feb 16 11:01:42 duet3 DuetControlServer[11559]: [info] IPC socket created at /run/dsf/dcs.sock
            Feb 16 11:01:42 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: [fatal] Abnormal program termination
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: [fatal] SPI task faulted
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: [fatal] SPI task faulted
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: System.InvalidOperationException: Stack underrun on channel File2
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
            Feb 16 11:01:43 duet3 DuetControlServer[11559]: [info] Application has shut down
            Feb 16 11:01:43 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
            Feb 16 11:01:43 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
            Feb 16 11:01:43 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.238s CPU time.
            Feb 16 11:01:48 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart

            F

            1 Reply Last reply Reply Quote 0
            • printerguy3dundefined
              printerguy3d
              last edited by

              counter is at 115.
              Feb 16 11:01:48 duet3 systemd[1]: Stopped duetcontrolserver.service - Duet Control Server.
              Feb 16 11:01:48 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.238s CPU time.
              Feb 16 11:01:48 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
              Feb 16 11:01:49 duet3 DuetControlServer[11638]: Duet Control Server v3.5.0-rc.3
              Feb 16 11:01:49 duet3 DuetControlServer[11638]: Written by Christian Hammacher for Duet3D
              Feb 16 11:01:49 duet3 DuetControlServer[11638]: Licensed under the terms of the GNU Public License Version 3
              Feb 16 11:01:49 duet3 DuetControlServer[11638]: [info] Settings loaded
              Feb 16 11:01:50 duet3 DuetControlServer[11638]: [info] Environment initialized
              Feb 16 11:01:50 duet3 DuetControlServer[11638]: [info] Connection to Duet established
              Feb 16 11:01:50 duet3 DuetControlServer[11638]: [info] IPC socket created at /run/dsf/dcs.sock
              Feb 16 11:01:50 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
              Feb 16 11:01:50 duet3 DuetControlServer[11638]: [fatal] Abnormal program termination
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: [fatal] SPI task faulted
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: System.InvalidOperationException: Stack underrun on channel File2
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: [fatal] SPI task faulted
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: System.InvalidOperationException: Stack underrun on channel File2
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
              Feb 16 11:01:51 duet3 DuetControlServer[11638]: [info] Application has shut down
              Feb 16 11:01:51 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
              Feb 16 11:01:51 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
              Feb 16 11:01:51 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.190s CPU time.
              Feb 16 11:01:56 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 116.
              Feb 16 11:01:56 duet3 systemd[1]: Stopped duetcontrolserver.service - Duet Control Server.
              Feb 16 11:01:56 duet3 systemd[1]: duetcontrolserver.service: Consumed 3.190s CPU time.
              Feb 16 11:01:56 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
              Feb 16 11:01:56 duet3 DuetControlServer[11717]: Duet Control Server v3.5.0-rc.3
              Feb 16 11:01:56 duet3 DuetControlServer[11717]: Written by Christian Hammacher for Duet3D
              Feb 16 11:01:56 duet3 DuetControlServer[11717]: Licensed under the terms of the GNU Public License Version 3
              Feb 16 11:01:57 duet3 DuetControlServer[11717]: [info] Settings loaded
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [info] Environment initialized
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [info] Connection to Duet established
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [info] IPC socket created at /run/dsf/dcs.sock
              Feb 16 11:01:58 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [fatal] Abnormal program termination
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [fatal] SPI task faulted
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: System.InvalidOperationException: Stack underrun on channel File2
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [fatal] SPI task faulted
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: System.InvalidOperationException: Stack underrun on channel File2
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
              Feb 16 11:01:58 duet3 DuetControlServer[11717]: [info] Application has shut down
              Feb 16 11:01:59 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
              Feb 16 11:01:59 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.

              1 Reply Last reply Reply Quote 0
              • katiepi1066undefined
                katiepi1066 @chrishamm
                last edited by

                @chrishamm

                Feb 18 14:40:14 duet3 systemd[1]: Starting duetcontrolserver.service - Duet Control Server...
                Feb 18 14:40:15 duet3 DuetControlServer[2666]: Duet Control Server v3.5.0-rc.3
                Feb 18 14:40:15 duet3 DuetControlServer[2666]: Written by Christian Hammacher for Duet3D
                Feb 18 14:40:15 duet3 DuetControlServer[2666]: Licensed under the terms of the GNU Public License Version 3
                Feb 18 14:40:16 duet3 DuetControlServer[2666]: [info] Settings loaded
                Feb 18 14:40:16 duet3 DuetControlServer[2666]: [info] Environment initialized
                Feb 18 14:40:16 duet3 DuetControlServer[2666]: [info] Connection to Duet established
                Feb 18 14:40:16 duet3 DuetControlServer[2666]: [info] IPC socket created at /run/dsf/dcs.sock
                Feb 18 14:40:16 duet3 systemd[1]: Started duetcontrolserver.service - Duet Control Server.
                Feb 18 14:40:17 duet3 DuetControlServer[2666]: [fatal] Abnormal program termination
                Feb 18 14:40:17 duet3 DuetControlServer[2666]: [fatal] SPI task faulted
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    System.InvalidOperationException: Stack underrun on channel File2
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
                Feb 18 14:40:17 duet3 DuetControlServer[2666]: [fatal] SPI task faulted
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    System.InvalidOperationException: Stack underrun on channel File2
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Channel.Processor.Pop() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 128
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Channel.Processor.MacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 1121
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.HandleMacroFileClosed() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 1321
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.ProcessPacket(PacketHeader packet) in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 970
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.SPI.Interface.Run() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 772
                Feb 18 14:40:17 duet3 DuetControlServer[2666]:    at DuetControlServer.Utility.PriorityThreadRunner.<>c__DisplayClass0_0.<Start>b__0() in /home/runner/work/DuetSoftwareFramework/DuetSoftwareFramework/src/DuetControlServer/Utility/PriorityThreadRunner.cs:line 25
                Feb 18 14:40:17 duet3 DuetControlServer[2666]: [info] Application has shut down
                Feb 18 14:40:17 duet3 systemd[1]: duetcontrolserver.service: Main process exited, code=exited, status=70/SOFTWARE
                Feb 18 14:40:17 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'exit-code'.
                Feb 18 14:40:17 duet3 systemd[1]: duetcontrolserver.service: Consumed 4.124s CPU time.
                
                

                Also updating the newest build did not in fact fix this issue.

                chrishammundefined 1 Reply Last reply Reply Quote 0
                • chrishammundefined
                  chrishamm administrators @katiepi1066
                  last edited by

                  @katiepi1066 Are you certain that you have RRF 3.5.0rc3 on the Duet 2 in SBC mode? File2 is NOT supported on that board, so I can't see why RRF would request macros to be closed on that particular channel.

                  Duet software engineer

                  katiepi1066undefined 1 Reply Last reply Reply Quote 0
                  • katiepi1066undefined
                    katiepi1066 @chrishamm
                    last edited by

                    @chrishamm I am as sure as I can be. I've flashed the board 2 ways:

                    1. Put 3.4.6 on the board with BOSSA. DWC tells me there's a file incompatibility and I need to update the board. I run M997 S0 to do so. Board goes down and never reconnects even after a power cycle

                    2. Manually flash 3.5.0rc3 SBC from the git repo onto the board using BOSSA. BOSSA thinks the board flashes correctly, but when powered on DWC is never able to connect to the board.

                    If there's another technique or something I'm missing I'm happy to try it.

                    chrishammundefined 1 Reply Last reply Reply Quote 0
                    • chrishammundefined
                      chrishamm administrators @katiepi1066
                      last edited by

                      @katiepi1066 Thanks for reporting this, I've got some bug fixes ready. We'll get back to you shortly.

                      Duet software engineer

                      1 Reply Last reply Reply Quote 0
                      • printerguy3dundefined
                        printerguy3d
                        last edited by

                        ready to test when you have something to try

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