lordbinky wrote:When it crashes I don't get squat on the terminal or gcode log or a dump on the board and I don't have a jtag to get information that way. Is there something else to try I overlooked?
Actually, yeah! Smoothie has a couple of ways for debugging stuff like this. They thought of everything.
First, in config, change second_usb_serial_enable to true, save, unmount the SD card, reset the printer. When it's finished coming back, connect to it with a terminal application like minicom or cutecom (or whatever comes with your OS). You will need to leave the terminal open while using the printer, because if you don't, it will hang. (It has a serial buffer that won't flush without a connected console, so if you ask for that second serial console, you HAVE to use it.)
On the serial console, type help for a list of commands. One of them should be "mem" or "memory". You can run that command periodically to see how much RAM is available. See if there are any unexpected drops in RAM, and where it is when it crashes. Let me know what you observe.
Second, Smoothie contains something called Monitor for Remote Inspection, or MRI. If the board crashes, MRI should take over. See
this page for info on what to do. All the files you need are already included with the Smoothie source, so you don't have to download anything else. I'd need you to create a full crash dump, not mini, then upload it to
Gist or some other file sharing place. Instead of sending it to the Smoothie community for analysis (they won't even know about my code), post the link here so I can look at it.
I haven't tried MRI with second serial enabled. That setting
could conflict with MRI. I don't know. If you're not able to connect to MRI, try disabling second_usb_serial_enable to false, saving, ejecting, rebooting, and running the commands again.