Open xhejtman opened 2 years ago
+1 getting the exact same issue. I tried 2 different boards, with all new EZ2209 drivers. Also present in Marlin 2.1
@setix: did you have chance to try different drivers? I will try EZ5160 tomorrow.
Anyway, does Marlin 2.1 boots for you? I cannot boot it, it stuck after eeprom configuration crc mismatch.
@xhejtman I have not tried any other drivers that EZ2209, I thought my board was bad, but after swapping it out I got the same results of "Bad Response" and "Error: All LOW" same as you. I was able to get Marlin 2.1 to boot, but it contains the same error on M122.
@Setix so, could you share your configs for marlin 2.1?
@xhejtman Here ya go. Obvs rename the extension back to h Configuration.txt Configuration_adv.txt
It does work with TMC5160 drivers, they are all connected.
Getting a similar issue with the EZ2209. Except it's always the same X,Z,&E1 ports that report "all low". The X port will flicker between reporting "ok" and "all low". And I've also tried with 2 separate sets of SKR3EZ boards & EZ2209 drivers (even swapping the sets) as well - same exact issues. It's suspicious that the issue is always in every other driver port and persists regardless of TMC or EZ versions of the 2209s
Same issue here with TMC EZ2209. I've tried multiple versions of Marlin, from the repo here to the latest 2.1.x bugfix. Only way to not have the TMC CONNECTION error is to- #declare *_DRIVER_TYPE TMC2209_STANDALONE but that kind of defeats the purpose.
I also suspect that with CONNECTION error, driver is actually not set from default values as sound while axis moving is a bit strange/different to SKR 1.4 + TMC2209 drivers and the same motors.
I've noticed the same, the strange noises is most prominent in my Z axis. Tho I haven't really tested out the E1 port since I don't have a dedicated motor for it. I also haven't tested movement in standalone mode to see if the noises were still there.
firmware or compiler issue, i had this issue and someone else compiled a version for me. So big thanks to LostinTech from youtube.
he sent me the files and even when i compiled it, they still had the issues. But when he compiled the same one it worked just fine.
think the compilers are missing something.
but try thesee and get back to me.
(These are set for an ender but at least youll be able to see if you TMC goes away
just change to bin obviously. firmware.txt )
So, do we know what is different?
PACKAGES:
- framework-arduinoststm32 @ 0.0.0
- framework-cmsis @ 2.50700.210515 (5.7.0)
- toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 14 compatible libraries
Scanning dependencies...
Dependency Graph
|-- TMCStepper @ 0.7.3
| |-- SPI @ 1.0.0
| |-- SoftwareSerial @ 1.0.0
|-- SlowSoftI2CMaster @ 1.0.0
|-- SlowSoftWire @ 0.0.0+20220803222019
| |-- SlowSoftI2CMaster @ 1.0.0
|-- SPI @ 1.0.0
|-- EEPROM @ 2.0.1
|-- SoftwareSerial @ 1.0.0
|-- IWatchdog @ 1.0.0
|-- Wire @ 1.0.0
|-- Servo @ 1.1.2
I could not figure out the difference I would need his vs code folder and platformio libraries I think. I'm just guessing. I'll keep trying different things later today. I exhausted myself checking pins and stuff to finally find something that works.
On Thu, Aug 11, 2022, 4:34 PM xhejtman @.***> wrote:
So, do we know what is different?
PACKAGES:
- framework-arduinoststm32 @ 0.0.0
- framework-cmsis @ 2.50700.210515 (5.7.0)
- toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) Converting Marlin.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 14 compatible libraries Scanning dependencies... Dependency Graph |-- TMCStepper @ 0.7.3 | |-- SPI @ 1.0.0 | |-- SoftwareSerial @ 1.0.0 |-- SlowSoftI2CMaster @ 1.0.0 |-- SlowSoftWire @ 0.0.0+20220803222019 | |-- SlowSoftI2CMaster @ 1.0.0 |-- SPI @ 1.0.0 |-- EEPROM @ 2.0.1 |-- SoftwareSerial @ 1.0.0 |-- IWatchdog @ 1.0.0 |-- Wire @ 1.0.0 |-- Servo @ 1.1.2
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1212466716, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK46CV2FD6A6Z7XB27TVYVPTZANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
I'm putting this board on my Ender5. I tested the bin file and it did work for me, all ports reported back "ok"!! Do you have any of the code files, at least the config & config_adv?
firmware or compiler issue, i had this issue and someone else compiled a version for me. So big thanks to LostinTech from youtube.
he sent me the files and even when i compiled it, they still had the issues. But when he compiled the same one it worked just fine.
think the compilers are missing something.
but try thesee and get back to me.
(These are set for an ender but at least youll be able to see if you TMC goes away
just change to bin obviously. firmware.txt )
I'm putting this board on my Ender5. I tested the bin file and it did work for me, all ports reported back "ok"!! Do you have any of the code files, at least the config & config_adv?
firmware or compiler issue, i had this issue and someone else compiled a version for me. So big thanks to LostinTech from youtube. he sent me the files and even when i compiled it, they still had the issues. But when he compiled the same one it worked just fine. think the compilers are missing something. but try thesee and get back to me. (These are set for an ender but at least youll be able to see if you TMC goes away just change to bin obviously. firmware.txt )
I do, but i suspect it might not help you. It should compile but it might revert to your old issue. Let me know if you compile and what the outcome was
I tried this myself and i could not get it to fix TCM when i compiled it. I have his whole Marlin folder and i still had issues, thats what leads me to believe its somehow a compiling issue.
I could not figure out the difference I would need his vs code folder and platformio libraries I think. I'm just guessing. I'll keep trying different things later today. I exhausted myself checking pins and stuff to finally find something that works. … On Thu, Aug 11, 2022, 4:34 PM xhejtman @.> wrote: So, do we know what is different? PACKAGES: - framework-arduinoststm32 @ 0.0.0 - framework-cmsis @ 2.50700.210515 (5.7.0) - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) Converting Marlin.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 14 compatible libraries Scanning dependencies... Dependency Graph |-- TMCStepper @ 0.7.3 | |-- SPI @ 1.0.0 | |-- SoftwareSerial @ 1.0.0 |-- SlowSoftI2CMaster @ 1.0.0 |-- SlowSoftWire @ 0.0.0+20220803222019 | |-- SlowSoftI2CMaster @ 1.0.0 |-- SPI @ 1.0.0 |-- EEPROM @ 2.0.1 |-- SoftwareSerial @ 1.0.0 |-- IWatchdog @ 1.0.0 |-- Wire @ 1.0.0 |-- Servo @ 1.1.2 — Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK46CV2FD6A6Z7XB27TVYVPTZANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.>
isn't he able to capture build output?
Btw, did anyone run into issue that variant_MARLIN_STM32H743VX.h
cannot be found as the repo contains variant_MARLIN_STM32H743Vx.h
file (lowercase x).
I think there might be a problem with UART/serial in general, as I use TFT35 display for printing and print freezes in some cases and it seems that it is serial communication between TFT and SKR that freezes because controll over USB works normal.
I still have yet to try it. But I think you need to do a full uninstall of vs code. Then reinstall everything.
On Fri, Aug 12, 2022, 11:39 AM xhejtman @.***> wrote:
I think there might be a problem with UART/serial in general, as I use TFT35 display for printing and print freezes in some cases and it seems that it is serial communication between TFT and SKR that freezes because controll over USB works normal.
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1213247095, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARKYLPAOWE4Q26KGZ3ZLVYZV3JANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
If working firmware is connected via USB cable to linux box, does it report something very similar?
/dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32H743VX_CDC_in_FS_Mode_3761327C3330-if00
?
No idea. I gave up after testing a bunch of different theories. I switched to klipper for now. Had no issues at all with the drivers. So it's a Marlin issue I'm pretty sure.
On Sat, Aug 13, 2022, 9:00 AM xhejtman @.***> wrote:
If working firmware is connected via USB cable to linux box, does it report something very similar?
/dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32H743VX_CDC_in_FS_Mode_3761327C3330-if00 ?
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1214153256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK75AP5AHPU2DXVDXQDVY6L5VANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
I'm getting this issue as well with an SKR 3 EZ and TMC2209EZ drivers. I have tried building very basic configurations that just enable the 5 stepper drivers with everything from the sources on this repo, to release, patched and nightly versions of 2.0 and 2.1 and always have the same issue of the printer reporting a TMC CONNECTION ERROR and "All LOW" responses to M122 commands that jump around from driver to driver. Sometimes just on a single driver, often on multiple. I have some BTT 2208 V3.0 old style drivers on order to see if they have the same issue.
I've also tried uninstalling/re-installing VSC and PIO, in Windows 10 and Linux (Ubuntu 22.04) to see if it's a build environment issue as hinted above, and all builds have the same issue.
I'm able to start prints in this state, but the printer pauses and re-starts randomly when printing from Octoprint. I have not tried printing from a file on the SD card to see if the pauses still happen.
Below are my configs for the latest build of 2.1.x nightly, where everything seems to be working, but I get the driver errors and the prints pause randomly. All on an Ender 3 Max with BL Touch, TFT35 E3, filament runout sensor, Mini UPS and dual Z motors. Configuration.txt Configuration_adv.txt
I moved to klipper and everything is ok. So perhaps you could try the same, as speaking about octoprint, you should have rpi or something..
I would prefer to stay with Marlin since the TFT display is useless with Klipper, and I prefer to have the option to control the printer locally. I may load Klipper up just to confirm that there is no hardware issues, but I think I would prefer to stay with Marlin long term.
You can stay with Marlin, in my experience even though M122 reports errors it doesnt seem to affect the actual performance of them. Mine still move as expected. You can also change to SPI drivers, those dont seem to have this issue.
You can stay with Marlin, in my experience even though M122 reports errors it doesnt seem to affect the actual performance of them. Mine still move as expected. You can also change to SPI drivers, those dont seem to have this issue.
I am pretty sure, it actually does not do any settings of TMC drivers, it is ok, if you do not need it though.
Hey everyone, Did anyone fix this issue? I have the SKR 3 with tmc2208 with the same issue. The printer works but has TMC connection error on screen and all low on M122.
It's an issue with compiling Marlin. If you can find someone else to compile it chances are it might work. I look through a ton of different directories couldn't get it to work for myself. But I can confirm it is definitely not a hardware issue, as using klipper this issue doesn't happen.
On Wed, Aug 17, 2022, 12:52 PM vwsurfer @.***> wrote:
Hey everyone, Did anyone fix this issue? I have the SKR 3 with tmc2208 with the same issue.
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1218268508, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK2PGWRS7XV2S2DEBRTVZUKDJANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
I've tried building this in multiple machines on multiple OS (Windows 10, 11, Ubuntu 22.04) and have the issues in all cases. If there is some magic sauce to setting up VSC/PIO to get this to work, I would love to know it, but it's not as simple as "build on another box/OS". Maybe the builds that are working are setting build flags that are not set in the default environment, or linking against non-default libraries?
I've taken full folders and libraries of others who compiled a working version for me. And it does not work, same exact files and folders and version of VB on the other works just fine. Not really sure where to continue looking.
On Wed, Aug 17, 2022, 1:19 PM JoaquinBerrios @.***> wrote:
I've tried building this in multiple machines on multiple OS (Windows 10, 11, Ubuntu 22.04) and have the issues in all cases. If there is some magic sauce to setting up VSC/PIO to get this to work, I would love to know it, but it's not as simple as "build on another box/OS". Maybe the builds that are working are setting build flags that are not set in the default environment, or linking against non-default libraries?
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1218291314, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK2SU5WIXM3ABBWHWNDVZUNJ3ANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
I've seen a bunch of mentions to the TMC lib provided by BTT, but not sure how to use it exactly... https://github.com/bigtreetech/TMCStepper Also saw in another comment to use that lib with -DHAVE_SW_SERIAL which I added to my env flags but didn't fix the issue, but like I said... I'm not even sure I was using it correctly. It also hasn't been updated since Oct 2019..
I saw those threads as well somewhere, but I think I also remember reading that the BTT TMCStepper library breaks the build on newer releases of Marlin, which makes sense since it hasn't been update since 2019. I'm about two days away from putting the crappy stock board back in my printer and throwing this thing in the trash. Then maybe run Klipper on that. :-P
I got it to compile with that lib included with the build flag...but yeah no idea.. can confirm Skr3 EZ with EZ2209 works with Klipper and RepRap
If i make the basic config. board, ini, and tmc, port -1 i get no error. but obviously thats no good.
So if I build to only use the first four stepper drivers, I get no connection errors. If I try to enable the fifth driver as either Z2 or E1 I get the errors. I swapped the driver sticks around, and it makes no difference which sticks are where. Maybe bad board or pin definitions? I'll do more digging later, but thought I'd throw this out there to see it it leads anyone else somewhere...
Could it be that you have all the drivers enabled by don't have anything actually connected to it. Don't see how that would be an issue but sounds odd that it works when you disable
On Wed, Aug 17, 2022, 8:20 PM JoaquinBerrios @.***> wrote:
So if I build to only use the first four stepper drivers, I get no connection errors. If I try to enable the fifth driver as either Z2 or E1 I get the errors. I swapped the driver sticks around, and it makes no difference which sticks are where. Maybe bad board or pin definitions? I'll do more digging later, but thought I'd throw this out there to see it it leads anyone else somewhere...
— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/SKR-3/issues/13#issuecomment-1218744768, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFARK4BQZRS6DKISM332C3VZV6T5ANCNFSM55QR3VBA . You are receiving this because you commented.Message ID: @.***>
All the drivers have a motor connected. They all move even when the drivers are reporting the connection errors.
I will add that the file Michellegson posted above that worked for some also only had only four steppers enabled.
Hello all, Last night i got someone to build a basic bin file for the skr3 with tmc 2208, i built the same config. his bin file gave me no tmc error. Mine did. Same config different pc. So he sent me the .h the .avd and the platform.ini . So if i copy those file to my marlin folder that should work? It doesnt. Is this problem VScode?
vwsurfer, If that is the case, then it may be an VSCode or environment issue. Do you know what OS the person who did the good build is using? I've tried fresh VSC installs in new Ubuntu 22.04 and Windows 10/11 VMs and they all have the same issues. I would not have expected that builds using the same code in the same build tool end up with different binaries. Can you hash the binary you got and the one you built and see if they have the same hash? If one works and one doesn't I doubt it, but would be interesting to confirm.
I also wanted to update that while the printer boots without errors with only four drivers enabled, they appear once I try to use the printer. Wondering if this is a more generic serial communication issue if it's a bit better when addressing less drivers, but still craps out once you start pushing traffic on the serial connections to the drivers...
JoaquinBerrios, I will be working on this untill its fixed or in the bin. I only know the basics of marlin. I will get both bin files checked. I tried vscode on my mac and made the same config but got the errors.
Started a new firmware build, fresh Windows/VScode install, only 4 steppers enabled and even physically removed my 5th driver.... TMC CONNECTION ERROR....but on the bright side my tft works in touch mode now..
Hello,
I'm new and don't know much, but I join in case I can help.
My problem is the same as everyone describes on the X, Z and Z2 axes. The X axis switches between reporting "good" and "all low", but always with strange values. In addition, the Z axis has no strength and loses steps easily.
I have tested the "firmware.txt" that ninjadudexp provided and gives me a correct M122, but not being able to change the configuration I am missing the Z2 axis and I can not connect the screen of my Artillery X1.
I have ordered right now five EZ5160s, which I was already thinking about buying. Being a clone of EZ2209 and cheap, I have also ordered some EZ6609 to try. When they arrive (15 days) I will try them, but I would like to solve the issue of the EZ2209.
Reading what you say about environment problems, after some problems and a very long afternoon, I compiled on a Raspberry Pi 4 with Raspberry OS of 32bis and 64bits.
I also compiled a firmware with PlatformIO Command-Line without VS Code on Windows 11.
But I always get the same "TMC CONNECTION ERROR" problem on the same axes as always.
Pardiman, same here. I tried building on a raspberry pi 4 and still have the issues. I also tried updating the TMCStepper library with the new commits after v 0.7.3 since some seemed related to serial issue (although nothing specific to TMC2009 drivers), but still getting the errors. I also have an new board on order, but the fact that my current board seems to work with the firmware posted above by Michellegson kind of leads me to believe it is not a board error. This just seems really weird to me. At this point, I'm nearing the limits of my patience an will request an RMA from BTT. I'm tired of troubleshooting this, and they have not even responded to my official support request yet. I'm going to request an RMA, and if I don't get a response on that, I'll contest the credit card charge with my bank.
Also, I know it's a long shot that anyone who has built working firmware is trolling git issues, but if you've been able to build Marlin for an SKR 3 or SKR 3 EZ with TMC stepper drivers, could you give some details on what your build environment is and how you built it? Bonus points for pasting in the build log from VSC showing the messages during that build.
I did contact Bigtreetech support through the BIQU website, they answered me this Friday asking me if I had tried to switch the drivers.
I replied by sending them the link to this thread, so that they could see that there are more people with the same problem and that it does not seem like hardware damage.
But I understand that this GitHub is theirs, so they should already know.
Today I don't think I'll do anything, I'm a little tired too.
Hello everyone. I am having the same issue. I have tried all Marlin versions including the one from here. I get the same TMC CONNECTION ERROR on my build just like xhejtman. I have tried the firmware made by LostinTech and i have all OK. If anyone has a clue please post here. Brand new SKR3EZ with 5 x TMC2209EZ modules that i am trying to fit to my Ender 5 Plus. Cheers
I have the same problem, but as @vwsurfer also on a SRK3 (not EZ) but with TMC2209. In my case M122 reports "Bad response" and "All low" for all 5 drivers. I tried building different versions of Marlin on a Ubuntu 20.04 machine using VS Code 1.70.2, PIO Core 6.1.4, PIO Home 3.4.3 and on a MacOS 10.13 machine using Atom, PIO Core 6.1.4, PIO Home 3.4.3.
Hello,
I have SKR3 EZ board with old TMC2209 drivers that should be compatible. However, I am getting:
but despite of this, all axis can move, so it looks like a spurious error? Also it changes randomly, which connection is ok and which has an error. Z2 is connected to E1, number of extruders is set to 1.