I have wasted 2 days trying to figure out how to load code on my Bigtreetech sky 1.3 board with no luck. Just found your video and this solved my problem. Thanks so much for putting your video together. I have learned a lot from them. Thank you.
I was frankly very confused with the ultimate migration over to VS. You did an amazing job, with fantastic examples. Thank you Chris! It was starting to feel like the first time I used Arduino IDE 7 years ago, lol. Sorta still does, but it also renewed the excitement. Definitely a powerful new set of tools. :)
Chris, even your old videos are helpful. I forgot that Platform IO defaults to Mega2560. I was pulling my hair out trying to figure out why I was getting a build error "Mega2560 is not compatible with Rambo"??? It's been about a year since I played with this stuff. Thank God for your archive. I'd still be hitting that check mark in VS Code wondering what the hell is going on:) This video reminded me that I need to build for the Rambo environment not the default. Thanks!
Ok, this video is awesome. I recently had an ID ten T error. somehow I got roped into doing an extension in VS Code..... It was a bad idea. I figured it out when I had a friend run my code for error checks. I knew something was off because I had just compiled a 32bit board for the Ender 3Pro! and I couldn't for the life of me compile for my 1.4 Turbo...... I was very annoyed, I went through Chris's videos to see if I botched up somehow. I traced the error back to install a toolbar! I did a ""Complete uninstall"" of VS Code. I installed the bare minimum Vs Code and Platform IO without marlin auto build or toolbar. I found great success. as of now, I can compile again!!!! I hope this saves someone many hours of compilation misery! Thanks for making these videos Chris. BTT should sponsor you!
I was having issues with Atom/PlatformIO running painfully slow on a powerful PC. I tracked it down to some known bugs and the suggested fix was to use VSCode instead... lol I made the switch and haven't looked back, I like it a much better!
I had issues too with Atom utilizing 100% cpu on startup for a few minutes. I found other reporting it and it seemed like the devs kept blaming the end users. I switch to VScode and it was much easier to setup and use. I use visual studio for C# projects and it seem MS is now embracing FOSS without opening up their code much, which seems like a good strategy for them. provide good tools to work with open source but capitalize on the tools being closed source. I think I will try platform.io with visual studio
I would like to know a little more about being able to pull the latest updates to marlin and build a new version with the git hub pull. An like how to undo them if it's not right. I am not sure if this is right what I understand you can do with VSstudio a big improvement if it is.
Hey Chris, thanks again for this post. Just in case anyone's interested, I did get PIO and VSCode running for Marlin, but after I did I was a bit disappointed in VSCode. So I switched to Eclipse, which also works well with PIO. IMHO, Eclipse is a much better IDE. Thanks again.
One minor correction: If you plug in the USB cable to an SKR 1.3 with the factory sd card inserted in the board, it will show up on the computer as a drive. You do not need to remove the card from the SKR 1.3. After uploaded the from VSCODE, you just have to reset the board to update to the new .bin image.
@@ChrisRiley I have updated firmware on 6 SKR 1.3 from 3 different computers and never had a problem. I am using: Windows 10 on the latest update. Powered USB Hub or direct USB port and when all else fails, follow the instruction fo install the latest USB driver.
I think I may have found 2 problems that would cause Platformio/VSCode to not be able to update the TF/SD card on the SKR v1.3, and why your suggestion that the card is removed from the SKR, insert it into the computer and copy the '*.bin" file works: 1. If there is more than one drive on the with the "Label" USB Drive. 2. If there is only one drive with the "Label" USB Drive, but that drive does not contain the file "FIRMWARE.CUR" So If you have more than one USB Drive (.) remove the bogus one. If the one you have is empty, copy the .bin file from your build. After you reboot you SKR, this file will be renamed.
Hey Chris. Thank you for posting this. You've filled in a lot of gaps in my understanding. Did have one comment: for a noob like myself, this was a little like getting a drink from a fire hose. I was pausing so much I think I broke my spacebar - maybe you could also post a link to where ever you're getting that triple-caffeine coffee you're drinking! Thanks again.
I got a re-arm board last weekend and followed your video on it which utilized atom. I had problems with atom and switched to VSCode and it was so much better and wondered why you didnt use VSCode
Good explanations! I just received my Re-Arm board so I will need to watch this video again :) Thanks a lot Chris for sharing! Your videos help me a lot ;)
I got a bunch of errors. I am running ender 3 pro with mini e3 v1.2 . I followed everything to the T I think. it had my board listed and all info was correct according to your vid. I took pics of the errors and can happily share and hook ya up for the help!!!
Chris Riley I just bought it The SKR V1.4 with TMC2209 and the fancy click touchscreen 😊 I have never installed Marlin from Scratch on a printer. It’s going to be a journey 😆 I also bought a spring steel plate and a pinda like sensor.
really useful! but I happen to have the same error each time i'm trying to upload to my board: platformio needs me to specify the usb port, even if I typed "upload_port = COM6" in platformio.ini . did someone experience this issue/ fond a fix for it?
For anyone with issues compiling SKR mini E3 V1.2 with file missing and include path problems. As of the date of this comment for platform there is an error going to version 7.0 in regards to this card. Go to platformio.ini line around 323 and look for [env:STM32F103RC_btt_512K]. Underneath it add the line without quotes "board_build.core = maple ". For any include path errors go to the file affected and look for the comment with squiggles. It should be a file path ending with "include". Look under that line and just keep copying that file path to the affected one until the error stops. In my case it said c:/skr/skrmini/include. I replaced include with .pio and it cleared out.
What do you do when you try to build but get an error saying "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit"?
How do you get VSCode to detect and upload directly to your MicroSD card? Does it take a certain type of reader. I know I have some crap readers that do not even work at all but I do have a few that work great. With those ones I am able to see the file path within the PIO Home Devices under Logical, but when I upload it does not detect the file path. Is there a setting which you need to tick in order to make it detect and upload to it?
@@ChrisRiley I'm having the same upload issue.....Error: Please specify `upload_port` for environment or use global `--upload-port` option. For some development platforms it can be a USB flash drive (i.e. /media//) *** [upload] Explicit exit, status 1 not sure where to go from here.
@@n8p3tr03 Probably an error in the Marlin config that already exists. Make sure the firs serial is set to -1, then copy the firmware.bin file manually to the sd card. After that, it should work.
Thanks for the video Chris. I'm new to 3D printing and got a really great deal on a Tevo tarantula pro. With what i saved i have bought a BIGTREETECH SKR V1.3 Controller Board + TFT3.5 Touch Screen + TMC2208 Stepper Motor Driver and duel Z axis kit. I was trying to use ATOM but everytime i imorted my marlin file my computer froze, I was getting worried that i was not going to be able to configure my new board. Thanks again for the video.
@@ChrisRiley Hi Chris, I've managed to get everything installed an working, the printer is much quieter, the hotend and part cooling fans are too noisy now, LOL Can you recommend some replacement fans for the TT Pro and also what is the best way to configure a fan for the drivers?
Thanks Chris this is my first go at VSCode and I am having trouble compiling the configuration.h for my Bigtreetech SKR E3 mini v1.2 I always get "STM32F103RC_bigtree FAILED". I have tied everything you show in the video but....
It seems like every time I build a new 3D Printer I end up having to download and learn new software just to setup the firmware. Maybe it should be a requirement for these tutorials to add at the end of them a heads up on the next software that will be used just so we can start learning them once we finish installing our new firmware. After all it seems it will just keep changing every few months or so. :P ROFLMAO
Followed your instructions to the letter, but with a CR10S config files... and I get a "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit" ??? Tried this three times on three different computers... Help!
You can't use Arduino IDE for compiling 32 bit code. Just 8 bit. So if you want to use Arduino 2.0, you must use PlatformIO on top of VScode/Atom. Since PlatformIO is no longer supported by Atom, you should be using VScode.
Hi Chris, I have just found one of your videos and worked back to this to get a start on editing Marlin - very clear, thanks. I was wondering if this is all still current as we are now 3+ years on? My project is to transplant an SKR 3EZ into my Chiron, with appropriate cable updates ;)
Hey Chis, I apologize if you already answered this question, but I could not find it in the comments. How would you save the original contents of an 8 bit board? I have a RamBo 1.3 in my Maker Gear M3 that I would like to try a new extruder on but might want to go back to the original configuration if I don't like it. Is there a way to make and/or save a copy of original firmware?
Unfortunately, you can't read the values from the board. It's only one way. The best you can do is run a M503 command and record the data. Then try to add it to the new config.
nice video with detailed instructions but i have a problem i can't build the firware in platform io because there is an error in path how can i fix it I get the following message "path to shell executable c: / usser /....../ marlin bugfix-2.0x / pio; exe" does not exist. can someone tell me what to do?
Hi Chris, I am having an issue while installing PlatformIO. It can't find the Pyhton Interpreter. I then added a PATH variable in windows to python.exe but still does not want to load. Any ideas?
Thanks a Really clear tutorial. But I’m trying to upload a modified 2.0.bugfix (as that’s what currently working) or a 2.0.6 onto my SKR E3 mini v2. I can get them to compile (mostly) but neither upload from the SD, I just get a blank screen. I am using the STM32F103RC as motherboard and library as that is what’s suggested by boards.h. Any help would be greatly appreciated.
I am having a couple of problems getting the code to compile. I just bought and installed an SKI Mini E3 1.2 and installed it into my Ender 3 Pro. 1: Marlin\src\HAL\LPC1768\../../core/../inc/../pins/stm32f1/pins_BTT_SKR_MINI_E3.h:25:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" I am not sure why this is happening because I have BOARD_BTT_SKR_MINI_E3_V1_2 set as my board. This error is coming up 8 times. 2: Marlin\src\HAL\LPC1768\../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." I don't know where i am supposed to find the included pins files. This error is also coming up 8 times. 3: Marlin\src\HAL\LPC1768\../../sd/../inc/../pins/stm32f1/pins_BTT_SKR_MINI_E3.h:240:45: error: 'PA4' was not declared in this scope I don't know were to even start with this one. This error is happening 2 times. I would really appreciate any help.
Hello Chris, Again, many thanks for your great explanations! So much clarity! I'm trying to connect my new SKR V1.3 to my Anyubic Kossel Delta Plus. I get as far as Import Arduino Project and Select Board. I scroll down to 'NXP mbed LPC' from the available list and hit Import. I only get 'Please select a board' and nothing appears in the left hand column. One of your answers below said to enter NXP LPC1768 in the env area but I have absolutely no idea what 'env' means. I think I can make the necessary code entries from my previous geometry and motion formats which worked pretty well on my now-dead RAMPS board so, like many Anycubic Delta owners, I'm keen to upgrade to 32 bit operation. I hope to post the settings for this machine when I've got it going but I might die of frustration in the process... :-}
I figured out my problem and I have platformIO and Marlin loaded.My board is the MKS GEN 1.3-1.4 and it looks like it is 2.0 ready. Do I need to use my sd card to load 2.0 on it and then to the board? Or can I upload like always with USB? Maybe the SKR board is only via SD card.
When I try to load PlatformIO, I get an error message about needing Python 2.7 or 3.5+Interpreter. 3.5 failed, but 2.7loaded. Then when I try to install PlatfoirmIO, I get a message about needing to disable my anti-virus/firewall/security software, even after I had already disabled it. Why am I getting this error? Im running Win 10 Pro on Thinkpad W540 with 32GB RAM.
Hey Chris, great video. I do have a quick problem with my attempt if you would permit. When I compile I get a .hex and .elf but no .bin. I have an ADIMLabs Big Gantry (white board) and I grabbed a new version of marlin. Set the default_envs to Megaatmega2560. Then used the example configuration I downloaded from Marlin for the board Gantry v2. Which set the board in the configuration.h to BOARD_HJC2560C_REV2. When I go to build this I get a firmware.hex and a firmware.elf but no firmware.bin file. Any ideas what I’m doing wrong?
It will be one of these depending on the version you have. #define BOARD_BTT_SKR_MINI_E3_V1_0 4013 // BigTreeTech SKR Mini E3 (STM32F103RC) #define BOARD_BTT_SKR_MINI_E3_V1_2 4014 // BigTreeTech SKR Mini E3 V1.2 (STM32F103RC)
That's what I wanna know! This whole firmware thing using VSCode is chaos. None of it works for me. Constants failures while trying to compile. I just want to make few tiny changes....do I need to learn damn C++ or Python ??
My VScode screen does not have the Quick Access in the middle of the screen. How do I import Arduino Project?? I couldn't find another way yet. Or, is there a way to add the Quick Access to my VScode /screen???
When i build form platform io: #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit #include "fastio.h" #include "watchdog.h" What???
really.... Ive been trying for a week now to get Marlin 2.0 to spit out a working file for the SKR Pro V1.1 with the TMC 5160 drivers.... everything else works, fans, heaters, video, endstops... all functional, just cant get the steppers to move.
@@ChrisRiley its all the motors, when it boots up all the motors go into the lock/hold status. If I do a motor move command via the video display ( for example... move axis X 10 button set), all the motors "relax" but none will move via commands, you can move the table, the extruder, and the Z axis all by hand tho... Im thinking there is some g-code missing that tells everything to find home etc since the motors "set" no matter where they are at
Getting error #error "SERIAL_PORT cannot be 0. (Port 0 does not exist.) Please update your configuration." trying to compile for skr mini e3 v1.2 when building,any ideas chris?
Is it possible to save the project as a whole to have a working and still editable version of marlin before making significant changes to the code? I mean, one should be able to save the progress but have a backup project file in case of messing up a project. I don’t want to start at zero every time and I don’t quite understand how to do this in visual code. Any help would be great.
About the only think you can do is zip up the version you have and save it somewhere. Features are being added all the time so the file formats change all the time. The only way to update the new config right now is line by line copy from the old config.
Hi again, Chris, Typing in SKR V1.3 into 'Please Select Board' shows as 'not supported' in the top notification bar, so it seems that LPC1768 and SKR 1.3 have somehow escaped integration into the Visual Studio Code 1.45.1 version I have on my Widows 10 64 bit PC. Surely I'm not the only one trying to use this Board / Processor. I can get as far as 'Import Arduino Project' and 'Please select board' which gives C/Users/Downloads/(extracted and renamed) Marlin-bugfix-2.0VS as per your demo. I wonder if the 'mbed' word in the board's title is relevant. I have tried watching your video in small pieces to slow things down a little and I still have no clue as to what's missing... I've been at this for many days now but I' keep on plugging away until the light goes on! :-}
Chris are you still doing the grab a new copy, or have you started using GitHub Desktop? With as many printers as you have, I would think Desktop would make it easier to keep things up to date, and, sorted. Am I missing something?
Hi Chris, I am struggling to load the BLTouch software onto my SKR-Mini E3 v 1.2. I don't know which board to choose from Platformio. I also went to github and see that they have one that matches but it doesn't mention the BLTouch?
Iguess you're right. I just spent the last 5 hours trying to get the bugfix compiled for the SKR Mini E3 V2.0 so it would read the TFT35. Not even the 2.05 build works. SO PLEASE! When it becomes possible to build a version for this board (even though the board is now listed in Bugfix 2.0) Let me know, Send up flares! Plug and Play the TFT35 ISN'T.. I keep getting "old configuration files error" and Display errors.. ARRGGGGHHHHH!
@@ChrisRiley Well Chris, here's one for your followers who are finding it to be an exercise in frustration. I kept getting board errors in VS Studio (not recognizing the Ver2.0 SKR Mini board), but after a great deal of hours of seeing those yellow and red errors at the bottom of the compile screen, I flipped the connector (the 4 pin black connector and the separate reset) over and like magic, the board connected. So once again. I made the mistake of blaming the hardware when the "Software" inside my head was the problem. Honestly, It looked correct, but it was about 4 in the morning and I was at wit's end.. "Could I have it plugged in wrong?...Nahhh…" The arrogance of ignorance... Thank you for your quick replies and your concise instruction. All in all, should take about 30 minutes for the board install and TFT35 screen... BTW, it's a BEAUTIFUL system.. I ordered the WIFI module, but I'm thinking perhaps OCTOPRINT would be the smarter route to take....
Hey Chris! I am having some issues understanding how to get my BLtouch to work on my ender 3. Current set up is Ender 3, SKR mini E3, TFT35. I downloaded a bin file to make it work on this set up and it seems to work fine. Problem is the nozzle is way too high. I understand that I need to adjust the z off-set but can not figure out how to do that. I have watched all of your videos on this but am at a loss on how to edit the bin file to make it work. Any help at all would be appreciated.
You would need to recompile the source to make that edit. You can't adjust the bin file. If I were you I would just change the Z offset with a terminal command. You can do it from your LCS as well. Use command M851 Z-1.00 for 1mm of offset. Use Pronterface to connect up to is USB. www.pronterface.com/
Hi Chris, great video. Thanks. For a CR10S, in marlin bugfix2.0.x the board is "BOARD_RAMPS_CREALITY", but in VS there are no RAMPS and no Creality. Use the standard Mega2560 is ok? Thanks
great content subscribed... total noob but how do you type what you want into the firmware in vs code . i have only figured out how to paste so i type what i want on notepad and copy and past but i have to think there is a simple way
so I'm completely lost still lol I have a btt skr mini e3 v1.2 board (came in second hand printer) it has a marlin menu and btt menu. I downloaded marlin tried to copy in the board from the list it says its not compatible. trying to add a filament sensor with pause feature
Yeah, there is a lot to it, you have to load it and compile the code. This could help as well. I go over a newer way to setup VScode. ruclips.net/video/JWUcnkjeNU8/видео.html
@ChrisRiley your assuming i havent already. scoured youtube on the subject and continue to link to videos that are 2 years old on the subject and idk about you but id rather not have something that is intended to be used on every print placed under a submenu
Much clearer than other "tutorials" Thanks! I can't seem to find the proper motherboard for my SKR Mini E3 V2.0 though. Any advice ? I don't see that board listed in the Marlin firmware.
hopefully you are still answering questions here. i tried following this guid, but when i was trying to find my board, it wasnt listed. i have the skr mini e3 v1.2.
HELP I have followed your video and compiled my software "finally" but it will not work correctly. I am having major problems. Do you know of anyone that will do the custom compile for me I think I have all the items need, I just hate software. please let me know as soon as you can.
I have an BTT SKR MINI V1.2 E3 i cannot get this thing to update on VScode or Atom I'm always receiving errors and no board that is in boards are recognizable for anything this board i had in my Ender 3Pro and had the firmware.bin file placed on the sd card but now my heat bed keeps going up in temp gets very hot past 125c and there's no control to lower the temp. Any ideas on what i can do to get it going good again and update the firmware for the BTT SKR MINI V1.2 E3?
@@ChrisRiley i trashed the board from frustration i broke it in half. I now have an SKR 1.4 Turbo and am having same issues No Tasks Found what am i doing wrong?
this solved issue I was having thank you, i have one question. gow do u switch default config h and adv file to one of example config files for vs code.
I should have showed that, I do it out in the file explorer before I add it to VSCODE. The examples are out in the config/examples folder out in the top level.
hi chris do you have a fw for a cr10 with a dd i want to put BIGTREETECH SKR V1.4 Turbo 32bit Control Board in but im stuck on fw where to start any help would be great
Chris, Thanks for all your videos, they have really helped. I have been using VSCode for a while and all worked fine. Now I am getting an error consistently even with a clean Marlin build. When I hit Build I get an error right after "Compiling .pio\build\mega2560\src\srd\HAL\AVR\fast_pwm.ccp.o avr-g++: fatal error: no input files. The system cannot find the path specified. Tried it with a LPC1769 also still same error. I go into the directory and find the file fast_pwm.ccp. But no "ccp.o" Kind of driving me crazy. Uninstalled and reinstalled VS Code. Tried with old versions that worked previously and brand new untouched marlin 2.0, but nothing goes beyond this error. I think it is trying to find a library or something. Very surprised that after reinstall vs code and new Marlin I still get the same error. Any thoughts?? Thanks for your help
That's usually a framework problem. Did you run a "clean" in the build menu? Try deleting your Arduino folder in your documents. arduino.stackexchange.com/questions/54644/how-do-i-reset-my-libraries-back-to-original-condition
@@ChrisRiley Thanks for the quick reply. Deleted arduino app data and documents. Uninstalled vs code. uninstalled arduino, Reinstalled vs code. Went to project tasks, hit clean all. Same error??
@@mattarcher7390 That's all I know, make sure you have the folder that has the Marlin folder in it added to the project, it needs to be the one above Marlin, but that's all I know.
hey Chris! Happy New Yr. I'm trying to pick my board from the menu, but the issue is I'm not sure what board i have. I have the Mingda 4D Pro and i also have the source code as well. also under marlin config, mingda isn't there. Any kind of help would be great. Thanks Chris
Happy new year! Mingda isn't support from base marlin yet. Mingda will have to get you the source, then you can just use the build environment of the chip they use on that board. You'll have to get the numbers off of it.
@@ChrisRiley thank you Sir! This is what I thought, they gave me source code and the chip info, which is on my motherboard. I guess if I was thinking I would of just looked myself. Thanks for everything and PLEASE keep making videos. Your Great. Cheers from Canada NS
I got another question. When build freshly unzip marlin 2.0 the env for 1768 "skr1.3" it shows successful. ones I make one change to configuration h or advance it shows fail. is this something I'm missing, in vscode.
@@ChrisRiley the chanes were, what board type, or size of heat bed ,stepper motor, tried these one at time on build I get fail on 1768 build environment instead of saying successful build enviroment. successful with fresh file any small changes its unsuccessful. I'll take a picture of failure. it maybe that I'm new to 32 bit in vs code or atom
I have wasted 2 days trying to figure out how to load code on my Bigtreetech sky 1.3 board with no luck. Just found your video and this solved my problem. Thanks so much for putting your video together. I have learned a lot from them. Thank you.
I am so glad that it helped you.
For some reason compiling on Arduino IDE threw errors but following these instructions with VS Code worked first try. Thanks Chris!
Glad it helped
I was frankly very confused with the ultimate migration over to VS. You did an amazing job, with fantastic examples. Thank you Chris! It was starting to feel like the first time I used Arduino IDE 7 years ago, lol. Sorta still does, but it also renewed the excitement. Definitely a powerful new set of tools. :)
Glad it was helpful! Thank you for the comment.
Great video. Clear as mud. lol I'll have to watch this a few times while I'm getting my board ready. Thanks for posting this video!!!
I hear ya, lots of steps, hang in there.
Chris, even your old videos are helpful. I forgot that Platform IO defaults to Mega2560. I was pulling my hair out trying to figure out why I was getting a build error "Mega2560 is not compatible with Rambo"??? It's been about a year since I played with this stuff. Thank God for your archive. I'd still be hitting that check mark in VS Code wondering what the hell is going on:) This video reminded me that I need to build for the Rambo environment not the default. Thanks!
Awesome, glad it helped, I've been using the Marlin extension just for this reason. It picks the chip type for you.
Ok, this video is awesome. I recently had an ID ten T error. somehow I got roped into doing an extension in VS Code..... It was a bad idea. I figured it out when I had a friend run my code for error checks. I knew something was off because I had just compiled a 32bit board for the Ender 3Pro! and I couldn't for the life of me compile for my 1.4 Turbo...... I was very annoyed, I went through Chris's videos to see if I botched up somehow. I traced the error back to install a toolbar! I did a ""Complete uninstall"" of VS Code. I installed the bare minimum Vs Code and Platform IO without marlin auto build or toolbar. I found great success. as of now, I can compile again!!!! I hope this saves someone many hours of compilation misery! Thanks for making these videos Chris. BTT should sponsor you!
That's awesome! Thanks for watching
I was having issues with Atom/PlatformIO running painfully slow on a powerful PC. I tracked it down to some known bugs and the suggested fix was to use VSCode instead... lol I made the switch and haven't looked back, I like it a much better!
I had issues too with Atom utilizing 100% cpu on startup for a few minutes. I found other reporting it and it seemed like the devs kept blaming the end users. I switch to VScode and it was much easier to setup and use. I use visual studio for C# projects and it seem MS is now embracing FOSS without opening up their code much, which seems like a good strategy for them. provide good tools to work with open source but capitalize on the tools being closed source. I think I will try platform.io with visual studio
Same here, I like ATOM, but VScode seems less buggy.
I would like to know a little more about being able to pull the latest updates to marlin and build a new version with the git hub pull. An like how to undo them if it's not right. I am not sure if this is right what I understand you can do with VSstudio a big improvement if it is.
Hey Chris, thanks again for this post. Just in case anyone's interested, I did get PIO and VSCode running for Marlin, but after I did I was a bit disappointed in VSCode. So I switched to Eclipse, which also works well with PIO. IMHO, Eclipse is a much better IDE. Thanks again.
Hey Kip, great, I will be checking out Eclipse for sure.
One minor correction: If you plug in the USB cable to an SKR 1.3 with the factory sd card inserted in the board, it will show up on the computer as a drive. You do not need to remove the card from the SKR 1.3. After uploaded the from VSCODE, you just have to reset the board to update to the new .bin image.
Thanks David, I have had soooo many people not be able to read there SKR board with USB. This is the only fix I know of to correct it.
@@ChrisRiley I have updated firmware on 6 SKR 1.3 from 3 different computers and never had a problem.
I am using:
Windows 10 on the latest update.
Powered USB Hub or direct USB port and when all else fails, follow the instruction fo install the latest USB driver.
I think I may have found 2 problems that would cause Platformio/VSCode to not be able to update the TF/SD card on the SKR v1.3, and why your suggestion that the card is removed from the SKR, insert it into the computer and copy the '*.bin" file works:
1. If there is more than one drive on the with the "Label" USB Drive.
2. If there is only one drive with the "Label" USB Drive, but that drive does not contain the file "FIRMWARE.CUR"
So If you have more than one USB Drive (.) remove the bogus one. If the one you have is empty, copy the .bin file from your build. After you reboot you SKR, this file will be renamed.
Hey Chris. Thank you for posting this. You've filled in a lot of gaps in my understanding. Did have one comment: for a noob like myself, this was a little like getting a drink from a fire hose. I was pausing so much I think I broke my spacebar - maybe you could also post a link to where ever you're getting that triple-caffeine coffee you're drinking! Thanks again.
Thanks Kip! LOL, I get that a lot. I have been told watching them at half speed helps. ;)
This was extremely helpful, thank you! I didn't get the alien ant head until a bit later after installation which was a big headscratcher.
Hmmm, maybe it was doing some sort of update.
Well Another awesome and useful Tutorial, as always keep up the great content Chris see you at ERRF 2019 !
Thanks Ron! See you there!
Thanks Chris been having trouble working with atom but you have made using VSCode seen the way to go
I was having some issues as well, VScode seems to fix those bugs.
Thank you Chris for this tutorial! This has saved me countless hours.
Sweet! Glad it helped!
@@ChrisRiley so, do you add the folder where I downloaded Ardruino too?? New to VScode thanks. Completely different than POSH
@@troopx2183 Not sure what you mean, just add the folder to VScode that contains the Marlin folder. Should see add folder in the files tab.
Thanks for this.. just ordered an skr e3 to slap into my Ender 2.. this will DEFINITELY help
Awesome! Good luck on your upgrade!
I got a re-arm board last weekend and followed your video on it which utilized atom. I had problems with atom and switched to VSCode and it was so much better and wondered why you didnt use VSCode
Hey Greg, I wanted to try and stick with ATOM because of open source, but VScode does seem to work a lot better.
You are awesome. I love doing this crap, but some times it can be very daunting with out a little help from someone like you with the skills.
I hope this video helps. Thank you
Good explanations!
I just received my Re-Arm board so I will need to watch this video again :)
Thanks a lot Chris for sharing!
Your videos help me a lot ;)
Thanks Michael, good luck!
VSCode is so much better than atom.io. Glad they did this. Thanks for the walkthrough!
Glad it helped!
Thank You for a super job. I am not a software person but you took it slow and on point.
Thanks, glad it was helpful!
I got a bunch of errors. I am running ender 3 pro with mini e3 v1.2 . I followed everything to the T I think. it had my board listed and all info was correct according to your vid. I took pics of the errors and can happily share and hook ya up for the help!!!
Yes, send over the errors and I will take a look. brotherchris81@gmail.com
Thanks Chris this will be a winter project
Thanks Mark!
Going to need that soon. Hopefully I will understand everything
Let me know if you need any help.
Chris Riley I just bought it The SKR V1.4 with TMC2209 and the fancy click touchscreen 😊 I have never installed Marlin from Scratch on a printer. It’s going to be a journey 😆 I also bought a spring steel plate and a pinda like sensor.
Terrific video Chris. I found it very helpful.
Great to hear!
Thank you very much, Chris. Great video as always.
Thanks for watching!
Man that is quite a useful video. I just miss log on the back of your studio. Tanks for the information!
Thanks! He will be back I am sure. ;)
Yeah Chris. It looks like certain spacers or places in the config files ask for it
I'm going to try it out.
Thank you!I did the manual upload code to sd card for my skr...now i know how to upload from vs code...
You're welcome, give it a shot, hope it works better for you.
really useful! but I happen to have the same error each time i'm trying to upload to my board: platformio needs me to specify the usb port, even if I typed "upload_port = COM6" in platformio.ini . did someone experience this issue/ fond a fix for it?
Is that the com6 port device manager calls out your you plug your board in?
For anyone with issues compiling SKR mini E3 V1.2 with file missing and include path problems. As of the date of this comment for platform there is an error going to version 7.0 in regards to this card. Go to platformio.ini line around 323 and look for [env:STM32F103RC_btt_512K]. Underneath it add the line without quotes "board_build.core = maple
". For any include path errors go to the file affected and look for the comment with squiggles. It should be a file path ending with "include". Look under that line and just keep copying that file path to the affected one until the error stops. In my case it said c:/skr/skrmini/include. I replaced include with .pio and it cleared out.
Thanks for posting this, hopefully this will all be fixed when 2.0.6 comes out very soon.
I already know how to do that but yet I'm watching your video 🤔 I do like your videos a lot tbh :D
Thank you for watching! 😀
What do you do when you try to build but get an error saying
"#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit"?
I have not clue what that is. Maybe the input path is to long. Try copying your Marlin folder to the main drive directory and reopening.
I moved the project folder on my desktop and it shortens the path and fixed the problem.
@@rafaelbrunet6042 Awesome!
How do you get VSCode to detect and upload directly to your MicroSD card? Does it take a certain type of reader. I know I have some crap readers that do not even work at all but I do have a few that work great. With those ones I am able to see the file path within the PIO Home Devices under Logical, but when I upload it does not detect the file path. Is there a setting which you need to tick in order to make it detect and upload to it?
As long as Windows can see it as a drive, VScode should be able to upload to it. Try mounting the card before you open VScode.
@@ChrisRiley I'm having the same upload issue.....Error: Please specify `upload_port` for environment or use global `--upload-port` option.
For some development platforms it can be a USB flash drive (i.e. /media//)
*** [upload] Explicit exit, status 1
not sure where to go from here.
@@n8p3tr03 Probably an error in the Marlin config that already exists. Make sure the firs serial is set to -1, then copy the firmware.bin file manually to the sd card. After that, it should work.
Thanks for the video Chris. I'm new to 3D printing and got a really great deal on a Tevo tarantula pro. With what i saved i have bought a BIGTREETECH SKR V1.3 Controller Board + TFT3.5 Touch Screen + TMC2208 Stepper Motor Driver and duel Z axis kit. I was trying to use ATOM but everytime i imorted my marlin file my computer froze, I was getting worried that i was not going to be able to configure my new board.
Thanks again for the video.
You're welcome, VScode should work much better for you.
@@ChrisRiley Hi Chris, I've managed to get everything installed an working, the printer is much quieter, the hotend and part cooling fans are too noisy now, LOL Can you recommend some replacement fans for the TT Pro and also what is the best way to configure a fan for the drivers?
@@IvaBiggun Check out Sunon fans, they are good and fairly quiet. Digikey has them. The easiest way is to just tag and extra fan on the power input.
@@ChrisRiley Thanks for your help.
Great video. Thank you very much. Help me out a lot
Glad it helped!
@@ChrisRiley yep thanks to you my family think I'm a genius. Don't worry I gave all the credit to you.
@@billarruda7070 lol
Thanks Chris this is my first go at VSCode and I am having trouble compiling the configuration.h for my Bigtreetech SKR E3 mini v1.2 I always get "STM32F103RC_bigtree FAILED". I have tied everything you show in the video but....
Looks like that's a different chip, try the env:STM32F103RC_bigtree hit build under that one.
It seems like every time I build a new 3D Printer I end up having to download and learn new software just to setup the firmware. Maybe it should be a requirement for these tutorials to add at the end of them a heads up on the next software that will be used just so we can start learning them once we finish installing our new firmware. After all it seems it will just keep changing every few months or so. :P ROFLMAO
LOL, good point. ;)
Agreed, the process reminds me of Windos 3.1... welcome back to the future. lol
How do you get the LP1769 environment on VSCode, if you type LP1769 into platformio supported boards then nothing is found ?
Just use the build menu to access that environment.
Followed your instructions to the letter, but with a CR10S config files... and I get a "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit"
??? Tried this three times on three different computers... Help!
If it is windows, maybe the file path is too long. Try moving your Marlin folder to your c:\ and re-add it to vscode and try again.
I don’t get the list of boards under the project tasks. How do I get them added?
You need to make sure you are adding the folder that contains the Marlin folder.
is their a advantage from VScode vs just using arduino? for compiling code?
The biggest one being 32bit support.
You can't use Arduino IDE for compiling 32 bit code. Just 8 bit. So if you want to use Arduino 2.0, you must use PlatformIO on top of VScode/Atom. Since PlatformIO is no longer supported by Atom, you should be using VScode.
Hi Chris, I have just found one of your videos and worked back to this to get a start on editing Marlin - very clear, thanks. I was wondering if this is all still current as we are now 3+ years on? My project is to transplant an SKR 3EZ into my Chiron, with appropriate cable updates ;)
I did a bit of an update on it for another video here. ruclips.net/video/JWUcnkjeNU8/видео.html
Hey Chis, I apologize if you already answered this question, but I could not find it in the comments.
How would you save the original contents of an 8 bit board? I have a RamBo 1.3 in my Maker Gear M3 that I would like to try a new extruder on but might want to go back to the original configuration if I don't like it. Is there a way to make and/or save a copy of original firmware?
Unfortunately, you can't read the values from the board. It's only one way. The best you can do is run a M503 command and record the data. Then try to add it to the new config.
Thanks for the information. Another great video.
Thanks Corey!
nice video with detailed instructions
but i have a problem
i can't build the firware in platform io because there is an error in path
how can i fix it
I get the following message "path to shell executable c: / usser /....../ marlin bugfix-2.0x / pio; exe" does not exist.
can someone tell me what to do?
Try running the clean option under build and try again.
Nice walk through
Thanks for sharing :-)
Thanks Asger!
Hi Chris, I am having an issue while installing PlatformIO. It can't find the Pyhton Interpreter. I then added a PATH variable in windows to python.exe but still does not want to load. Any ideas?
Not sure, it should provide enough python to get you going. You can try install python from scratch. www.python.org/downloads/
Great tutorial! What are the steps for updating firmware for BTT E3 V2 board? PlatformIO IDE needed as well? Please help :)
Yes, all the same steps. ruclips.net/video/xafyl-luLk4/видео.html
Awesome, i have to edit the driver chip? This is great help.
Yes, here is a little more updated version on the VScode setup. ruclips.net/video/JWUcnkjeNU8/видео.html
Thank you, Atom is really unstable and fucks me up.
lol, Yes, VScode seems to be a bit more strait forward.
What config example should I use for a CR-10v2
I'm not sure, but I would start with the cr10 config.
Thanks a Really clear tutorial. But I’m trying to upload a modified 2.0.bugfix (as that’s what currently working) or a 2.0.6 onto my SKR E3 mini v2. I can get them to compile (mostly) but neither upload from the SD, I just get a blank screen. I am using the STM32F103RC as motherboard and library as that is what’s suggested by boards.h. Any help would be greatly appreciated.
Thanks! It won't pickup the bin file? Only thing I know to try is reformat the SD card. Make sure it's fat32.
Thanks for the great video
Thanks Larry.
I am having a couple of problems getting the code to compile. I just bought and installed an SKI Mini E3 1.2 and installed it into my Ender 3 Pro.
1: Marlin\src\HAL\LPC1768\../../core/../inc/../pins/stm32f1/pins_BTT_SKR_MINI_E3.h:25:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
I am not sure why this is happening because I have BOARD_BTT_SKR_MINI_E3_V1_2 set as my board. This error is coming up 8 times.
2: Marlin\src\HAL\LPC1768\../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
I don't know where i am supposed to find the included pins files. This error is also coming up 8 times.
3: Marlin\src\HAL\LPC1768\../../sd/../inc/../pins/stm32f1/pins_BTT_SKR_MINI_E3.h:240:45: error: 'PA4' was not declared in this scope
I don't know were to even start with this one. This error is happening 2 times.
I would really appreciate any help.
See if this video helps. ruclips.net/video/ACkxT2uvYO4/видео.html
Hello Chris, Again, many thanks for your great explanations! So much clarity!
I'm trying to connect my new SKR V1.3 to my Anyubic Kossel Delta Plus. I get as far as Import Arduino Project and Select Board. I scroll down to 'NXP mbed LPC' from the available list and hit Import.
I only get 'Please select a board' and nothing appears in the left hand column. One of your answers below said to enter NXP LPC1768 in the env area but I have absolutely no idea what 'env' means.
I think I can make the necessary code entries from my previous geometry and motion formats which worked pretty well on my now-dead RAMPS board so, like many Anycubic Delta owners, I'm keen to upgrade to 32 bit operation.
I hope to post the settings for this machine when I've got it going but I might die of frustration in the process... :-}
I would just skip the whole board/import process, just add your Marlin folder to the project, it will pick it up from there.
I figured out my problem and I have platformIO and Marlin loaded.My board is the MKS GEN 1.3-1.4 and it looks like it is 2.0 ready. Do I need to use my sd card to load 2.0 on it and then to the board? Or can I upload like always with USB? Maybe the SKR board is only via SD card.
If it's 32bit, then you can use the on-board SD card to upload to the board. If not, than USB is the way to go.
When I try to load PlatformIO, I get an error message about needing Python 2.7 or 3.5+Interpreter. 3.5 failed, but 2.7loaded. Then when I try to install PlatfoirmIO, I get a message about needing to disable my anti-virus/firewall/security software, even after I had already disabled it. Why am I getting this error? Im running Win 10 Pro on Thinkpad W540 with 32GB RAM.
Hey Tony, I am not sure, but it sounds like VScode can't get to the internet.
Hey Chris, great video. I do have a quick problem with my attempt if you would permit. When I compile I get a .hex and .elf but no .bin. I have an ADIMLabs Big Gantry (white board) and I grabbed a new version of marlin. Set the default_envs to Megaatmega2560. Then used the example configuration I downloaded from Marlin for the board Gantry v2. Which set the board in the configuration.h to BOARD_HJC2560C_REV2. When I go to build this I get a firmware.hex and a firmware.elf but no firmware.bin file. Any ideas what I’m doing wrong?
Hey Chris, you probably won't get a bin file on a 2560 board. You will have to flash it via serial while compiling or with that hex file.
I am not able to get the bin file to upload nor can I just copy it like you showed when going to the explorer.
You have to copy it from Windows explore, right click in vscode explore and open in Windows explore.
Great Video!
Thanks Mike!
I am trying to activate power loss recovery but doesn't work.Any idea ;
What part doesn't work? You will need to give it some print time to start coping the layer to the SD card. It has to get over your Z offset.
Could you show us how to identify the boards being used in the video?
Most of the time you are just looking for the number on the processor chip.
Hi Chris, I hope you're still watching this thread. Can you tell me what board to choose for a BTT SKR-Mini E3? Thanks, Staci
It will be one of these depending on the version you have.
#define BOARD_BTT_SKR_MINI_E3_V1_0 4013 // BigTreeTech SKR Mini E3 (STM32F103RC)
#define BOARD_BTT_SKR_MINI_E3_V1_2 4014 // BigTreeTech SKR Mini E3 V1.2 (STM32F103RC)
Do you know how to take an existing bin file and get it into V’s code so that it can be modified?
Hey Joe, that is a compiled file, there is no way to reverse it.
That's what I wanna know! This whole firmware thing using VSCode is chaos. None of it works for me. Constants failures while trying to compile. I just want to make few tiny changes....do I need to learn damn C++ or Python ??
@@christiandavis286 Yes, you always have to start from the beginning I am afraid.
My VScode screen does not have the Quick Access in the middle of the screen. How do I import Arduino Project?? I couldn't find another way yet. Or, is there a way
to add the Quick Access to my VScode /screen???
The easiest way is to add it in the file tab, right click add new folder.
After you click the alien, click open on the menu on the left side. It should open the same screen with the options he used.
How to upload marlin with st-link after compiling?
You can add an upload_floder in platformio.ini or copy the firmware.bin file to your SD card from your .pio/build/ folder.
Having problems with vs code! Terminal process terminates with exit code 2. Won't build or upload.
Hello, you can try to delete the folder "C:\Users\Name\AppData\Roaming\Code" can fix it, but user setting should be reset
after install of platform IO IDE it wont show in the activity bar and tells me I need python 2.7 or 3.5 installed.
It should setup all the python stuff for you, maybe try a reinstall.
What board would you select for skr 1.4 turbo
BOARD_BTT_SKR_V1_4_TURBO this guy.
|-- 1.0
Building in release mode
Error: Dynamic fuses generation for atmega2560 is not supported. Please specify fuses in platformio.ini
I have no clue what dynamic fuses are, I have never seen that error.
When i build form platform io:
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
#include "fastio.h"
#include "watchdog.h"
What???
That usually means your file path is too long. Move your main Marlin folder to your C: drive to shorten it up.
really.... Ive been trying for a week now to get Marlin 2.0 to spit out a working file for the SKR Pro V1.1 with the TMC 5160 drivers.... everything else works, fans, heaters, video, endstops... all functional, just cant get the steppers to move.
Is it all the motors? Have you checked the motor wiring?
@@ChrisRiley its all the motors, when it boots up all the motors go into the lock/hold status. If I do a motor move command via the video display ( for example... move axis X 10 button set), all the motors "relax" but none will move via commands, you can move the table, the extruder, and the Z axis all by hand tho... Im thinking there is some g-code missing that tells everything to find home etc since the motors "set" no matter where they are at
@@bunnykiller I would try another driver, like an a4988, that board might have trouble supporting a 5000 series driver.
Getting error #error "SERIAL_PORT cannot be 0. (Port 0 does not exist.) Please update your configuration." trying to compile for skr mini e3 v1.2 when building,any ideas chris?
Try setting it to -1.
@@ChrisRiley thanks chris that sorted the errors out.
Is it possible to save the project as a whole to have a working and still editable version of marlin before making significant changes to the code? I mean, one should be able to save the progress but have a backup project file in case of messing up a project. I don’t want to start at zero every time and I don’t quite understand how to do this in visual code. Any help would be great.
About the only think you can do is zip up the version you have and save it somewhere. Features are being added all the time so the file formats change all the time. The only way to update the new config right now is line by line copy from the old config.
Hi again, Chris,
Typing in SKR V1.3 into 'Please Select Board' shows as 'not supported' in the top notification bar, so it seems that LPC1768 and SKR 1.3 have somehow escaped integration into the Visual Studio Code 1.45.1 version I have on my Widows 10 64 bit PC. Surely I'm not the only one trying to use this Board / Processor.
I can get as far as 'Import Arduino Project' and 'Please select board' which gives C/Users/Downloads/(extracted and renamed) Marlin-bugfix-2.0VS as per your demo. I wonder if the 'mbed' word in the board's title is relevant.
I have tried watching your video in small pieces to slow things down a little and I still have no clue as to what's missing...
I've been at this for many days now but I' keep on plugging away until the light goes on! :-}
I would just skip the import. Just add your Marlin folder as a project folder and then select your environment in platform IO when you compile.
@@ChrisRiley Thanks Chris. Sorry to be such a dull pain. I'll try your suggestion and see what happens.
Chris are you still doing the grab a new copy, or have you started using GitHub Desktop? With as many printers as you have, I would think Desktop would make it easier to keep things up to date, and, sorted. Am I missing something?
I personally use github desktop on my PC, but I haven't shown it on a video yet. I guess I should, it might be helpful to others.
@@ChrisRiley It would sure help me, and, hopefully others, so, I hope you do a vid. Thanks..
Hi Chris, I am struggling to load the BLTouch software onto my SKR-Mini E3 v 1.2. I don't know which board to choose from Platformio. I also went to github and see that they have one that matches but it doesn't mention the BLTouch?
Hey Staci. you need this one. BOARD_BTT_SKR_MINI_E3_V1_2
Iguess you're right. I just spent the last 5 hours trying to get the bugfix compiled for the SKR Mini E3 V2.0 so it would read the TFT35. Not even the 2.05 build works. SO PLEASE! When it becomes possible to build a version for this board (even though the board is now listed in Bugfix 2.0) Let me know, Send up flares! Plug and Play the TFT35 ISN'T.. I keep getting "old configuration files error" and Display errors.. ARRGGGGHHHHH!
Hey Jim, I have recently complied and used my touch screen. It should work as is right now, what errors are you getting?
@@ChrisRiley Well Chris, here's one for your followers who are finding it to be an exercise in frustration. I kept getting board errors in VS Studio (not recognizing the Ver2.0 SKR Mini board), but after a great deal of hours of seeing those yellow and red errors at the bottom of the compile screen, I flipped the connector (the 4 pin black connector and the separate reset) over and like magic, the board connected. So once again. I made the mistake of blaming the hardware when the "Software" inside my head was the problem. Honestly, It looked correct, but it was about 4 in the morning and I was at wit's end.. "Could I have it plugged in wrong?...Nahhh…" The arrogance of ignorance... Thank you for your quick replies and your concise instruction. All in all, should take about 30 minutes for the board install and TFT35 screen... BTW, it's a BEAUTIFUL system.. I ordered the WIFI module, but I'm thinking perhaps OCTOPRINT would be the smarter route to take....
@@JHV166 Glad you got it working! Octoprint is probably the way to go for now.
Hey Chris! I am having some issues understanding how to get my BLtouch to work on my ender 3. Current set up is Ender 3, SKR mini E3, TFT35. I downloaded a bin file to make it work on this set up and it seems to work fine. Problem is the nozzle is way too high. I understand that I need to adjust the z off-set but can not figure out how to do that. I have watched all of your videos on this but am at a loss on how to edit the bin file to make it work. Any help at all would be appreciated.
You would need to recompile the source to make that edit. You can't adjust the bin file. If I were you I would just change the Z offset with a terminal command. You can do it from your LCS as well. Use command M851 Z-1.00 for 1mm of offset. Use Pronterface to connect up to is USB. www.pronterface.com/
Chris Riley thanks man! Much appreciated
I tried importing the downloaded marlin file and opening it with mega2560 and it tells me it's not an Arduino file. It's extracted from zip.
I figured it out. I didn't download the correct file from github
Awesome, glad you found it!
Hi Chris, great video. Thanks. For a CR10S, in marlin bugfix2.0.x the board is "BOARD_RAMPS_CREALITY", but in VS there are no RAMPS and no Creality. Use the standard Mega2560 is ok?
Thanks
Yes, anything like RAMPS you will use the 2560.
? so vscode is a up date from ..Arduino so i use vscode for my ramps 1.4 flashing..
Yes, you can use it on all the boards.
great content subscribed... total noob but how do you type what you want into the firmware in vs code . i have only figured out how to paste so i type what i want on notepad and copy and past but i have to think there is a simple way
Thanks for the Sub, that's strange, I am not sure why it won't let you type.
so I'm completely lost still lol I have a btt skr mini e3 v1.2 board (came in second hand printer) it has a marlin menu and btt menu. I downloaded marlin tried to copy in the board from the list it says its not compatible. trying to add a filament sensor with pause feature
Yeah, there is a lot to it, you have to load it and compile the code. This could help as well. I go over a newer way to setup VScode. ruclips.net/video/JWUcnkjeNU8/видео.html
@ChrisRiley Thanks for the irrelevant information
@@timjohnson6864 I was actually trying to help you, but okay, that’s fine too. Good luck.
@ChrisRiley your assuming i havent already. scoured youtube on the subject and continue to link to videos that are 2 years old on the subject and idk about you but id rather not have something that is intended to be used on every print placed under a submenu
Hello I am new to VS code, do you have any video on how to add bl touch and a filament switch to btt skr mini V 1.2
This should get you going on the BLtouch ruclips.net/video/p504oU-D6iE/видео.html
Much clearer than other "tutorials" Thanks! I can't seem to find the proper motherboard for my SKR Mini E3 V2.0 though. Any advice ? I don't see that board listed in the Marlin firmware.
Thanks! It's not out there yet, but they are working on it.
@@ChrisRiley Thanks! Glad it wasn't Me! LOL . Your work is GREAT.. Subscribed and now spending my "Quarantine" watching all the back episodes!
@@JHV166 Awesome! Thanks for the sub!
Hi chris riley, i always get prelaunchtask undefined.What is the problem?
Try reinstalling platformio and see if that fixes it.
@@ChrisRiley thanks Chris. It's works. I love your video. Very informative. Thanks again for the help.
Thanks for the quick reply. Is there any way I can see what is inside a bin file?
I'm afraid not, it's compiled so it's all 0's and 1's.
Thank U Man, love your videos!
Thanks for watching
hopefully you are still answering questions here. i tried following this guid, but when i was trying to find my board, it wasnt listed. i have the skr mini e3 v1.2.
Should be in boards.h as explained at 4:44
#define BOARD_BTT_SKR_MINI_E3_V1_2 4014 // BigTreeTech SKR Mini E3 V1.2 (STM32F103RC)
Thanks @atvking535 for the assist!
@@atvking535 I will try again when I get home. I must have been looking in the wrong place. Thanks
Well Done and useful too!
Thanks John!
HELP I have followed your video and compiled my software "finally" but it will not work correctly. I am having major problems. Do you know of anyone that will do the custom compile for me I think I have all the items need, I just hate software. please let me know as soon as you can.
I can compile it for you. brotherchris81@gmail.com
I have an BTT SKR MINI V1.2 E3 i cannot get this thing to update on VScode or Atom I'm always receiving errors and no board that is in boards are recognizable for anything this board i had in my Ender 3Pro and had the firmware.bin file placed on the sd card but now my heat bed keeps going up in temp gets very hot past 125c and there's no control to lower the temp. Any ideas on what i can do to get it going good again and update the firmware for the BTT SKR MINI V1.2 E3?
Hmmmm...could be an issue with the processor you are selecting. That board has an SMT32 I think.
@@ChrisRiley i trashed the board from frustration i broke it in half. I now have an SKR 1.4 Turbo and am having same issues No Tasks Found what am i doing wrong?
@@truthorsquareallah5899 Do the turbo board uses a LPC1769, so you will have to use that environment to compile with.
Great vids! vs code cannot find my sd card. How do you chosse where the upload goes in vs code? Any help would be greatly appreciated!
What board do you have? You might just need to move the firmware.bin over to the SD card by hand and go from there. The first flash might fix it.
this solved issue I was having thank you, i have one question. gow do u switch default config h and adv file to one of example config files for vs code.
I should have showed that, I do it out in the file explorer before I add it to VSCODE. The examples are out in the config/examples folder out in the top level.
Just copy them over from the example folder to to root (Marlin) folder and be sure to select replace.
ok
awesome video. Now please TMC2208 drivers and ABL Sensors
Thanks! I have videos out there for both of those!
No problem with VSCode,?
I haven't had any issues with it.
hi chris do you have a fw for a cr10 with a dd i want to put BIGTREETECH SKR V1.4 Turbo 32bit Control Board in but im stuck on fw where to start any help would be great
There is an example you can start with out there. github.com/MarlinFirmware/Marlin/tree/2.0.x/config
Chris, Thanks for all your videos, they have really helped. I have been using VSCode for a while and all worked fine. Now I am getting an error consistently even with a clean Marlin build. When I hit Build I get an error right after "Compiling .pio\build\mega2560\src\srd\HAL\AVR\fast_pwm.ccp.o avr-g++: fatal error: no input files. The system cannot find the path specified. Tried it with a LPC1769 also still same error. I go into the directory and find the file fast_pwm.ccp. But no "ccp.o"
Kind of driving me crazy. Uninstalled and reinstalled VS Code. Tried with old versions that worked previously and brand new untouched marlin 2.0, but nothing goes beyond this error. I think it is trying to find a library or something. Very surprised that after reinstall vs code and new Marlin I still get the same error.
Any thoughts??
Thanks for your help
That's usually a framework problem. Did you run a "clean" in the build menu? Try deleting your Arduino folder in your documents. arduino.stackexchange.com/questions/54644/how-do-i-reset-my-libraries-back-to-original-condition
@@ChrisRiley Thanks for the quick reply. Deleted arduino app data and documents. Uninstalled vs code. uninstalled arduino, Reinstalled vs code. Went to project tasks, hit clean all.
Same error??
@@mattarcher7390 That's all I know, make sure you have the folder that has the Marlin folder in it added to the project, it needs to be the one above Marlin, but that's all I know.
hey Chris! Happy New Yr. I'm trying to pick my board from the menu, but the issue is I'm not sure what board i have. I have the Mingda 4D Pro and i also have the source code as well. also under marlin config, mingda isn't there. Any kind of help would be great. Thanks Chris
Happy new year! Mingda isn't support from base marlin yet. Mingda will have to get you the source, then you can just use the build environment of the chip they use on that board. You'll have to get the numbers off of it.
@@ChrisRiley thank you Sir! This is what I thought, they gave me source code and the chip info, which is on my motherboard. I guess if I was thinking I would of just looked myself. Thanks for everything and PLEASE keep making videos. Your Great. Cheers from Canada NS
I got another question. When build freshly unzip marlin 2.0 the env for 1768 "skr1.3" it shows successful. ones I make one change to configuration h or advance it shows fail. is this something I'm missing, in vscode.
It should work, what change did you make? What's the error?
@@ChrisRiley the chanes were, what board type, or size of heat bed ,stepper motor, tried these one at time on build I get fail on 1768 build environment instead of saying successful build enviroment. successful with fresh file any small changes its unsuccessful. I'll take a picture of failure. it maybe that I'm new to 32 bit in vs code or atom