Hello together,
i am facing a lot of different issues while configuring and compiling Marlin firmware for my 3D Printer.
Few years ago (2018 / 2019) i bought a Creality CR10. Since i was unhappy with the manual bed leveling i upgraded the printer with following parts:
- MKS Gen L v1 board
- Display "RepRapDiscount 12864"
- 3D Touch probe
- TMC2208 drivers
During that time i configured Marlin 1.1.x (in Arduino IDE). All the parts worked well together (except the bedleveling was not working correctly). During that time i did not have much time, so i put the 3D printer into my shelf since last week.
Since i have now again more time and energy for this hobby, and my plan was finally to fix this bed leveling, i downloaded Marlin 2.0.9.7 LTS. Based on that version i used the example configuration and took over the adaptions i did back in the days for version 1.1.x.
With that i tried to use the printer, but there were several strange effects observed:
1. If i try to configure TMC2208 drivers, then my speaker on the display beeeps all the time and the display itself does not show anything.
2. If i try to configure the speaker enabled, then i get a error message #error "Disable SPEAKER or enable FAN_SOFT_PWM."
3. If i configure instead of TMC2298 the A4988, then the display works, but it freezes after a while, (with maybe an indication, there is a RAM overflow)
4. I have quite similar behavior with Marlin 2.1.2.1, maybe the Menu on display works a little bit longer before it freezes
So i tried to rollback to Marlin 1.1.x and 1.1.9.1 LTS.
1. There i get directly an issue with the Lib [github.com]
2. I searched here for some solutions on the internet (outcommenting this line, taking alternatve link etc.) but i get always compiler error message "'class TMC2208Stepper' has no member named 'beginSerial'" and a lot of other compiler warnings.
3. When i try to configure 4988 instead of TMC2208 then it compiles with a lot of compiler warnings, but on the display is only written garbage with 1.1.9.1. With the 1.1.x it works somehow, but the diplay shows strange things (you can read it somehow, but the caracters changing all the time).
Maybe one more topic:
I cannot remember how much space there was left back in the days with Arduino IDE, but using PlatformIO my ram is filled with 190%. Independent of using Marlin 1.x or 2.x
Only with Marlin 1.1.x it takes 76% RAM
Is there any possiblity to reduce the used RAM? My expectation would have been the linker kicks out all unused references from the hex-file.
i am facing a lot of different issues while configuring and compiling Marlin firmware for my 3D Printer.
Few years ago (2018 / 2019) i bought a Creality CR10. Since i was unhappy with the manual bed leveling i upgraded the printer with following parts:
- MKS Gen L v1 board
- Display "RepRapDiscount 12864"
- 3D Touch probe
- TMC2208 drivers
During that time i configured Marlin 1.1.x (in Arduino IDE). All the parts worked well together (except the bedleveling was not working correctly). During that time i did not have much time, so i put the 3D printer into my shelf since last week.
Since i have now again more time and energy for this hobby, and my plan was finally to fix this bed leveling, i downloaded Marlin 2.0.9.7 LTS. Based on that version i used the example configuration and took over the adaptions i did back in the days for version 1.1.x.
With that i tried to use the printer, but there were several strange effects observed:
1. If i try to configure TMC2208 drivers, then my speaker on the display beeeps all the time and the display itself does not show anything.
2. If i try to configure the speaker enabled, then i get a error message #error "Disable SPEAKER or enable FAN_SOFT_PWM."
3. If i configure instead of TMC2298 the A4988, then the display works, but it freezes after a while, (with maybe an indication, there is a RAM overflow)
4. I have quite similar behavior with Marlin 2.1.2.1, maybe the Menu on display works a little bit longer before it freezes
So i tried to rollback to Marlin 1.1.x and 1.1.9.1 LTS.
1. There i get directly an issue with the Lib [github.com]
2. I searched here for some solutions on the internet (outcommenting this line, taking alternatve link etc.) but i get always compiler error message "'class TMC2208Stepper' has no member named 'beginSerial'" and a lot of other compiler warnings.
3. When i try to configure 4988 instead of TMC2208 then it compiles with a lot of compiler warnings, but on the display is only written garbage with 1.1.9.1. With the 1.1.x it works somehow, but the diplay shows strange things (you can read it somehow, but the caracters changing all the time).
Maybe one more topic:
I cannot remember how much space there was left back in the days with Arduino IDE, but using PlatformIO my ram is filled with 190%. Independent of using Marlin 1.x or 2.x
Only with Marlin 1.1.x it takes 76% RAM
Is there any possiblity to reduce the used RAM? My expectation would have been the linker kicks out all unused references from the hex-file.