bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.01k stars 1.97k forks source link

[QUESTION] Using TMCStepper 6.0.0 #100

Open damvcoool opened 4 years ago

damvcoool commented 4 years ago

Hello BTT team,

Since teemuatlut has release TMCStepper 6.0.0, with WriteOnly Feature removed https://github.com/teemuatlut/TMCStepper/commit/63d0ef525c5d2ba49f9fb4fb4c4440df101dd7fa

Is it still needed to use the custom (and outdated) TMCStepper from BTT? https://github.com/bigtreetech/TMCStepper

I will be testing this later today, however some official documentation update, would be useful for future buyers.

swilkens commented 4 years ago

I think we are still tied to a custom TMCStepper as long as @bigtreetech uses a custom swserial.

https://github.com/bigtreetech/TMCStepper/commit/7fda12fd9575f893684cb4889015bf6162436950

It would be nice if we could use upstream TMCStepper and Marlin though, maybe if we pull swserial from something else - like FYSETC does:

https://github.com/MarlinFirmware/Marlin/blob/af61f37b6595edeb43ec880529880e75dd1649be/platformio.ini#L286

damvcoool commented 4 years ago

I believe they are working on that with this PR https://github.com/MarlinFirmware/Marlin/pull/15655#issuecomment-552599689

swilkens commented 4 years ago

https://github.com/MarlinFirmware/Marlin/pull/15875

swilkens commented 4 years ago

MarlinFirmware/Marlin#15875

F.Y.I. the PR in this lets us use the upstream TMCStepper and Marlin cleanly, worked for me.

swilkens commented 4 years ago

The changes proposed in MarlinFirmware/Marlin#15875 have been merged in upstream Marlin.

For the v1.2 mini, we can now build Marlin-2.0.x upstream with upstream TMCStepper for this board without the need for BTT's forks.

damvcoool commented 4 years ago

I am compiling this with my settings right now... for reference these are the settings i am using. I Use a BLTouch, and also changed platformio.ini to use teemuatlut repository directly.

Once i get back from work i will install the bin, and test with a Benchy. Configuration.zip

damvcoool commented 4 years ago

I think there is something wrong with my configuration...the Printer Homes, then Bed Levels, however when printing, it's fine for the first few lines and then somehow it forgets where home is, by what i mean by that is it's supposed to draw a line that's 30cm long, and when it gets to about 20cm, it starts to execute the next command, stopping the print at this point and looking at the x,y possition it seems that it's off from where it should actually be.

I can't seem to find what may have i configured wrong.

Also with the configuration i posted it seems we get the TMC Connection Error.

swilkens commented 4 years ago

There is a small issue with the new TMCStepper version 0.6.0 that came out recently that causes connection errors.

https://github.com/teemuatlut/TMCStepper/issues/93

For now, this can be fixed by changing your platformio.ini file to have TMCStepper@=0.5.2. Then, it should work properly again.