"System shutdown" error msg

Home Forums TinyG TinyG Support "System shutdown" error msg

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3949
    incognico
    Member

    I’m running 370.080 on hardware “TinyG v6”. Is this a supported setup?

    When I set $XSN 3 (ie limit + homing switch combined) then I get the following message every ~3 presses of the reset button (or randomly(?) during gcode execution) –

    {“er”:{“fb”:370.08,”st”:27,”msg”:”System shutdown”,”val”:1}}

    The error does not seem to occur with $XSN set to 1.

    I have erased and reflashed the board a number of times with no change in the symptoms.

    Bug, perhaps? Can anyone reproduce?

    -Nick

    #3950
    alden
    Member

    It sounds like you may have a noisy limit switch line. I wrote up some steps to take here:

    https://github.com/synthetos/TinyG/wiki/Troubleshooting#system-shuts-down-and-generates-an-er-message

    Please let me know if these are helpful or not.

    –Alden

    #3951
    incognico
    Member

    That is fantastic, thank you very much.

    I changed my limit/home switches to NC from NO and that seems to have sorted it out. I will add some pullups & caps if I see it again.

    On another note, with all the reflashing I was doing, how do people reload their config after each update? I tried putting all the individual commands into a text file and sending it through coolterm, but it does not look like the flow control works properly for this – the first few commands worked and the rest would be truncated or skipped. Any tips? I am a little over typing them all in each time I find an update, and I’m worried I will eventually miss one.

    –Nick

    #3954
    alden
    Member

    Set the line delay in Cooterm to about 50milliseconds and try it with that. The issue is that the xmega on the tinyg needs time to write to EEPROM, during which time it shuts down interrupts and therefore loses serial chars

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.