Closed landodragon141 closed 6 years ago
It would help if you provide the requested files (your config) along with the other items requested in the issue template.
Are you trying to use a TMC2208 stepper driver (or other TMC driver) that uses a serial interface to control it? Do you have ENDSTOP_INTERRUPTS_FEATURE enabled? What happens if you disable this option?
Here's a link to my config files https://1drv.ms/u/s!ApeqTrXyrCKQgoZ7v39GizUTU0R9vw
I use tmc2130s with sensorless homing. It runs on the hw spi bus. I also use end stop interrupts. I've compiled this same configuration in the past without this error.
We can't see your config at that archaic file server link. You should have made a ZIP file and dropped it on your original post, or on a reply. Anyway, two things:
One: See if it helps to disable ENDSTOP_INTERRUPTS
.
Two: 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 to a bug in Marlin, then you should post a bug report.
@thinkyhead One: That was a onedrive link not some weird archaic thing to a 7zip file. Two: I can confirm that this build fails to compile if TMC2130's are selected for the driver type and endstop_interrupts_feature is enabled. This is repeatable and I just spent the last hour with a fresh copy of the latest Bugfix 2.x branch enabling one setting at a time and building it. Three: I apologize for catching you in a bad mood. I don't post issues if I think it has anything to do with me because I know your time is valuable.
Can't blame thinkyhead for being a little cranky, the vast majority of issues Marlin gets are user support, and usually badly configured printers that a quick google search would have solved. In your case you should have searched the issues for"SoftwareSerial.cpp.o (symbol from plugin): In function 'SoftwareSerial::read()'
you would have seen this issue has already come up, it is a bug, well a known limitiation, but not in Marlin as such.
The update and consolidation of TMC support into the TMCStepper the library has made the ENDSTOP_INTERRUPTS
feature incompatible with TMC drivers, until a workaround can be found.
@p3p I'm not blaming thinkyhead. Unlike the majority of knuckle heads on the internet I'm actually sincere in what I type. Also that's too bad about the Interrupts being broken. Is this an AVR known limitation? If so I guess it's just one more nail in the 8bit coffin for me.
As above if you seach on the suggested terms you will find the following which gives a lot more details of the problem.... https://github.com/MarlinFirmware/Marlin/issues/12078
Hmm it looks like there is a possible work around but it would require using a library called AltSoftSerial as it is capable of coexisting with interrupts. I'm of course completely ignorant to the feasibility of doing this. I'm a great system admin but a mediocre programmer especially when it comes to the very sensitive highly optimized nature of marlin. Kudos to you guys that keep this project going!
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.
Build Log
``` Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) SYSTEM: ATMEGA2560 16MHz 8KB RAM (248KB Flash) Converting Marlin.ino Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF MODES: FINDER(chain) COMPATIBILITY(soft) Collected 34 compatible libraries Scanning dependencies... Dependency Graph |--