Closed Industrial-Spiderman closed 6 years ago
Please post the actual error message.
Hello Teemualut,
here the error message with 2.1.1 TMC2130Stepper
D:\My Documents\My Arduino Projects\libraries\TMC2130Stepper\src\source\TMC2130Stepper.cpp: In member function 'void TMC2130Stepper::send2130(uint8_t, uint32_t*)':
D:\My Documents\My Arduino Projects\libraries\TMC2130Stepper\src\source\TMC2130Stepper.cpp:97:67: error: invalid conversion from 'int' to 'BitOrder' [-fpermissive]
SPI.beginTransaction(SPISettings(16000000/8, MSBFIRST, SPI_MODE3));
In file included from D:\My Documents\My Arduino projects\libraries\TMC2130Stepper\src\source\TMC2130Stepper.cpp:3:0:
C:\Users\hans-_000\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\libraries\SPI\src/SPI.h:48:2: error: initializing argument 2 of 'SPISettings::SPISettings(uint32_t, BitOrder, uint8_t)' [-fpermissive]
SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode) {
exit status 1
Error compiling for board Arduino Due (Programming Port).
This has been fixed already but I haven't pushed the changes yet. I'll make sure it's in the next release of the library.
Thanks.
Any idea when that will be. I sort of cannot get the Due, RADSS, TMC2130 to by any means, so I would really appreciate....
v2.1.4 released. Should fix the compile issue.
Hello,
I can confirm that with MK4duo and Marlin 2.0.x the compiler error has been removed.
Hello,
So the motors are turning. I have still the issue that the homing does not go properly and the motors seem to be running rough. I will do some checking on my pins as well as the homing functions in the config files. Will come back in case I cannot identify an answer.
All adjustments done and runs fine. Thanks for the fast update
I have a similar issue with marlin 1.1.8 where i get usb timeout errors when trying to connect to an mks gen L board with 2130 spi
@wbarber69 — Please test with the latest bugfix-1.1.x
(and/or bugfix-2.0.x
) branch to see where it stands. If you still see the bad behavior we should investigate further.
10-4, I’ll give it a go. I’ve now got simplify3d directly connected and printing ;( once it’s finished I’ll get my laptop back and give it a try. They are extremely quiet. I’m very impressed. It was a little weird having to invert all my axes. I wasn’t expecting that.
Sent from my iPhone
On Mar 3, 2018, at 7:53 PM, Scott Lahteine notifications@github.com<mailto:notifications@github.com> wrote:
@wbarber69https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fwbarber69&data=02%7C01%7C%7Cf4323ab8b767462008ce08d58172c8d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557252345698338&sdata=sMq0kx5WvcwMdz4MlFsM%2FWuLEVr8Gvf9JEGL0j1i9b0%3D&reserved=0 — Please test with the latest bugfix-1.1.x (and/or bugfix-2.0.x) branch to see where it stands. If you still see the bad behavior we should investigate further.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarlinFirmware%2FMarlin%2Fissues%2F9382%23issuecomment-370195157&data=02%7C01%7C%7Cf4323ab8b767462008ce08d58172c8d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557252345698338&sdata=1xegbnd8333peCtzaZvC75AX7EH54%2FKX7ihHuHDK45Y%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB7M2lOFL7JfBhSBzSBtXWBbRqBe59fsks5ta0kxgaJpZM4Rv2gN&data=02%7C01%7C%7Cf4323ab8b767462008ce08d58172c8d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557252345698338&sdata=mqqXI%2BPFGcHDACYxQBxQbGYvZY7BBuYCJHV%2Bub%2BtVWA%3D&reserved=0.
As an alternative to inverting the axes, you can also just reverse the plug. It may be that the plugs on TMC drivers are flipped compared to common pololus.
My plugs are keyed but yeah I get you
Sent from my iPhone
On Mar 3, 2018, at 8:13 PM, Scott Lahteine notifications@github.com<mailto:notifications@github.com> wrote:
As an alternative to inverting the axes, you can also just reverse the plug. It may be that the plugs on TMC drivers are flipped compared to common pololus.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarlinFirmware%2FMarlin%2Fissues%2F9382%23issuecomment-370195953&data=02%7C01%7C%7C73c69f1e3b1d4872fd4e08d581758421%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557264074901987&sdata=ECGYJWFslfJHKIpFFruKush%2ByYM73FfVbRjExMuYarU%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB7M2gRhfafo_ue9EPul97bVYwC6TJcMks5ta03GgaJpZM4Rv2gN&data=02%7C01%7C%7C73c69f1e3b1d4872fd4e08d581758421%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557264074901987&sdata=vtKjiQWdFXl6tWdZOAgbfUMKY07eQlMIEt7XCb6u3Fk%3D&reserved=0.
Sorry, last question... will using the software spi be a good idea?
Sent from my iPhone
On Mar 3, 2018, at 8:13 PM, Scott Lahteine notifications@github.com<mailto:notifications@github.com> wrote:
As an alternative to inverting the axes, you can also just reverse the plug. It may be that the plugs on TMC drivers are flipped compared to common pololus.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarlinFirmware%2FMarlin%2Fissues%2F9382%23issuecomment-370195953&data=02%7C01%7C%7C73c69f1e3b1d4872fd4e08d581758421%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557264074901987&sdata=ECGYJWFslfJHKIpFFruKush%2ByYM73FfVbRjExMuYarU%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB7M2gRhfafo_ue9EPul97bVYwC6TJcMks5ta03GgaJpZM4Rv2gN&data=02%7C01%7C%7C73c69f1e3b1d4872fd4e08d581758421%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636557264074901987&sdata=vtKjiQWdFXl6tWdZOAgbfUMKY07eQlMIEt7XCb6u3Fk%3D&reserved=0.
Yes, I definitely think it is the superior option.
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.
Bug Report
Description:
I have set up the Due and RADDS to work with Marlin 2.0.x and the TMC2130 drivers. I used the build of 26th Jan as well as the latest TMC2130 Library 2.1.1. I get a compiler error. Using the TMC driver library 2.0.1 version I had no compiler issues. This is the library I also used on a Mega 2560/RAMPS build with success and Marlin 1.17 Stable. All good for that.
Now the issue: For Due, TMC2130, RADDS and Octoprint all together I cannot connect to the USB ports. I have checked so far that when I do comment out #define have-tmc2130, then everything compiles fine and I have a serial connection with the programming port at 115200 baud and can access the controller via Octoprint and USB.
I see RADDS solutions on the internet, but those are all non TMC2130. Hence I gather there is still an issue with this specific combination. I would appreciate a fix or in case I am just misguided a hint how I can get this combination up and running.
Conf files.zip