BIGTREETECH-SKR-MINI-V1.1 icon indicating copy to clipboard operation
BIGTREETECH-SKR-MINI-V1.1 copied to clipboard

Problem with sd-card on reprap smart controller

Open ThWoell opened this issue 5 years ago • 11 comments

How can the sd-card reader on the smart controller be used with marlin? Insertion and removal of card become displayed on display, but when I try to read files from it this won't work. on pronterface there is sd- init error displayed.

ThWoell avatar Jul 06 '19 19:07 ThWoell

It works with the main Marlin: https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x

3DSmitty avatar Jul 06 '19 21:07 3DSmitty

Since i have just adapted my config.h and config-adv.h to work wit the machine is it possible just to copy this files into the marlin source directory? thanks for helping out again!

ThWoell avatar Jul 07 '19 15:07 ThWoell

Now I used the latest Version of Marlin Bugfix Branch; after minor changes in config.h regarding power control, it worked out; but it is not possible to use the sd-card on the smart controller, but the onboard mini-sd reader works. So at least it is possible to print from card now. any hints on how to switch to the sd-card on the smart controller?

ThWoell avatar Jul 08 '19 06:07 ThWoell

To use SD enable #define SDSUPPORT and #define SPEAKER then in Marlin/src/pins/pins_BIGTREE_SKR_MINI_V1_1.h enable #define STM32_SD_LCD

3DSmitty avatar Jul 08 '19 09:07 3DSmitty

WORKS!

ThWoell avatar Jul 08 '19 19:07 ThWoell

Unfortunately i am having the same issue. If i try to define SPEAKER the control knob no longer works and the sd card continues to no show in the menu, but is showing as being inserted on the LCD. Any help you guys can provide would be great... getting this board to work is driving me insane!

HGUNNCH avatar Aug 06 '19 19:08 HGUNNCH

Just follow 3DSmittys advice... Use the main branch and not the outdated bigtreetech version.

ThWoell avatar Aug 06 '19 20:08 ThWoell

Thanks for the quick response. I originally tried with the main Branch but could never get it to compile. The bigtree_mini environment would constantly cause a build error. For some reason the bigtree Firmware compiles just fine though with the the same environment variable.

HGUNNCH avatar Aug 06 '19 20:08 HGUNNCH

Bigtreetech fork SD code will not work correctly their SPI code is wrong. I am the one who wrote the code for the main Marlin 2.0 git repo to get the SD working correctly. They just committed a fix that should allow it to compile easier. Try a fresh checkout.

3DSmitty avatar Aug 06 '19 21:08 3DSmitty

I am currently trying to compile and am getting the following error:

"In file included from .piolibdeps\BIGTREE_SKR_MINI\TMCStepper_ID5513\src\source\CHOPCONF.cpp:1:0: .piolibdeps\BIGTREE_SKR_MINI\TMCStepper_ID5513\src/TMCStepper.h:18:11: fatal error: SoftwareSerial.h: No such file or directory"

I am trying to compile for TMC2208_standalone drivers. I know i am kind of hijacking this thread so if i should start a new one let me know.

HGUNNCH avatar Aug 07 '19 16:08 HGUNNCH

@HGUNNCH: First it would be better to open a new issue, second what do you mean with standalone?

ThWoell avatar Aug 09 '19 12:08 ThWoell