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

    RRF 3.2RC1 - SPI task faulted on abort comand

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    2
    5
    223
    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.
    • TypQxQundefined
      TypQxQ
      last edited by TypQxQ

      Running 3.2RC1 on 6HC+3HC+SBC. Checked version and all are upgraded.
      My macros seem to stop working. The following executed the first line as I can see on the printer.
      Worked fine on B4.1.
      Seems I can cause this by issuing abort command in a macro.

      [debug] Waiting for execution of G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position (macro code)
      [debug] Waiting for execution of M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it. (macro code)
      [debug] Waiting for execution of ; Unlock (macro code)
      [debug] Waiting for execution of M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool (macro code)
      [debug] Waiting for execution of ; Move back carriage (macro code)
      [debug] Processing ; Prepare for moving
      [debug] Waiting for finish of ; Prepare for moving
      [debug] Completed ; Prepare for moving
      [debug] Processing M400 ;Wait for current moves to finish
      [debug] Waiting for finish of M400 ;Wait for current moves to finish
      [debug] Processing M106 S0
      [debug] Waiting for finish of M106 S0
      [debug] Processing M208 X600 ; Set axis software limits and min/max switch-triggering positions. Extended with tools
      [debug] Completed ; Note: tool offsets are applied at this point unless we preempt commands with G53!
      [debug] Completed ; Note: Prior to this macro, XYZ have been saved to slot 2 by the firmware as though a G60 S2 were executed. 
      [debug] Waiting for finish of M208 X600 ; Set axis software limits and min/max switch-triggering positions. Extended with tools
      [debug] Waiting for execution of G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool. (macro code)
      [debug] Processing M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop.
      [debug] Waiting for finish of M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop.
      [debug] Waiting for execution of G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2 (macro code)
      [debug] Waiting for execution of M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it. (macro code)
      [debug] Processing M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0
      [debug] Waiting for finish of M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0
      [debug] Processing M400 ; Wait for current moves to finish
      [debug] Waiting for finish of M400 ; Wait for current moves to finish
      [debug] Processing ; Move into position
      [debug] Waiting for finish of ; Move into position
      [debug] Processing G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0.
      [debug] Waiting for finish of G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0.
      [debug] Processing G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position
      [debug] Waiting for finish of G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position
      [debug] Processing M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it.
      [debug] Waiting for finish of M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it.
      [debug] Processing ; Unlock
      [debug] Waiting for finish of ; Unlock
      [debug] Processing M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool
      [debug] Waiting for finish of M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool
      [debug] Processing ; Move back carriage
      [debug] Waiting for finish of ; Move back carriage
      [debug] Processing G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool.
      [debug] Waiting for finish of G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool.
      [debug] Processing G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2
      [debug] Waiting for finish of G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2
      [debug] Processing M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it.
      [debug] Waiting for finish of M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it.
      [debug] HTTP: Sent M400 ;Wait for current moves to finish, remaining space 1512, needed 24
      [debug] HTTP: Sent M106 S0, remaining space 1480, needed 32
      [debug] HTTP: Sent M208 X600 ; Set axis software limits and min/max switch-triggering positions. Extended with tools, remaining space 1448, needed 32
      [debug] HTTP: Sent M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop., remaining space 1376, needed 72
      [debug] HTTP: Sent M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0, remaining space 1344, needed 32
      [debug] HTTP: Sent M400 ; Wait for current moves to finish, remaining space 1320, needed 24
      [debug] HTTP: Sent G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0., remaining space 1280, needed 40
      [debug] HTTP: Sent G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position, remaining space 1240, needed 40
      [debug] HTTP: Sent M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it., remaining space 1200, needed 40
      [debug] HTTP: Sent M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool, remaining space 1140, needed 60
      [debug] HTTP: Sent G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool., remaining space 1100, needed 40
      [debug] HTTP: Sent G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2, remaining space 1060, needed 40
      [debug] HTTP: Sent M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it., remaining space 1012, needed 48
      [debug] Completed M400 ;Wait for current moves to finish
      [debug] HTTP: Suspending code M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0
      [debug] Completed M106 S0
      [debug] HTTP: Suspending code M400 ; Wait for current moves to finish
      [debug] Completed M208 X600 ; Set axis software limits and min/max switch-triggering positions. Extended with tools
      [debug] HTTP: Suspending code G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0.
      [debug] HTTP: Suspending code G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position
      [debug] HTTP: Suspending code M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it.
      [debug] Waiting for execution of ; Check so the tool is unmounted steady. (macro code)
      [debug] HTTP: Suspending code M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool
      [debug] Processing ; Check so the tool is unmounted steady.
      [debug] HTTP: Suspending code G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool.
      [debug] Waiting for finish of ; Check so the tool is unmounted steady.
      [debug] HTTP: Suspending code G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2
      [debug] HTTP: Suspending code M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it.
      [info] Starting macro file /sys/custom/EndStop_X-Max_Deactivate.g on channel HTTP
      [debug] HTTP: ==> Starting code M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop.
      [debug] Waiting for execution of M950 J14 C"nil" ; Don't use the input pin on io4 on the exp1 board as X max. (macro code)
      [debug] Processing M950 J14 C"nil" ; Don't use the input pin on io4 on the exp1 board as X max.
      [debug] Waiting for finish of M950 J14 C"nil" ; Don't use the input pin on io4 on the exp1 board as X max.
      [debug] HTTP: Sent M950 J14 C"nil" ; Don't use the input pin on io4 on the exp1 board as X max., remaining space 1492, needed 44
      [debug] Requesting update of key move, seq 75 -> 76
      [debug] Completed M950 J14 C"nil" ; Don't use the input pin on io4 on the exp1 board as X max.
      [debug] Finished codes from macro file /sys/custom/EndStop_X-Max_Deactivate.g
      [info] Finished macro file /sys/custom/EndStop_X-Max_Deactivate.g
      [debug] Updated key move
      [debug] HTTP: ==> Unfinished starting code: M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop.
      [debug] HTTP: Disposing macro file /sys/custom/EndStop_X-Max_Deactivate.g
      [debug] HTTP: Sent M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0, remaining space 1504, needed 32
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent M400 ; Wait for current moves to finish, remaining space 1480, needed 24
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0., remaining space 1440, needed 40
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position, remaining space 1400, needed 40
      [debug] Completed M98 P"/sys/custom/EndStop_X-Max_Deactivate.g" ; Don't use the X max as EmergencyStop.
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it., remaining space 1360, needed 40
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: -> Resumed suspended code
      [debug] Cancelled ; Check so the tool is unmounted steady.
      [info] Aborted macro file /sys/custom/tfree_end.g
      [debug] Cancelled M581 P3 T4 S1 ; Reattach trigger for when tool disconects after disconnecting it.
      [debug] Cancelled G53 G0 X500 F30000 ; Rapid to a position where a future tool change won't hurt anything by returning to this position via its G60 S2
      [debug] Cancelled G53 G0 X555 F30000 ; Fast Move to the pickup position with tool-0.
      [debug] Cancelled G53 G0 X575 F6000 ; Move the carraige to retract the pin until it clears the tool.
      [debug] Cancelled M98 P"/sys/custom/tool_unlock.g" ; Unlock the tool
      [debug] Cancelled ; Move back carriage
      [debug] Cancelled ; Move into position
      [debug] Cancelled M581 P-1 T4 ; Remove trigger for when tool disconects while disconnecting it.
      [debug] Cancelled G53 G0 X597 F6000 ; Move to the parking position with tool-0. This is 1mm less than pickup position
      [debug] Cancelled M400 ; Wait for current moves to finish
      [debug] Completed M302 P0 ; Prevent Cold Extrudes, just in case temp setpoints are at 0
      [debug] Cancelled ; Unlock
      [debug] Finished codes from macro file /sys/custom/tfree_end.g
      [debug] HTTP: ==> Unfinished starting code: M98 P"/sys/custom/tfree_end.g" ; Set axis max for print area
      [debug] HTTP: Disposing macro file /sys/custom/tfree_end.g
      [debug] Completed M98 P"/sys/custom/tfree_end.g" ; Set axis max for print area
      [debug] Completed G53 G0 Y515 F30000 ; Rapid to the Y approach position with tool. 
      [debug] Finished codes from macro file tfree49.g
      [info] Finished macro file tfree49.g
      [debug] HTTP: ==> Unfinished starting code: T-1
      [debug] HTTP: Disposing macro file tfree49.g
      [debug] Requesting update of key heat, seq 16 -> 17
      [debug] Updated key heat
      [debug] Requesting update of key inputs, seq 22 -> 23
      [debug] Updated key inputs
      [debug] Completed T-1
      [debug] Finished codes from macro file homez.g
      [info] Finished macro file homez.g
      [debug] HTTP: ==> Unfinished starting code: M98 P"homez.g" ; Home Z
      [debug] HTTP: Disposing macro file homez.g
      [debug] HTTP: Sent G32 ; Run 3-point bed calibration defined in bed.g, remaining space 1512, needed 24
      [debug] HTTP: -> Resumed suspended code
      [debug] Completed M98 P"homez.g" ; Home Z
      [info] Starting macro file bed.g on channel HTTP
      [debug] HTTP: ==> Starting code G32 ; Run 3-point bed calibration defined in bed.g
      [debug] Waiting for execution of ; bed.g (macro code)
      [debug] Waiting for execution of ; called to perform automatic bed compensation via G32 (macro code)
      [debug] Waiting for execution of ; (macro code)
      [debug] Processing ; bed.g
      [debug] Waiting for execution of ;G91								; Relative to move bed down (macro code)
      [debug] Waiting for finish of ; bed.g
      [debug] Waiting for execution of ;G0 Z5 F6000						; Move the bed further from the nozzle prior to any tool moves.  No G53 needed because this is a relative move. (macro code)
      [debug] Processing ; called to perform automatic bed compensation via G32
      [debug] Waiting for finish of ; called to perform automatic bed compensation via G32
      [debug] Completed ; called to perform automatic bed compensation via G32
      [debug] Waiting for execution of ;G90								; Return to absolute (macro code)
      [debug] Processing ;
      [debug] Completed ; bed.g
      [debug] Waiting for finish of ;
      [debug] Waiting for execution of T49 ; Select and Set Z switch to Probe (macro code)
      [debug] Completed ;
      [debug] Processing ;G91								; Relative to move bed down
      [debug] Waiting for execution of G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew (macro code)
      [debug] Waiting for finish of ;G91								; Relative to move bed down
      [debug] Completed ;G91								; Relative to move bed down
      [debug] Processing ;G0 Z5 F6000						; Move the bed further from the nozzle prior to any tool moves.  No G53 needed because this is a relative move.
      [debug] Waiting for execution of G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew (macro code)
      [debug] Waiting for finish of ;G0 Z5 F6000						; Move the bed further from the nozzle prior to any tool moves.  No G53 needed because this is a relative move.
      [debug] Waiting for execution of G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors (macro code)
      [debug] Completed ;G0 Z5 F6000						; Move the bed further from the nozzle prior to any tool moves.  No G53 needed because this is a relative move.
      [debug] Processing ;G90								; Return to absolute
      [debug] Waiting for finish of ;G90								; Return to absolute
      [debug] Completed ;G90								; Return to absolute
      [debug] Processing T49 ; Select and Set Z switch to Probe
      [debug] Waiting for finish of T49 ; Select and Set Z switch to Probe
      [debug] Waiting for execution of echo "Gantry deviation of " ^ move.calibration.initial.deviation ^ "mm obtained." (macro code)
      [debug] Processing G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew
      [debug] Waiting for finish of G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew
      [debug] Waiting for execution of T-1 ; Deselect ProbeTool (macro code)
      [debug] Processing G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew
      [debug] Waiting for finish of G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew
      [debug] Processing G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors
      [debug] Waiting for finish of G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors
      [debug] Processing echo "Gantry deviation of " ^ move.calibration.initial.deviation ^ "mm obtained."
      [debug] HTTP: Sent T49 ; Select and Set Z switch to Probe, remaining space 1512, needed 24
      [debug] HTTP: Sent G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew, remaining space 1456, needed 56
      [debug] HTTP: Sent G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew, remaining space 1400, needed 56
      [debug] HTTP: Sent G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors, remaining space 1336, needed 64
      [debug] HTTP: Suspending code G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew
      [debug] HTTP: Suspending code G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew
      [debug] HTTP: Suspending code G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors
      [debug] Macro file tpre49.g not found
      [debug] HTTP: ==> Starting code T49 ; Select and Set Z switch to Probe
      [debug] HTTP: Disposing macro file tpre49.g
      [debug] HTTP: ==> Unfinished starting code: T49 ; Select and Set Z switch to Probe
      [debug] HTTP: Sent G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew, remaining space 1456, needed 56
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew, remaining space 1400, needed 56
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Sent G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors, remaining space 1336, needed 64
      [debug] HTTP: -> Resumed suspended code
      [debug] HTTP: Suspending code G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew
      [debug] HTTP: Suspending code G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew
      [debug] HTTP: Suspending code G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors
      [info] Starting macro file tpost49.g on channel HTTP
      [debug] HTTP: ==> Starting code T49 ; Select and Set Z switch to Probe
      [debug] Waiting for execution of ; Mounting (macro code)
      [debug] Waiting for execution of ; runs after firmware thinks Tool49 is selected (macro code)
      [debug] Waiting for execution of ; Note: tool offsets are applied at this point! (macro code)
      [debug] Waiting for execution of ; Note that commands prefixed with G53 will NOT apply the tool offset. (macro code)
      [debug] Waiting for execution of ; Check so no tool is mounted before trying to mount one. (macro code)
      [debug] Processing ; Mounting
      [debug] Waiting for finish of ; Mounting
      [debug] Processing ; runs after firmware thinks Tool49 is selected
      [debug] Waiting for finish of ; runs after firmware thinks Tool49 is selected
      [debug] Processing ; Note: tool offsets are applied at this point!
      [debug] Waiting for finish of ; Note: tool offsets are applied at this point!
      [debug] Processing ; Note that commands prefixed with G53 will NOT apply the tool offset.
      [debug] Waiting for finish of ; Note that commands prefixed with G53 will NOT apply the tool offset.
      [debug] Completed ; Mounting
      [debug] Processing ; Check so no tool is mounted before trying to mount one.
      [debug] Completed ; runs after firmware thinks Tool49 is selected
      [debug] Waiting for finish of ; Check so no tool is mounted before trying to mount one.
      [debug] Completed ; Note: tool offsets are applied at this point!
      [debug] Completed ; Note that commands prefixed with G53 will NOT apply the tool offset.
      [debug] Completed ; Check so no tool is mounted before trying to mount one.
      [debug] Evaluating If block
      [debug] Evaluating 3 on channel HTTP
      [debug] Evaluating sensors.gpIn[3].value!=1 on channel HTTP
      [debug] Evaluation result: (sensors.gpIn[3].value!=1) = True
      [debug] Doing Abort
      [debug] Waiting for execution of abort "tpost49.g: Tool already picked up.  Manually return tool to the dock" (macro code)
      [debug] Processing abort "tpost49.g: Tool already picked up.  Manually return tool to the dock"
      [debug] Evaluating "tpost49.g: Tool already picked up.  Manually return tool to the dock" on channel HTTP
      [debug] Waiting for finish of abort "tpost49.g: Tool already picked up.  Manually return tool to the dock"
      [debug] Completed abort "tpost49.g: Tool already picked up.  Manually return tool to the dock"
      [debug] Finished codes from macro file tpost49.g
      [info] Finished macro file tpost49.g
      [debug] Completed T49 ; Select and Set Z switch to Probe => tpost49.g: Tool already picked up.  Manually return tool to the dock
      
      1 Reply Last reply Reply Quote 0
      • TypQxQundefined
        TypQxQ
        last edited by TypQxQ

        Continuing:

            [fatal] Abnormal program termination
            [fatal] SPI task faulted
            System.ObjectDisposedException: The CancellationTokenSource has been disposed.
            at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
            at System.Threading.CancellationTokenSource.Cancel()
            at DuetControlServer.FileExecution.Macro.Abort() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/FileExecution/Macro.cs:line 236
            at DuetControlServer.SPI.Channel.Processor.AbortFile(Boolean abortAll, Boolean printStopped) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 463
            at DuetControlServer.SPI.Channel.Processor.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 591
            at DuetControlServer.SPI.Channel.Manager.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Manager.cs:line 104
            at DuetControlServer.SPI.Interface.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 810
            [debug] IPC#69: Subscriber connection requested to terminate
            [debug] IPC#69: Subscription processor unregistered
            [debug] IPC#12: Subscriber connection requested to terminate
            [debug] IPC#69: Connection closed
            [debug] IPC#12: Subscription processor unregistered
            [debug] IPC#12: Connection closed
            [debug] IPC#4: Subscriber connection requested to terminate
            [debug] IPC#8: Subscriber connection requested to terminate
            [debug] IPC#4: Subscription processor unregistered
            [debug] IPC#4: Connection closed
            [debug] IPC#8: Subscription processor unregistered
            [debug] IPC#8: Connection closed
            [debug] Cancelled G30 P2 X495 Y5 Z-99999 S3 ; probe near front leadscrew and calibrate 3 motors
            [debug] IPC#70: Connection closed
            [debug] IPC#13: Connection closed
            [debug] IPC#9: Connection closed
            [debug] Cancelled G30 P1 X495 Y495 Z-99999 ; probe near back leadscrew
            [debug] IPC#5: Connection closed
            [info] Event logging stopped
            [debug] HTTP: Disposing macro file tpost49.g
            [warn] HTTP: Aborting orphaned macro file bed.g
            [info] Aborted macro file bed.g
            [warn] HTTP: ==> Cancelling unfinished starting code: G32 ; Run 3-point bed calibration defined in bed.g
            [warn] HTTP: Aborting orphaned macro file homeall.g
            [info] Aborted macro file homeall.g
            [warn] HTTP: ==> Cancelling unfinished starting code: G28
            [fatal] SPI task faulted
            System.ObjectDisposedException: The CancellationTokenSource has been disposed.
            at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
            at System.Threading.CancellationTokenSource.Cancel()
            at DuetControlServer.FileExecution.Macro.Abort() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/FileExecution/Macro.cs:line 236
            at DuetControlServer.SPI.Channel.Processor.AbortFile(Boolean abortAll, Boolean printStopped) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 463
            at DuetControlServer.SPI.Channel.Processor.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Processor.cs:line 591
            at DuetControlServer.SPI.Channel.Manager.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Channel/Manager.cs:line 104
            at DuetControlServer.SPI.Interface.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 810
            [debug] Update task terminated
            [debug] Periodic updater task terminated
            [debug] Cancelled G28
            [debug] Job task terminated
            [debug] Cancelled echo "Gantry deviation of " ^ move.calibration.initial.deviation ^ "mm obtained."
            [debug] Cancelled G30 P0 X5 Y264.5 Z-99999 ; probe near left leadscrew
            [debug] IPC#81: Connection closed
            [debug] IPC task terminated
            [debug] Stopping plugins and saving their execution state
            [debug] Cancelled G32 ; Run 3-point bed calibration defined in bed.g
            [debug] Cancelled G29 S1 ; Enable and load Mesh Bed Compensation
            [info] Application has shut down
        

        And the Debug after the board restarted:

        === Diagnostics ===
        RepRapFirmware for Duet 3 MB6HC version 3.2-RC1 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
        Board ID: 08DJM-956L2-G43S4-6JKDD-3SJ6L-TB62G
        Used output buffers: 1 of 40 (14 max)
        === RTOS ===
        Static ram: 149788
        Dynamic ram: 64212 of which 176 recycled
        Never used RAM 144656, free system stack 128 words
        Tasks: Linux(ready,49) HEAT(blocked,296) CanReceiv(blocked,833) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,19) MAIN(running,1189) IDLE(ready,19)
        Owned mutexes: HTTP(MAIN)
        === Platform ===
        Last reset 00:34:59 ago, cause: software
        Last software reset at 2020-12-21 23:34, reason: StackOverflow, GCodes spinning, available RAM 144732, slot 0
        Software reset code 0x4103 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0040080e BFAR 0x00000000 SP 0x2045ffb4 Task  Freestk 46173 bad marker
        Stack: 20432de0 20432e14 0046b47d 00000000 00004ff0 00004ff0 20433058 20433534 0046aaa9 20432dec 2041fe00 00000000 00f00000 e000ef34 c0000000 2041fe0c 0046abd1 0046a93c 21000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        Error status: 0x00
        Aux0 errors 0,0,0
        Aux1 errors 0,0,0
        MCU temperature: min 39.5, current 42.0, max 42.2
        Supply voltage: min 27.9, current 31.9, max 32.0, under voltage events: 0, over voltage events: 0, power good: yes
        12V rail voltage: min 12.0, current 12.0, max 12.1, under voltage events: 0
        Driver 0: position 177775, standstill, reads 31972, writes 24 timeouts 0, SG min/max 0/135
        Driver 1: position 13151, standstill, reads 31972, writes 24 timeouts 0, SG min/max 0/143
        Driver 2: position 12800, standstill, reads 31973, writes 23 timeouts 0, SG min/max 0/81
        Driver 3: position 0, standstill, reads 31977, writes 19 timeouts 0, SG min/max 0/142
        Driver 4: position 0, standstill, reads 31978, writes 19 timeouts 0, SG min/max 0/156
        Driver 5: position 0, standstill, reads 31978, writes 19 timeouts 0, SG min/max 0/99
        Date/time: 2020-12-22 00:09:58
        Slowest loop: 122.73ms; fastest: 0.05ms
        === Storage ===
        Free file entries: 10
        SD card 0 not detected, interface speed: 37.5MBytes/sec
        SD card longest read time 0.0ms, write time 0.0ms, max retries 0
        === Move ===
        DMs created 125, maxWait 241564ms, bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 36, completed moves 36, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === AuxDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === Heat ===
        Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
        === GCodes ===
        Segments left: 0
        Movement lock held by null
        HTTP* is doing "M122" in state(s) 0
        Telnet is idle in state(s) 0
        File is idle in state(s) 0
        USB is idle in state(s) 0
        Aux is idle in state(s) 0
        Trigger* is idle in state(s) 0
        Queue is idle in state(s) 0
        LCD is idle in state(s) 0
        SBC is idle in state(s) 0
        Daemon is idle in state(s) 0
        Aux2 is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty.
        === CAN ===
        Messages queued 8459, send timeouts 0, received 25255, lost 0, longest wait 1ms for reply type 6043, free buffers 47
        === SBC interface ===
        State: 4, failed transfers: 0
        Last transfer: 2ms ago
        RX/TX seq numbers: 14024/26259
        SPI underruns 0, overruns 0
        Number of disconnects: 1, IAP RAM available 0x2c85c
        Buffer RX/TX: 0/0-0
        === Duet Control Server ===
        Duet Control Server v3.2.0-rc1
        Code buffer space: 4096
        Configured SPI speed: 8000000 Hz
        Full transfers per second: 35.73
        Maximum length of RX/TX data transfers: 3359/36
        
        1 Reply Last reply Reply Quote 0
        • TypQxQundefined
          TypQxQ
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • TypQxQundefined
            TypQxQ
            last edited by

            This macro always crashes for me on RC1. Can anyone confirm?

            M118 S"Start testing" L1
            abort "Testing Abort"
            M118 S"Aborted already" L1
            
            chrishammundefined 1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @TypQxQ
              last edited by

              @TypQxQ said in RRF 3.2RC1 - SPI task faulted on abort comand:

              Thanks, I can confirm that. It will be fixed in RC2.

              Duet software engineer

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