Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] (LA on 2208 drivers not working) #26699

Closed
1 task done
Dtwpurple opened this issue Jan 17, 2024 · 13 comments
Closed
1 task done

[BUG] (LA on 2208 drivers not working) #26699

Dtwpurple opened this issue Jan 17, 2024 · 13 comments

Comments

@Dtwpurple
Copy link

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

Tmc2208 standalone drivers do not allow for linear advanced control.

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

1.Enable linear advance in config
2. flash firmware
3. put hands in head after hours of messing with k values and nothing changes.

Version of Marlin Firmware

2.1.x bugfix

Printer model

Ender 3 4.2.2 board.

Electronics

stock.

LCD/Controller

stock one, with the knob

Other add-ons

No response

Bed Leveling

No Bed Leveling

Your Slicer

Prusa Slicer

Host Software

SD Card (headless)

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Configuration_adv.zip

@EvilGremlin
Copy link
Contributor

EvilGremlin commented Jan 17, 2024

Your config is impossible: _DRIVER_TYPE TMC2208 can't exist on BOARD_CREALITY_V422.
Also if your bowden is sloppy you might well not see any difference.
Show photos of calibration pattern, 0 to 1 with 0.01 step

@thisiskeithb
Copy link
Member

Your config is impossible: _DRIVER_TYPE TMC2208 can't exist on BOARD_CREALITY_V422.

We should probably clarify that TMCs are installed in *_STANDALONE mode in the warning:

#if ENABLED(EMIT_CREALITY_422_WARNING) && DISABLED(NO_CREALITY_422_DRIVER_WARNING)
#warning "Creality 4.2.2 boards come with a variety of stepper drivers. Check the board label (typically on SD Card module) and set the correct *_DRIVER_TYPE! (C=HR4988, E=A4988, A=TMC2208, B=TMC2209, H=TMC2225, H8=HR4988). (Define NO_CREALITY_422_DRIVER_WARNING to suppress this warning.)"
#endif

@Dtwpurple
Copy link
Author

2208 is possible on v422. look in the config. it tells you to use that instead of the tmc2225 drivers. as those dont exist. " Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers" . its not a bowden issue. there is no difference when setting k values. heavy bulging all the way up the tower with NO CHANGES.

@Dtwpurple
Copy link
Author

Your config is impossible: _DRIVER_TYPE TMC2208 can't exist on BOARD_CREALITY_V422.

We should probably clarify that TMCs are installed in *_STANDALONE mode in the warning:

#if ENABLED(EMIT_CREALITY_422_WARNING) && DISABLED(NO_CREALITY_422_DRIVER_WARNING)
#warning "Creality 4.2.2 boards come with a variety of stepper drivers. Check the board label (typically on SD Card module) and set the correct *_DRIVER_TYPE! (C=HR4988, E=A4988, A=TMC2208, B=TMC2209, H=TMC2225, H8=HR4988). (Define NO_CREALITY_422_DRIVER_WARNING to suppress this warning.)"
#endif

they are in standalone mode. and im using the right drivers as the config tell you to use 2208 instead of 2225. anytime you build marlin with ender 3 config it will shoot that error as a reminder to check them.

@thisiskeithb
Copy link
Member

If you have TMC2208s, use TMC2208_STANDALONE: #26699 (comment)

@Dtwpurple
Copy link
Author

If you have TMC2208s, use TMC2208_STANDALONE: #26699 (comment)

bruh do you guys even check the files? it is setup as tmc2208 standalone.

@EvilGremlin
Copy link
Contributor

We did. Its not _STANDALONE.
Print this and show photos https://marlinfw.org/tools/lin_advance/k-factor.html

@thisiskeithb
Copy link
Member

bruh do you guys even check the files? it is setup as tmc2208 standalone.

"bruh", not when I downloaded your config:

image

#define X_DRIVER_TYPE TMC2208 is not the same as #define X_DRIVER_TYPE TMC2208_STANDALONE

@i-Fixit
Copy link

i-Fixit commented Jan 19, 2024

As far as I'm aware for Linear Advance to work with the Creality v4.2.2 board you'd need to do a UART mod on it. This is what I did for my Ender 6 which uses the v4.3.1 board ... basically the same board layout, although I needed to also change one of the stepper driver chips as well ;-)

Ender 6 UART mod

Obviously you'd need to modify the correct pins file for the v422 board, but the same pins do appear to be available on said board.

@classicrocker883
Copy link
Contributor

classicrocker883 commented Jan 20, 2024

As far as I'm aware for Linear Advance to work with the Creality v4.2.2 board you'd need to do a UART mod on it.

I thought that has since been solved since LA became available for these boards. I remember there was a whole write up about the PR, dont remember which one it was, but AFAIK performing that mod was no longer necessary.
here is a link to a write up and info about the mod before LA changes in code

before, yes it was required to do that mod, but LA should work normally just by enabling it.

edit: #24533

@robherc
Copy link
Contributor

robherc commented Jan 20, 2024

@i-Fixit the 4.2.2 board:
#1 works great with linear advance...so this is a nonsensical bug report
#2 has soldered-down 2208s in standalone mode, so UART is not much of an option without major PCB surgery

@thisiskeithb
Copy link
Member

This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants