How to Compile Custom Firmware for SKR Mini
Vložit
- čas přidán 28. 09. 2020
- Last week I did a video showing you how to swap out the mainboard on an Ender 3 with the SKR Mini E3 V2.0 (linked below). In that video, I showed you how to upload the pre-compiled firmware to the printer and said I would do another video on compiling custom firmware for those that needed to make tweaks.
In this video, I show you how to download the latest firmware from the bigtreetech GitHub account, download and install VS Code, make changes to the firmware, and compile the firmware. I know this may sound like a lot, but the process isn’t that bad, especially once you’ve done it once.
If you have any questions on the content covered in this video, feel free to leave a comment below with them. I try to reply to all commented within 48 hours.
Written Instructions: 3dprintscape.com/bltouch-on-s...
3D Printscape Marlin Firmware Builds: 3dprintscape.com/marlin-firmw...
Referenced Links
Hardware
SKR Mini E3 V2.0 on Amazon: geni.us/A9oe
SKR Mini E3 V2.0 + Touch Screen on Amazon: geni.us/tO4H
BLTOUCH on Amazon: geni.us/AD6M
Ender 3 Pro on Amazon: geni.us/vIAIx
Ender 3 V2 on Amazon: geni.us/ur8YHM
HATCHBOX Filament on Amazon: geni.us/BJx0Gdj
Firmware
github.com/bigtreetech/BIGTRE...
Software
code.visualstudio.com/
Videos
SKR Mini Install: • SKR Mini E3 v2 0 Insta...
Z-Offset BLTOUCH With Marlin Firmware: • Z-Offset BLTOUCH With ...
Need Assistance?
Join us on Discord: / discord
Please consider helping support the channel through Patreon so we can continue to develop new content. / 3dprintscape
Our Site
3dprintscape.com
*This channel is owned and operated by 3D Printscape. 3D Printscape is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. - Věda a technologie
I hope you found this overview helpful! If you have any questions or would like other tips/tricks, just let me know in the comments.
Dude, thank you so much! I was having so many problems with the BTT pre-compiled BL touch firmware.. i just could not for the life of me get a good print, after watching this I not only compiled my own firmware (for the first time) but I also managed to fix the issues I was having. While the first few layers of the print weren't perfect, they are acceptable for now. Ill have to tweak the offsets a bit more but, so far so good!
Rob, thanks for your service and these very helpful videos.
I am having issues installing PlatformIO in the VS Code. I get the error message
"ERROR: could not start PIO Home Server: ERROR: time out"
The recommended fix did not work.
This is on a completely updated Windows 10 notebook computer.
Would it be possible for you to compile a bin file for a CR-10 mini with BL Touch and filiment sensing so I could download? Otherwise I am stuck with a new mini board, TFT display and BL touch sensor I can't use. If anyone reading this can help, I would appreciate it greatly. Very frustrating...Thanks!!
@@ssnydess6787 I can probably make something for you. Are you able to join the discord server? The invite is in the video description.
@@3DPrintscape I was able to login. Can we get started on a bin? Glad to compensate ahead of your work. Thanks!
@@ssnydess6787 Can you ping me on Discord and let me know its you?
Your video is the very best BY FAR. You helped me understand this so easily. The calm manner in which you explain everything is all I needed, which I wasn't getting from all the other fanatic youtubers. Thank you al lot :)
Hi. Thanks for the feedback. Im glad I was able to help out 😊.
Thank you!! I could not have done it without your video. This is a completely new world to me, but you not only made it possible, but helped it make sense along the way. I am extremely grateful .
You’re welcome, I’m glad I was able to help :)
Finally a video that explains everything that you need to do in one video. Thanks!
Hi. Thanks for the positive feedback :).
how can i download the BIGTREETECH-SKR-mini-E3-master.zip?
The beeping in menus immediately drove me nuts, and I was able to silence that with your video as a guide. Thank you very much!
Glad it helped!
I've been trying to figure out how to update Marlin firmware for a long time! Thank you so much!
Happy to help!
A quick update, it's worked! Borrowed my granddaughters laptop and away it went, have been trying for months with K and could not get close to compiling, thank you so much
That’s great to hear, im glad its working.
Awesome Video! Thank you so much I’ve been needing this for so long. I love your channel, keep up the good work! :)
Glad I could help!
Thank you. I wouldn't have been able to do this without this video.
Glad I could help!
Very nice, thanks! Happened to go over everything i needed (5x5 grid with bltouch) so that's perfect, now here's to hoping it will fix my bed leveling issue...
Glad I could help!
Thank you for this video! Helped me a lot in getting my printer working again!
Glad I could help!
Wanted to say a big thanks for this video, I'm slow on using my SKR Mini V2.0 with a BLtouch but without this I would have spent hours longer. The "stock" firmware no longer has the Z Probe Wizard enabled or allow negative Z numbers - I tried both setups 3+2 and 5 pin and neither worked well. So massive thanks for putting the how to customise the firmware info togther. Also the tip on those reversed wires in your other video also massive thanks. I hooked my Bltouch upto the 5 pins not the 3 + end stop (more as that was the last way I had it hooked up and I didnt want to open the case again)so minor changes for anyone (probably me in the future :)): enable probe_offset_wizard in configuration_adv.h - use USE_PROBE_FOR_Z_HOMING not Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN otherwise I followed the above exactly - Thanks again
Hi. Thanks for the feedback and info :).
great video. lots of help. thank you as always
Glad to help
Solved a massive headache! Thanks!!
Hi. Thanks for the feedback. Im glad I was able to help out 😊.
Nice video I finally got my 1.2 board working. I don't know why I could not get it to compile on my windows PC. I ended up compiling on my mac and it went through fine. I have messed with a bunch of stuff to do network penetration testing so likely I need to run some cleanup on my system. I also just went ahead and picked up the 2.0 board. Fun fact the 2.0 compiled fine whereas the 1.2 did not both from the save master file on the GitHub.
Hi. Thanks for the feedback 😊. Without knowing the error, its hard to say why the 2.0 firmware compiles, but the 1.2 doesn't. It could be an older version of Marlin in the 1.2 line or related to the platform.io version. I had a strange error the first time I tried compiling the firmware, so I searched around. Some people were saying its related to the platform.io version and a bug in Marlin. I restarted everything and brought down a fresh copy of the source, and everything worked. I think you will be happy with the 2.0 board.
I've also got the same problem here and found that It's because Windows restrictions on filename length. It should be ok after the folder name and location were changed.
community.platformio.org/t/cannot-compile-a-useable-marlin-2-0-firmware/10615
Thank you
You're welcome
Hi, thanks for the reply. It was because I was moving the V 1.2 file over and not the Marlin file over! Started compiling and then hangs, done this on another compile as well, so looks like I need another computer
Hi. I suppose its possible its related to the computer but the required specs are minimal. Its possible AV or something like that is causing you issues.
I'm a newb at 3D printing, and your videos make to understand this real easy, the things is i could not get my Bltouch to run on a skr mini e3 V2, i dont if is firmware or hardware, i have the z stop next to the servo pin
Hi. Thanks for the feedback. Try to connect the z-stop from the bltouch to the main z-stop connection on the board, then make sure you have the right firmware installed. The firmware would be the same one I call out in my skr mini install video ( czcams.com/video/wtT6iA9IG7A/video.html ).
Cool thanks i will try it out,thanks
This is a great video helped out a great deal, thank you. any chance of showing us how to compile Marlin to use the Neopixel for lighting? have searched around but noone does an indepth video like you do!!! Thank you again for all the work you have done great videos
Hi. Thanks for the feedback 😊. I will look into doing a video on Neopixel lighting. I will need to buy the lights and everything but will try to get something out this month.
That would be amazing! Thank you so very much! I look forward to learning yet again from you.
Hi. Did you already buy the lights, if so what ones? Im trying to look at options for this.
@@3DPrintscape these are the ones I bought on Amazon 60 NeoPixel Digital RGB LED per 1 Meter. I am running the sir mini e3 v2.0 as well with the marlin 2.07. I know I am missing something when I am doing it but I just can’t figure it out. Thanks again for all your help
Ok, There are a lot of options, so I wanted make sure I get one that is close to what you would be using. I will take a look at the one you got as well.
EXCELLENT VIDEO, THE EXPLANATION IS PERFECT, I AM NEW IN THIS; I JUST INSTALLED A SKR Mini E3 V2.0 AND THE BLTOUCH BUT WHEN I TRY TO HOMING THE X AXES, AND THEY DONE IT WELL BUT THE Z AXIS DOES NOT PERFORM IT AND IT SHOWS ME THE FOLLOWING ERROR "STOP CALLED BECAUSE OF BLTOUCH ERROR - RESTART WITH M999. "I NEED TO KNOW HOW I CAN FIX IT.
Hi. Thanks for the feedback 😊. I have not personally had that problem but talked to a couple of people that have. It sounds like there is a bad connection on the black and white wire, or the probe needs to be manually adjusted. There was a reply on one thread I found related to this issue where they fixed it by manually pulling the probe down and restarting the printer. I would try that first.
Thangs for the video! One thing missing (maybe I've overheard it): The SD CARD needs to be formatted as FAT32 with 4096 byte size and it's recommended to NOT QUICK FORMAT. Uncheck "Quick Format", it takes around 10-20 minutes but that's ok and safer.
Hi. Thanks for the feedback/info. What your describing will work but using the quick format option works just fine as well. I haven had any issues using quick format in a long time, mainly back when actual spinning disks were commonly used.
Thanks for the very helpful guides on upgrading to the SKR mini. I would be interested in the specific changes that are required to the stock Marlin bugfix release to support the mini v2 and BLTouch (using the standard 5 pin connector on the board without replacing the Z end stop). Have you made such a guide?
Thanks again for all the time you’ve invested in sharing this information.
Hi. Thanks for the feedback, and no I haven’t made a video like that. I can look into adding it to my backlog but that one may be challenging with my current setup. I will see what I can do though.
@@3DPrintscape Making the necessary Marlin changes seems straightforward, as I’ve followed your guide(s) and several others. I can flash and run BTT’s custom firmware for the BLTouch and it runs fine, but I have other modifications I’d like to make as well. Compiling and flashing the current 2.0 bugfix version with the outlined changes however results in an error returned from the probe when probing begins after a bed-leveling is initiated. I suspect it has to do with the (original) Z-stop getting triggered but I can’t seem to find the right combination of settings to use both the original Z-stop for homing, but the probe for leveling. Testing the probe works fine, so it doesn’t appear to be h/w related.
@@FowlerDK Hi. I know BTT has a precompiled version of their firmware for both wiring configurations, but im don’t think there is an easy way to get the contents of the configuration.h from it. Looking at the config, I think you will need to comment #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN back out and enable //#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default with it set to the right pin.
@@rob9199 yeah, that’s the problem with the precompiled BTT f/w, I haven’t seen what changes they actually made to the config files (or if they’ve published them somewhere I haven’t found them). I’ve tried both commenting out and activating the Z_MIN... parameter you mentioned but neither option seemed to work. Are you sure the Z_MIN_PROBE_PIN_32 is the correct setting for the SKR mini v2, using the “5-pin” probe connection? I haven’t tried that yet...
@@FowlerDK I took that example directly from the configuration.h file, so it was just an example. I pulled up the board pinout and it looks like the probe would be connected to PC14. github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/hardware/BTT%20SKR%20MINI%20E3%20V2.0/Hardware/BTT%20SKR%20MINI%20E3%20V2.0-PIN.pdf. (I was replying under a different account earlier, sorry).
Thanks, this finally got me running with my bltouch (v1), however Z_MIN_" inverting to true had my z axis crashing into the bed... switched back to false and worked like it should. Just wanted to drop a note here in case someone else ran into problems.
Hi. Thanks for the feedback. That’s interesting, I had the opposite experience. What version SKR mini do you have?
@@3DPrintscape v2 as well, maybe I have wires swapped.
It sounds like the z-stop isn’t being triggered, or the motor orientation is set the wrong way.
@@3DPrintscape Everything is working perfectly and printing great with it set to false. When I first compiled I had it set to true, and when it went to z-home the bltouch was retracted and the nozzle crashed.
Got it. Were you switching Z_MIN_ENDSTOP_INVERTING or Z_MIN_PROBE_ENDSTOP_INVERTING? Here is what I used.
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe.
Thanks for the video. I'm almost there. I get this error when compiling: Marlin\src\gcode\bedlevel\abl\../../../module/stepper/../../feature/../lcd/../module/../libs/duration_t.h:24:10: fatal error: ../HAL/shared/Marduino.h: No such file or directory.
How do I fix this?
Hi. Try moving the firmware folder closer to the rood of your drive. I create a firmware folder off the C drive and put it there.
@@3DPrintscape Thanks! I finally figured out that that was the issue. One step closer to getting it working! I still have the issue of the printer spinning up for a sec and shutting down. Probably some error in my wiring.
@@Stealth17Gaming I agree that the current issue you are having sounds like wiring.
Where about could I change the code to resize the build area? When I do corner level the first point is off the board.
Hi. I don’t think that’s from the build area. Try clearing the EEPROM and test again.
Just a quick note (I haven't looked thru the comments so if this is already mentioned, sorry) but I ran in to a problem when compiling. It was missing some random files that was in the correct folder. Turned out that the path to those files was to long (Windows can only handle a path length of 256 characters). So I just moved the code to a c:\tmp-folder and it worked as a charm. Hope this helps someone. :)
Hi. Thanks for sharing this. I see it happen to people all the time, so im sure it will help someone out :).
Tried that - still get nothing...
Great video. I wanted to try enabling the z offset wizard. Does this also use your probe as the z stop?
Hi. Thanks for the feedback. It would use the probe as the stop, and depending on how the probe is wired, it may be the only thing in place to act as a stop.
Is this any different for newer versions?/other changes?
As well, using your edits/bugfix files, would you follow this in ways?
Hi. At a high level this is the same with newer builds, you will just want to make sure your replacing/editing the right config files. They should be in Marlin-bugfix-2.1.x\Marlin.
Hi and thanks for another great video. I have just one question: I only have a Mac book. I have purchase BLTouch and the board you are using in this video. So can I use my Mac book to up date the firm ware or can it only be done on a PC?
Thanks again
Hi. Thanks for the feedback. A mac can be used without any issues. The one thing I wanted to point out is that the mac OS will hide any folder that starts with a ., so the .pio folder will be hidden and you will need to unhide it or use CLI to get the firmware file.
Great video can you do a video on installing and setting up a micro Swiss dd?
Hi. Thanks for the feedback. Here is a link to the video I did on the Micro Swiss hotend swap and I just finished a video yesterday on the direct drive conversion, so that should go live tomorrow. czcams.com/video/rn0p6m96UA8/video.html
@@3DPrintscape ok great I appreciate it. I’ll check it out. I did the firmware for the bigtree skr mini e3 v2 on my ender 3 v2 and it will heat up and during my test print a few minutes in the nozzle temperature starts to drop until the print stops the print. Do you have any advise as to what it could be or how I can fix this?
That sounds really odd. Is it dropping at a certain point in the print, and can you verify you don’t have anything set in Cura that would cause the temperature to drop?
Hey thanks for the videos I have a question I just upgraded my board to the same followed your lead and I’m getting worse prints than with the stock board any idea why lots of zits
Hi. Im sorry to hear that you are having issues. If you are getting a lot of blobs/zits I would look into your retraction and coasting settings in Cura. Try to tweak those a little to see if that helps.
@@3DPrintscape thanks for the reply I will do that
maybe an obvious question but do I need to leave the .bin file on the sd card once the firmware is on the printer?
Hi. No once the printer has been updated, you can wipe the card until you need it next time.
I don't have the "check" button on the bottom left of my Visual Studio Code. I made all the changes you went through in the video and now I can't compile/build. Please help.
Hi. The check not being there is normally caused from the paltformio or C++ plugin not being there or needing reinstalled, or the wrong folder being open. The folder should have the platformio.ini file in it.
what if i don't want to use bltouch as my endstop? what settings do i change then
Hi. You would have the 3 wires connected to the bltouch port, two to the z stop port and make sure you uncomment #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and comment out #define USE_PROBE_FOR_Z_HOMING
When I run the build command it starts running through the "Building in release mode" and then comes to a stop and does nothing. it still has the spinning build icon but the terminal stops. Please let me know how I might be able to fix this. I have not been able to find much help with this anywhere
Hi. I think you reached out on Discord. If that wasn't you and you need help here just let me know.
after compiling as you said my hotend slams into bed. I am not using a zstop sensor just the bltouch what controls that?
Hi. I would need to know how its wired and the changes to the firmware. If you have all five bltouch wires connected to the bltouch port, the z stop needs to be connected and you would comment out #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and uncomment //#define USE_PROBE_FOR_Z_HOMING. If you have the three wires connected to the bltouch port and the other two connected to the z stop port, you would make sure #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN is uncommented and //#define USE_PROBE_FOR_Z_HOMING is commented out. I cover this more in the bltouch on skr video czcams.com/video/PMG4bC9I3DA/video.html and the written instructions 3dprintscape.com/bltouch-on-skr-mini-install-guide/ .
Hi, can you explain why the z min probe stop inverter you mention at 6:05 needs to be swapped to true? And do the other z stops also need to be set to true as well? I do not always see people recommending to swap this setting so curious what it actually does? Thank you
Hi. The z-probe stop inverter being set to true is just needed for the bltouch, many of the other ABL options don’t need it. It’s a way to flip the logic of the probe. I think it has something to do with how the sensor in the bltocuh works. The rest of them don’t need to be changed.
@@3DPrintscape Thanks for the explanation. I don't recall doing this when I initially installed and loaded the BT firmware but it could have been there. I'm in process of the need to custom the firmware being used so your explanation has be very helpful. I'll give it a try and if things run backwards, I'll know where to swap.
Hey, I dont have the checkmark on the bottom line when i try to build the firmware. Is there another way to build?
Hi. It sounds like platform.io isnt installed or VS Code wasnt restarted after the install.
Hi, great video. Very informative and helpful. Just a noob question. I am using the BTT stock fw on the SKR Mini E3 V2 on my ender 3 V2. I would like to install Jyers fw. Can the SKR Mini support Jyers?
Hi. I haven't actually tried it my self but i searched around a bit and it looks like it would work.
I was wondering if you happen to have a video/tutorial on the skr mini e3 v3. I tried following your advice for building the firmware to include a dual z along with ability to run g34 code
Hi. I just bought an SKR Mini v3 and plan on making a couple video about it in the next month or so.
@@3DPrintscape That would be awesome. I often turn tonyour vids for guidance sorry it would be amazing
Hi great video! Came to compile and check mark not showing, any ideas?
Hi. I think platform.io wasnt installed, or VS Code wasn't restarted. Can you confirm? Also, you can ping me on Discord as well. discord.gg/Bu94EYVkrU
I followed the video to the letter but i dont have the Platform.io build Check box available to click and start the compile?
Hi, you will need platform.io to be able to build the firmware. It possible that it’s still installing, it kinda hides in the background while doing it. Also, make sure that you restart VS code after platform.io finishes installing.
I want to use the CR Touch for auto homing and bed level. Is there a possibilty. I dont want to use the Z endstop switch.
Hi. This video should help you out. czcams.com/video/iaQSXZsybl0/video.html
Do I need to do anything differently if I have the TFT35 touchscreen installed?
Hi. Not unless you are doing anything with mods. I have a video that covers the install process that you can see here. czcams.com/video/kbJ5ILossgs/video.html
Hey I was wondering if you can help me build a file for the verson 3 board? i try to use the verson 2 firmware but no go.
Hi. I can give it a try. Can you reach out on discord or email me. My email is admin@3dprintscape.com
I’m starting with a CR-10 original. That means original motors and a 12v power supply. I will be installing the SKR Mini E3 v2 and the TFT35 touchscreen. Can I just use the precompiled Ender 3 firmware and change the build size in firmware and it’ll work? Or is the voltage an issue in the firmware?
Thanks! Your videos are the easiest for me to understand. Great job!
Hi. I think Marlin has a config example for that board combo that you can start with but if your going to the skr mini anyway, i think what your thinking about doing would work just fine.
@@3DPrintscape thank you so much! I’ll give it a shot and see what happens.
Also. I wouldn't change Z MIN to true if I was using z homing right? I removed the mechanical z endstop. Would this change anything? I'm using ver3 of bltouch
I believe that is the case. I removed the Z endstop as well, so if you follow what I have in the video you should be good.
Is there a setting that does not allow the z axis to go negative. I cannot offset because it does not allow me to go negative on the z axis
Hi. I didn’t have that issue when I was using the stock 8 bit board, and Marlin 1.x. When I moved to the SKR mini and Marlin 2 I had to kick off an auto home before it would let me go negative. Can you give that a try?
This was a super in depth video and you were very thorough with your guided walkthrough! Thank you for this. I am however running into one problem when writing the file. Under pins_postprocess.h I get this error message: "No E stepper plug left for Z2!"
I'm at a loss here because I'm at a complete halt. Any suggestions?
Hi. What board and config example did you start with?
Hi, I'm having an issue that I'm sure if you can . I keep trying to compile the firmware but I get an error on the configuration.h and the configuration_adv.h file saying that #include errors are detected. It tells me to update my includePath. How would I do that
Hi. Can you send the full error?
Great videos! Yet I come seeking help! I'm running VS Code on a Mac platform and have gotten to the compile step only to get the following error:
Error: Build environment 'STM32F103RC_btt_512K' is incompatible with BOARD_BTT_SKR_MINI_E3_V2_0. Use one of these: STM32F103RC_btt,...
Which then lists a number of options. I'm using the Marlin-bugfix-2.0x firmware, for the record. I've googled the error to no avail, so I come to the source! Any and all help is greatly appreciated. Thank you for your work! Ender3Pro, Mini E3 v2.0, BLTouch
Hi. The environment variable has changed since i made this video. I would recommend using the marlin auto build plugin, it shows you the available ones. I have a video covering it that you can see here. czcams.com/video/EerWIATEsM0/video.html
My visual studio didn't have the check box in the lower left hand corner. Did I miss something?
I figured it out. I had to install platformio from extensions in case anyone else had this problem.
Hi. Thanks for the info, im glad you were able to figure it out.
I have 2 printers a ender 3e v2 and a am8 with a skr minie3 v2 how can i use VS Code without chging the board and settings one for another.
Hi. If they both have the same board and build plate size you should be able to, if they are different you won’t.
I'm having trouble flashing my updated firmware to my skr mini e3. The fan0 pins on my board wont work with the tft display, but the fan 1 pins are always on; so Im trying to swap the two and use the power terminals to replace the fan1 pins. I changed the fan0 pin to pc7 from pc6 in pins_BTT_SKR_MINI_E3_common.h, and the fan1 pin from pc7 to pc6 inpins_BTT_SKR_MINI_E3_V2_0.h. the code was successfully compiled and loaded onto the sd card, but when I power on the board wiith the tft display nothing changes. Is there anything else in the ender 3 that is needed to flash the firmware, or should I be able to do it only with the board and tft display?
Hi. All changes would be done on either the mainboard or tft. If you are running into issues there may be someone Discord that can help. discord.gg/Bu94EYVkrU
what do we do if have a CRtouch? do i still enable bltouch?
Hi. Ya, to the firmware they are the same.
If i have a glass bed would i still use bilinear leveling?
Hi. Ya, bilinear leveling is fine for a glass build plate.
Can this be done using the stock board in the Ender 3 V2? I have the 4.2.2 board.
Hi. Yes it can, here is a video i made the covers the process. czcams.com/video/pQ7WZST8sqk/video.html
If anyone gets the Collect2.exe error after attempting to compile the firmware, here's the fix. On the left pane of Visual Studio Code, open the platformio.ini file and change the "default_envs" line (around line 21) and change the name value to STM32F103RC_btt_512K.
Hi. Thanks for the info. If the build still fails after this remove the _512k. The option went away back in June.
I tried updating the firmware and put the sd card in the screen was blank as described but never went unblank. I have since taken the sd out and restarted power and still blank screen
Hi. What screen do you have? I havent really seen this behavior on the SKR boards, the creality boards get a blue screen if the filename is the same as used before. Also, did you try the bugfix or stable build? If bugfix, try the stable one.
I have a question I want to ask you I've tried what you said and I keep coming up with errors
Hi. Yes, i have compiled this dozens of times. What errors are you getting? I can try to help you out here or on discord. discord.gg/Bu94EYVkrU
Great video very informative Yes please show how to do firmware from scratch
Hi. Thanks for the feedback, when you say from scratch are you talking about not using a starting configuration file?
Hi!! can i use this configurations for an ender 2 pro? or i need to change something else? regards
Hi. What board is in your Ender 2 pro?
Great videos I have a question, after loading the firmware and clicking level bed my bltouch probe is off the bed and would crash if I didn't stop it, any ideas? I'm using bltouch in dedicated port with a direct drive.
Hi. Try to clear the eeprom to see if that moves the probe back to the bed.
Hey Rob. Is there a way to backup my current firmware? I have the original firmware.bin file, but I don't want to have to do my esteps and such all over again... I am currently editing the new config files, trying things, and in case I mess up completely, I'd like to keep my old firmware handy just in case to avoid printing delays meanwhile I fix the editing for the new firmware.
Hi. There is no good way to do that. I would recommend just going through and writing down all your changes to make them again.
@@3DPrintscape sounds good. Thanks!
Great explanation!!! Helped me a lot. The only thing that didn't work for me is when I try to build the file, it makes me forces me to select a task. How do I fix this? I can't save it the file....
Hi. What do you mean by it forces you to select a task?
@@3DPrintscape if I check the V to build it opens a search list and asks me to select a task and it doesn't let me save the file...
When homing the z axis dose not move down to home the z
I have z stop wire not connected wanted to use probe to home z
Hi. When you home the printer with a bltouch it will do so in the middle, engage the probe, then stop at about +10. Is that what you are seeing or is not not going down at all? Also, you can join us on discord to help troubleshoot as well discord.gg/Bu94EYVkrU .
Why is the check mark not showing in the bottom tool bar?
Hi. This only happens if you dont have platform io installed correctly or you have the wrong folder open in vs code.
I am trying to get a base Ender 3 working with CR Touch but need my bed size to be 220 x 220 otherwise the X and Y axis try to advance beyond what is physically capable on my printer. Any chance you have SKR mini E3 V3 firmware that I could tweak for the bed size? I try to compile the firmware following your video but I keep getting errors and BTT does not seem to have the config.h file available on github anymore, only pre-compiled firmware with a bed size of 235 x 235.
Hi. I have some firmware that you can download from 3dprintscape.com/marlin-firmware-builds/ . This post may also help you as well. 3dprintscape.com/skr-mini-e3-v3-firmware-guide/
I'm using the SKR Mini e3 1.2 and I'm using the BL touch as my z Probe should I define Use Probe for z Homing?
Hi. Im not quite sure what you are asking, but if it's related to the z safe homing feature, that should be enabled.
would like to keep my limit switch for z homing so what changes would i need to make in Firmware for BLT also what ports would i need to connect BLT to .
Hi. The bltouch 2 and 3 pin gets plugged into the bltouch port and you want to comment this #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and uncomment this //#define USE_PROBE_FOR_Z_HOMING . If you run into issues you can join my discord for help. discord.gg/Bu94EYVkrU
Hi Thank you for reply just waiting for my BLT to arrive no doubt i will have further queries .
got a question on some issues I've been having. so I did a pid autotune. it worked for the extruder but I cant seem to get it to work on the bed. i turned on the pidtempbed setting. but still with the gcode m303 c5 e-1 s60 i get a message saying pid autotune failed! bad extruder number. not sure how to fix. for now I'm just using the default bang bang. any help would be apreciated.
Hi. Any time I have seen something like that come up from the printer its was because that feature was not enabled in the firmware. Can you check to see if you have this enabled ? “#define PIDTEMPBED”
@@3DPrintscape yes I did enable it. Recompiled it and loaded it. I can't figure out why it won't work. It's defined.
Can you send me link for that silver thing with fans and bl touch mount?
Hi. I cover that install in this video, it should have the details your looking for. czcams.com/video/SqhEmw7aTCM/video.html
I have tried and tried to update the firmware on my SKR mini 3E V2.0 motherboard using an 8gb SD card in the TFT35 after following your video and grabbing the firmware.bin file which by the way is only 214kb but it does nothing when booted from a cold start. In fact, you can't even see a file name if you look at the card in the touchscreen but itis there on the card after double checking it. How do I get my motherboard to recognize it. Please help!!!
Hi. Can you take a picture of the about screen on the printer and email it to me or send it to me on discord? My email is admin@3dprintscape.com and the discord invite is discord.gg/Bu94EYVkrU .
Anything different we should be doing if we have the CRTouch rather than the BLTouch? For instance, I wasn't sure if Z_MIN_PROBE_ENDSTOP_INVERTING is applicable to the CRTouch.
Hi. No they are basically the same to the firmware. The Z_MIN_PROBE_ENDSTOP_INVERTING should be set to false for both.
@@3DPrintscape In the video at 6:00 you have it being changed to true.
@@PaulHainesNJ Ya i know. They made a change in the bug fix line over the summer requiring that to be false for the bltouch.
I get an error !!STOP called because of BLTOUCH error - restart with M999 then it says Unknown command: "M48".
I followed all of your instructions, the firmware I used was the latest so it was larger than the one you showed but the same options were available. Suggestions?
Hi. If you want to use the M48 command, you need to uncomment #define Z_MIN_PROBE_REPEATABILITY_TEST in the firmware.
Can you use this board on CR10S ? And just compile it for CR10S workspace, bl touch , ect
Hi. I did a little searching and it looks like you should be able to use it on the CR10. You will want to make sure you are using the correct firmware with it. That said, I haven’t tried it myself, so I cant say for sure that it will work. I know a lot of people have CR10s, so I may end up picking one up to do videos on.
I was trying to connect skr mini via usb but it is not detected by the laptop. I also tried to connect to octoprint via Rpi but it doesn't connect. How do I configure the usb port ?
Hi. have you tried a different USB cable? If its not being seen by either, you may be using a cable that is only meant for charging.
@@3DPrintscape Thank you. It's working now.
how do you compile without the blue check mark?
Hi. The checkmark missing is usually from the platformio or c++ plugin not being installed/or being corrupted, the wrong folder being open in vscode, or multiple instances of the firmware being open (so more than one platformio.ini files being loaded).
Big fan of your videos and channel!
I also am having issues compiling this firmware correctly for my setup, and would be extremely grateful if you could help me. I've been trying a week now with no luck :/ I even resorted to other guides on the internet with no luck as well. I recompiled the firmware following your guide again (following this guide exactly) and am successful in building it and flashing it, but no matter what i've done, the BL Touch clone I am using (3d Touch v2.1) does not stop the z axis from moving downward when homing. The 3d touch also responds to all the other commands when I try them manually in the menu (reset, self test, deploy, stow, etc). I tested the precompiled firmware .bin file that Bigtreetech offers, and theirs actually does make my 3d touch home correctly/stop the z axis from moving downwards, although I need to use a custom compiled version for different offsets and other settings. I've done research on this issue for hours, and numerous hours trying with no luck. Would you be able to help me?
Hi. Thanks for the feedback. Based on the name and overview of the issue you are having I think you reached out to me on Discord. If that’s not the case, let me know and I will try to help out here.
@@3DPrintscape You helped me for four hours+ with numerous attempts and finally was able to help me solve my problem. I am extremely grateful for the help! Definitely staying subscribed and enjoy your videos thoroughly.
For anyone who owns a bl touch clone (mine was a makerbase 3d touch v2.0), try commenting out (putting two // infront of) BLTOUCH_FORCE_SW_MODE and BLTOUCH_DELAY under configuration_adv.h . It made mine work successfully after many attempts!
Thanks again for all the help!!
@@Jeff876533 Im glad we were able to get everything working 😊.
Not getting any checkmark to compile at all after install platformio.....
Hi. Thats normally caused by platformio not being installed or the wrong folder is opened in vs code. The folder you open should have a platformio.ini file in it.
hello, i cant thank you enough for this, quick question, for the whole z min probe... set to true, it caused it to start homing z axis with the bl touch retracted causing the nozzle to crash into the bed, and then i set it back to false and did the same. can you help me?? but once again thx for the video.
Hi. What firmware are you using, how is the bltouch wired, and is the z stop connected?
@@3DPrintscape I have the white and black wires where the z stop should go. I have the brown red and yellow wire in that order where the bl touch port goes and I'm running skr mini e3 V2
@@brayanhernandez8805 Verify the pin out but that sounds right. You would just need to make the change i mentioned on top of the normal changes for the bltouch.
I am sorry but i am so new at compiling the 3d firmwares. I have been upgraded my ender 3 pro from creality 1.1.5 to skr e3 v2 with Tft35 v3. I just want to be sure, is this way firmware upgrading is compatible with the tft35? I just downloaded the pre compiled bin file from github page of btt, but pasue/continue does not work. And actually it is important for me and i did upgrade my mainboard for that. I have already upgraded the firmware of tft35 screen i just need to be sure this is the correct way to upgrade mainboard firmware while using tft35. Thank you for your great work and share with us.
Hi. Im running the same setup, I just didn’t have the TFT35 connected when I did this video. This video covers the SKR mini side of the upgrade, but it will work with the TFT35. I did another video covering the TFT35 upgrade that you can see here in case you wanted to verify that upgrade. czcams.com/video/S9GreElCJWQ/video.html
Help!
I have an Ender 5 and cannot go below 0 (zero) when moving the Z axis by 0.1 - any ideas please?
Hi. I think you need to auto home it before it will let you go below 0. I actually plan on buying an Ender 3 next month so hopefully I can get more detail then.
@@3DPrintscape There is a protection feature that can be turned off in GCODE czcams.com/video/y_1Kg45APko/video.html
That fixed it sweet! Thanks for the reply.
@@noshdaminsk It sounds like the soft endstops were enabled then? I thought the autohome disabled them, but that may just be a firmware setting.
Awesome video! Question: when I connect my printer to my laptop, it does not get labelled a drive letter in Explorer. I checked device manager and it is indeed there and I’m able to connect it to Ponterface. What am I doing wrong?
Hi. Thanks for the feedback. You dont need to connect your printer to the computer. You just need to put the firmware.bin file that gets built from platform.io onto an SD card and put the SD card into the printer.
@@3DPrintscape I made changes exactly as you have described here, yet when I compiled it, I get a "C:\Users\ma_pa\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1" error.
I narrowed it down to the uncommenting of the #define AUTO_BED_LEVELING_BILINEAR as when I uncomment it, that's when I get an error. When I comment it, it compiles just fine. Can you please help me with this?
@@Mr.Titanium1911
Hi. Can you email me more details or join the discord channel to walk through it? My email is admin@3dprintscape.com and the discord is discord.gg/Bu94EYVkrU .
Help please Error: Could not find one of 'package.json' manifest files in the package
Hi. If you hit build again does it work? You could also try to delete everything in the .pio folder.
@@3DPrintscape I do not know why but after a day everything worked. Thanks for the help
when it "successfully builds", does it matter what environment it uses? mine is different than the one on yours but it also seems to pull that automatically. sorry a bit new to this lol
Hi. It should be tied to an environment meant for your board. What environment did you choose?
@@3DPrintscape it doesnt give me an option to choose. it does it by itself
@@chrispalmieri2333 Try to use the marlin auto build plugin. czcams.com/video/EerWIATEsM0/video.html
How do I run the build once through compiling if the check icon isn't showing in the lower left corner?
Hi. It sounds like platform.io may not be installed, or it was installed but VS code wasnt restarted.
@@3DPrintscape Same problem here, installed vscode, installed platformio, still no checkmark to compile, have restarted program multiple times
@@redsoxguy6766 Hi. If the build checkmark isnt there, it can only be a couple of things. 1) platformio wasn't fully installed 2) vs code wasn't rebooted 3) you have the wrong folder open in vs code. If you have the configuration.h file on the root without having to go into the marlin folder most of the firmware wont be known to vs code, including the platformio.ini file that's needed for it to build.
This is super old but I found the issue, you need to go to the Platform.io homepage in vscode and select Open Project. Then browse to the folder you were editing and find the platformio.ini file and select that. Then the checkmark should appear for you.
Followed step by step several times but I keep getting
'collect2.exe: error: ld returned 1 exit status
*** [.pio\build\STM32F103RC_btt\firmware.elf] Error 1' an
Hi. They made a change in a new version that broke the build. In the paltformio.ini file at the root of the firmware folder replace default_envs = STM32F103RC_btt with default_envs = STM32F103RC_btt_512K and try to build it again.
@@3DPrintscape Thanks for the reply, this solved it!
@@kamranrizwani5108 You're Welcome!
Followed the instructions on this video but when I hit the Platform IO compile button it says it fails with STM32F103RC_btt_maple. Anybody know how to get it to run?
Hi. It sounds like the wrong environment is defined. Try to use the marlin auto build plugin, it helps a lot.
Hey guys! just wanted to let you know. DONT ADD THE TEXT .bin to the firmware. if you're on windows or mac, its already downloaded as a .bin file. you just need to change the name to "firmware">> all you're doing by adding .bin is calling the file "firmware.bin.bin"
simply download the file and just call it "firmware" > move it to your SD card>> Eject and put in your printer
hope this saves you guys a huge headache
Hi. Thanks for the tip. It’s definitely worth keeping that in mind. The only time That wouldn’t be true is if you have show known file extensions unchecked in Windows. I keep that unchecked for security reasons, and know a lot of people that do the same.
Hello Guys! I have a Voxelab Aquila and today it's arrived my SKR Mini E3 V3......but i think it's not possible to use that with my display. If i buy the TFT35 E3 V3.0, it's compatible with my printer and the new SKR Mini? Sorry for my english, and thanks in advance for the help
Hi. As long as you are using the firmware for your printer on the skr mini, the tft should work just fine.
Would like to see jyers firmware with skr mini. Can you help out please
Hi. I will do some more research on this and add it to my backlog.
Just can't get platform io to allow me to run a build. The check mark isn't there for me on the blue bar
Hi. Sounds like either it didnt install properly or you opened the wrong folder. Make sure to open the root marlin folder (it should have the platformio.ini file in it).
@@3DPrintscape that's the folder I have. Looks exactly like what you have on screen, it allows me to make all the changes you make in the video. When I go to the top left and click start debugging or run it pops an error
I am using Mac and after building the file I do not have a .pio file. I have redone several times. Build says success but no pio file please help
Hi. Do you have any folders that start with a . in the firmware directory. Normally on Linux operating systems the . at the beginning makes the folder hidden, so im thinking that maybe the issue.
Did you solve the problem?
at 10:00 you disabled the z-endstop if i'm getting that right, but given the SKR mini has sockets for both the endstop and the bltouch, could one enable both? the bltouch for homing/bedleveling and the endstop as a last resort in case the bltouch fails to see the bed (e.g. when in a corner)?
Hi. It is possible to keep both connected to the SKR Mini. It does add to the complexity a little but overall its not to complicated.
@@3DPrintscape the firmware side sounds rather trivial, i was mostly concerned whether both might share the same pin on the microcontroller, or similar hardware limitations.
@@nonchip Got it. They would be separate pins. To have them both connected you would leave the z-stop connected in the standard location and the bltoch stop would connect to the two open pins on the bltouch port.
@@3DPrintscape ok so those aren't actually just two different connectors shorted together for the same signal, good to know. yeah then i guess it should be as easy as tell the software to use the probe for anything homing/leveling related and just shut off the motor as soon as it runs into the endstop (which i'd then position so it happens just a milimeter or so after the probe should've triggered)
@@nonchip Looking at the pin diagram provided by BTT and it calls the out the z-probe stop separately and there is wiring options and precompiled firmware for both. This leads me to believe that both stops can be ran together. Disclaimer, i haven't actually tied this and im just running without the z-stop.
hit ctrl f to open small search tab in top right
Hi. Ya, you would hit ctrl f to open the search tab, sorry I didn’t make that more clear.
i upgraded my board to the skr mini e3 v2 and added a bl touch v3. i also added the custom firmware using this video for reference. after i compiled the firmware and flashed it onto my board everything seemed to be working right but my extruder gear is rotating the opposite direction so it pulls filament out instead of pushing it through. any ideas of how to fix this? i’m currently trying to go into the firmware and change the command for the extruder.
Hi. You should be able to fix this by switching the value on #define INVERT_E0_DIR .
@@3DPrintscape thank you!
@@samhintz8479 You're Welcome
I followed all this and i get a .elf and .hex firmware and no bin?
Hi. What board do you have? If you have a 32 bit board that uses a bin then the output should be a bin. If you have an 8bit board, then what you got is right but you have to connect your printer to the computer to push the firmware after you installed a bootloader.
hi i have the skr mini e3 v2 and the tft35 e3 v3 but for the filament load unload and park head features to work you have to specify the screen in marlin...when i specify the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER as per the documentation
i cant build the firmware as it says #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the BIGTREE_SKR_MINI_E3."
How do i specify the tft35 e3 v3 in the firmware...i need this so i can make the filament runout park the head on pause. any help is useful thank-you
It sounds like you may not have the right board defined in the firmware. Can you email me a copy of your configuration.h file for me to review? My email is admin@3dprintscape.com .
I tried following your instructions but for the version 3 of SKR mini. There is no check mark at the bottom to compile and there are also 148 errors all reading "function call is not allowed in a constant expression". This whole coding stuff is completely out of my element, might as well be chinese...
The stock directory of the firmware has PlatformIO in it and I have the extension installed.
Hi. It sounds like you dont have platformio installed or you opened the wrong folder in vs code. Make sure you open the root level folder, it should have the platformio.ini file in it.