bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.01k stars 1.97k forks source link

[BUG] Flash impossible SKR mini E3 V1.2 #149

Open Rhteam67 opened 4 years ago

Rhteam67 commented 4 years ago

Hello,

Same problem here, I managed to compile a firmware with platformio since marlin bugfix 2.0. I put firmware.bin on my SD card and she installed marlin.

Now I just installed a bltouch so I take the firmware available by Bigtreetech and I put it on my pristine SD but the card does not want to install my firmware, it starts with the old firmware.

I have the impression that the boot loader does not want to read the SD

brew99 commented 4 years ago

If you were able to install marlin bugfix-2.0.x just fine, why don't you just alter your configuration.h to enable the BLtouch? If you use the example config for the V1.2 from the marlin download as a starting config, then just enable these:

define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN //assume using the probe as end stop

define BLTOUCH

define NOZZLE_TO_PROBE_OFFSET // set according to your position

define AUTO_BED_LEVELLING_BILINEAR

define Z_SAFE_HOMING

try compiling in platformio, and see if it flashes. Play will some of the BLtouch settings in configuration_adv.h to get your probe working if the defaults don't work.

I don't use BTT version of firmware, and prefer to alter the vanilla marlin

Also, if you are getting nowhere with this, it might be a good idea for you to pick-up an ST-Link V2 clone device so that you can directly read/write to the MCU

mikemgg123 commented 4 years ago

This is a problem with platformio if that is what you're using to compile. try downgrading that to see if that fixes the flash. open a terminal within the platform atom session and type 'sudo pip install -U "platformio<4.1"'

Rhteam67 commented 4 years ago

A big thank you to you. I finally managed to flash my card, the solution was to check the SD card from right click property. But that I compile and flash the card to activate my bltouch, this one does a leveling in the middle and after a bottom left of the board but outside of it. I have configured my #define NOZZLE_TO_PROBE_OFFSET

Rhteam67 commented 4 years ago

FB_IMG_1576447629244

Rhteam67 commented 4 years ago

20191215_162120

mikemgg123 commented 4 years ago

have you configured your offset?

Rhteam67 commented 4 years ago

Oui, offset Z bien configuré. Mais est ce que la tête E3DV6 demande a modifier l'offset Z ? Car le plateau tape contre le tendeur de courroie. Peut on modifier l'offset Y ?

Aksthakor commented 4 years ago

Hello, Can anyone help

I am also facing similar kind of issue

Not able to compile the BLTouch enabled code via VScode, getting below error, if i install the stock firmware with BLtouch z off set then, firmware gets installed on the ender3 pro but not able to print anything as BL touch is taking measurements but not started to print anything, i have to update Z_STOP_PIN PC2 To Z_STOP_PIN PC14 to try that setting but no luck compiling the code with changes, found above settings on below URL

https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/6

`Processing * in STM32F103RC_bigtree_NOUSB environment

Building... PACKAGES: tool-stm32duino 1.0.1, toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-arduinoststm32-maple 1.10000.190819 (1.0.0) arm-none-eabi-ar: .pio/build/STM32F103RC_bigtree_NOUSB/libde0/U8glib-HAL_ID1932/U8glib.cpp.o: No such file or directory *** [.pio/build/STM32F103RC_bigtree_NOUSB/libde0/libU8glib-HAL_ID1932.a] Error 1 OSError: [Errno 2] No such file or directory: '/Users/a1/Downloads/BIGTREETECH-SKR-mini-E3-master/firmware/V1.2/Marlin-2.0.x-SKR-Mini-E3-V1.2/.pio/build/STM32F103RC_bigtree_NOUSB/.sconsign.py27.dblite': File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1346: _exec_main(parser, values) File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1309: _main(parser) File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1091: nodes = _build_targets(fs, options, targets, target_top) File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1283: jobs.run(postfunc = jobs_postfunc) File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Job.py", line 113: postfunc() File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1280: SCons.SConsign.write() File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/SConsign.py", line 109: syncmethod() File "/Users/a1/.platformio/packages/tool-scons/script/../engine/SCons/dblite.py", line 129: self._os_unlink(self._file_name) Exception OSError: (2, 'No such file or directory', '/Users/a1/Downloads/BIGTREETECH-SKR-mini-E3-master/firmware/V1.2/Marlin-2.0.x-SKR-Mini-E3-V1.2/.pio/build/STM32F103RC_bigtree_NOUSB/.sconsign.py27.dblite') in <bound method dblite.del of <SCons.dblite.dblite object at 0x10de5fb90>> ignored ===================================================== [FAILED] Took 74.03 seconds =====================================================

Test Environment Status Duration


brew99 commented 4 years ago

If you are using the BLtouch and using the probe as the end stop, then I suggest you use the ZMin stop position on the board (the same as the old end stop switch) and keep the default PC2.

Try moving the Marlin folder closer to the root of your hard drive rather than nested so far down.

SwiCago commented 4 years ago

I compiled for an ender5 using STM32F103RC_bigtree_512K(someone made a pull in regards to this) and my configs(made pull for those), compiled fine and flashed fine. Currently doing a test print.

HVJ17 commented 4 years ago

This is likely due to your (NOT A BLTOUCH) 3dtouch sensor to nozzle offsets.

make sure to have

define X_BED_SIZE 235

define Y_BED_SIZE 235

and adjust /**