4_Axis_SPI_CNC
4_Axis_SPI_CNC copied to clipboard
GRBL_EEPROM problem
I was messing about with "4_Axis_SPI_CNC" code and my laser galvo/stepper setup.
The ESP32 now seems to be stuck in a boot loop. Keeps throwing errors.
My guess is I managed to mess up GRBL settings that got written to EEPROM and now its stuck. Here
s error log from UGS https://pastebin.com/H34hUsYm
I have tried reset the settings by $RST=$.
Any suggestions?
I'll give it a look tomorrow. I lot has changed since that branch was touched.
"Galvo" I love the sound of that. What you makin'
I see that original TMCStepper library now supports SPI chaining. No need for my fork.
I think it is time to do a complete rewrite of all TMC driver support in Grbl_ESP32. This will use TMCStepper for all types of drivers and support daisy chaining. Currently the master branch only supports TMC2160 drivers via the TMC2160Stepper library.
This will take some time. Hopefully I'll have something later next week.
In the mean time, could you run your error through the decoder and paste a screenshot here?
Hi, thanks for reply. I want to thank you for your work on ESP_GRBL. Thank you!!! Just experimenting with 2x 0.45deg steppers as galvo/mirror drivers to steer laser beam of a laser measure(UART) to draw shapes on a planar surface, possibly calculating/compensating perspective angle . here is the log from decoder https://www.dropbox.com/s/uhlnojlgwpirlvr/Screenshot%202019-09-13%2018.27.59.png?dl=0
I thought it might be a buffer overrun, but there are no smoking guns in that report.
Are you sure you are using the current master branch from espressif
Are you using my fork of the TMCStepper library?
Can you try to run the current master branch of Grbl_ESP32 with no changes as a test?
Replaced ESP32 mcu all good now, I must have messed up the EEPROM when playing with GRBL settings (I tried saving stupid values like 20.000.000 maximum rate/ acceleration ). But thanks for looking into this bud.
I see that original TMCStepper library now supports SPI chaining. No need for my fork.
I think it is time to do a complete rewrite of all TMC driver support in Grbl_ESP32. This will use TMCStepper for all types of drivers and support daisy chaining. Currently the master branch only supports TMC2160 drivers via the TMC2160Stepper library.
This will take some time. Hopefully I'll have something later next week.
In the mean time, could you run your error through the decoder and paste a screenshot here?
Can use A4988 driver?
@Althafzahra You would need to put the signals used for SPI into the correct values for the MS jumpers and Reset pin of the A4988. Grbl_ESP32 cannot do that, but FluidNC can do that.