-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
BTT GTR V1.0 #22346
Comments
Hi, can you please upload your configs? Are you using the Adafruit MAX31855 library? |
Hello, I'm not a programmer, don't use Adafruit MAX31855 library, version 2.0.7.1 works fine, version 2.0.9.1 has been rewritten. |
Thanks, I'll take a look asap. |
Did you try on bugfix, and if so, did you make sure that the pins file was updated when you did? The THERMO_* pin names are obsoleted by more recent changes. Unfortunately I don't have a GTR (yet!) to test with here, but will try with another STM32F4 board. There were other changes in bugfix related to this, see #22188 - some Software SPI fixes, etc. |
Hallo, habe das Bugfix übernommen und auf GTR umgestellt. Nun bekomme ich den Fehler : "Max6675_SS_PIN was not declared in this scope"" und "SENSITIVE_PINS is not declared"". |
We will have to compare the code in 2.0.7.1 to see where the issue began. Can you test Marlin 2.0.8 to see if the problem also exists in that version? The more sample versions we have, the easier it will be to isolate the breaking changes. Thanks! |
If you are getting errors about this pin, then you likely have old files somewhere in your build directory. The bugfix code makes no reference to to this except for checking for it in Conditionals/SanityCheck. What files are you copying over to the bugfix branch when building? If you are copying over the 'pins_BTT_GTR..' file, or anything else other than Configuration, then you will likey run into this issue. Can you please copy/paste the entire error message? It can help point us to where it is being used. |
Habe das Bugfix übernommen und auf GTR umgestellt ohne Verenderungen. Werde es mit 2.0.8 nochmals versuchen .Marlin 2.0.7 funtioniert gut ,aber die TMC5160 machen die Motoren sehr heiss. |
@martins6413 the version of Marlin you are using is out of date. Many of the files are old versions. Please download the latest bugfix here, and try with that. You will need to re-configure it (Configuration.h, Configuration_adv.h): https://github.com/MarlinFirmware/Marlin/archive/refs/heads/bugfix-2.0.x.zip |
Habe diese Version neu auf GTR konfiguriert und erhalte nun diese Fehler : |
Alright, thank you - I see the problem. Can you try this patch and let me know if it works? diff --git a/Marlin/src/module/temperature.cpp b/Marlin/src/module/temperature.cpp
index fd2c260fd3..44da35f2c1 100644
--- a/Marlin/src/module/temperature.cpp
+++ b/Marlin/src/module/temperature.cpp
@@ -107,6 +107,27 @@
#if (TEMP_SENSOR_0_USES_SW_SPI || TEMP_SENSOR_1_USES_SW_SPI) && !HAS_MAXTC_LIBRARIES
#include "../libs/private_spi.h"
#define HAS_MAXTC_SW_SPI 1
+
+ // determine the pins to use
+ #if TEMP_SENSOR_0_USES_SW_SPI
+ #define SW_SPI_SCK_PIN TEMP_0_SCK_PIN
+ #define SW_SPI_MISO_PIN TEMP_0_MISO_PIN
+
+ #if PIN_EXISTS(TEMP_0_MOSI)
+ #define SW_SPI_MOSI_PIN TEMP_0_MOSI_PIN
+ #else
+ #define SW_SPI_MOSI_PIN SD_MOSI_PIN
+ #endif
+ #else
+ #define SW_SPI_SCK_PIN TEMP_1_SCK_PIN
+ #define SW_SPI_MISO_PIN TEMP_1_MISO_PIN
+
+ #if PIN_EXISTS(TEMP_1_MOSI)
+ #define SW_SPI_MOSI_PIN TEMP_1_MOSI_PIN
+ #else
+ #define SW_SPI_MOSI_PIN SD_MOSI_PIN
+ #endif
+ #endif
#endif
#if ENABLED(PID_EXTRUSION_SCALING)
@@ -198,7 +219,8 @@ const char str_t_thermal_runaway[] PROGMEM = STR_T_THERMAL_RUNAWAY,
// Initialize SoftSPI for non-lib Software SPI; Libraries take care of it themselves.
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin>
SoftSPI<MisoPin, MosiPin, SckPin> SPIclass<MisoPin, MosiPin, SckPin>::softSPI;
- SPIclass<TEMP_0_MISO_PIN, TEMP_0_MOSI_PIN, TEMP_0_SCK_PIN> max_tc_spi;
+ SPIclass<SW_SPI_MISO_PIN, SW_SPI_MOSI_PIN, SW_SPI_SCK_PIN> max_tc_spi;
+
#endif
#define MAXTC_INIT(n, M) \
|
Great, the patch works well. I started the first print and the temperature looks good. |
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. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
1 : K-Temp Temperatur max error
2 : Thermal Probe Compensation
Bug Timeline
No response
Expected behavior
K-Temp temperature max error-wrong value is displayed, board switches off-works 2.0.7.1
Thermal Probe Compensation -works 2.0.7.1
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
Marlin 2.0.9.1
Printer model
No response
Electronics
GTR V1.0
Add-ons
No response
Your Slicer
No response
Host Software
No response
Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: