I have never seen anyone make something so simple as complicated as this, you go so fast that I have had to skip back about 30 times and I haven't even downloaded Marlin yet.
Just some additional info: A third issue you might run into uploading new firmware is if your printer uses the MKS TFT family of display screens (ie: JGAurora A5 & A3S). These 'intelligent' controller screens constantly communicate with the mainboard and have been shown to interfere and even corrupt the upload of firmware. So its recommended that you disconnect the MKS TFT board from the mainboard before uploading new firmware. Also, if you are uploaded a different version of the firmware (not just newer), you MUST reset EEPROM to factory defaults or it Will Indeed be all wrong and very strange things will occur when printing (homing the wrong direction, over-temperature faults, wrong acceleration/movement settings, etc) Thanks for the great video!
I assume this isn't necessary when you actually flash bootloader (it deletes the board content, no?), and then you flash firmware to it? Otherwise, I'm not clear how to reset EEPROM. Everything seems to work like a charm after flashing bootloader followed by TH3D (even though some options are missing, like stuff from the Motion submenu of Control menu). xD
Important before uploading the firmware: Disconnect all other serial connections to the printer. Close Simplify3d or Pronterface and disonnect the TFT32 (in case you have one). If either of these are connected to the board when uploading the firmware you will get a generic error message. That took me wayyy too long to find out.
While i agree that it is frustrating, you should watch the video to its end and know the plan, BEFORE trying to follow along. There are also other videos on youtube on how to flash Ender 3 Bootloader. Sup you don't HAVE to wait for Tom's2nd half. I do like how informative he made this first half.
Yes, Teaching Tech is who I used to flash my bootloader. I just wish he used official Marlin Software instead of TH3D. I'm trying to install a BLTouch and he used TH3D and the new software doesn't really work with BLTouch. It's almost like they purposefully sabotaged BLTouch users in the new version. So I'm stuck now with a BLTouch that probes, but doesn't actually do any leveling.
Superb info as always. Looking forward to your 'from scratch' video, it may show me something I missed as I just finished upgrading my CR-10 S4 from scratch to Marlin 1.1.9. Loads of new features and fixes.
Appreciate the video! I had just bought the 1.1.5 silent board for my Ender 3 Pro and accidentally bought one with the Ender 5 firmware. Your video was the easiest to understand and simplest solution for me since the board already had a bootloader. I just downloaded the source code from Creality, followed the tutorial and was immediately able to start printing. Thank you!
Hello Thomas I have the following error, for compiling it was ok however I cant upload it onto the board, any idea? Sketch uses 122088 bytes (93%) of program storage space. Maximum is 130048 bytes. Global variables use 4629 bytes (28%) of dynamic memory, leaving 11755 bytes for local variables. Maximum is 16384 bytes. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x53 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x44 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e An error occurred while uploading the sketch
@@alexandrevaliquette1941 "M" codes are commands you type in, eg, Repetier that give direct instructions to your Marlin board. By typing one of the many M-codes plus a number you can change the behaviour of your printer, or, in this case, backup the contents of the Eprom.. Just search for M codes on Google
Alexandre, it's not you. These people are used to messing around with commands being sent directly to the printers and not using user interfaces and software to do this for them. As I said before there needs to be a step-by-step explanation of the process first (ie what they plan on doing and why) followed by the method of updating (ie the execution of the plan). The programming etc is relatively simple but if you don't know what you are doing it is not obvious.
As I was trying to upload the firmware to my Ender 3, I was given the error "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e An error occurred while uploading the sketch " Does anyone know how to fix this?
Thomas, great job. After downloading the files and updating the boards manager, using the correct processor and adding the custom library it compiled on first try.
Very thankful for the video, I can't help but mention though -it would have been nice to mention _at the beginning_ that even though you are demonstrating on the Ender 3, you can't actually complete the process on that printer using this video alone. -as I sit here with a USB sticking out of my laptop...
Yeah, I realized the Ender-3 wouldn't work way too late into making this video. Sorry 'bout that, I'll try to follow up with the hardware flashing instructions asap!
It was getting my usbasp to work in windows 10 at my workshop (it works at home after a lot of swearing and then is very good). The one I have has all sorts of driver signing problems and you have to boot into a special mode and it's a pain. I ended up using an arduino uno and use the arduinoisp sketch and this did work. One thing you need to know is after loading the bootloader the ender 3 the display can be blank so don't worry if you think you broke it. After the bootloader was loaded I could just plugin to the usb on the printer and the th3d firmware was super easy to compile with if you download the complete package.
Great video. But have a problem with my printer . It's a sainsmart 300 . Out of nowhere something when wrong . It's like the print head is lost . What ever I print it starts ok for the first 2 or 3 lines then it goes sync and wondering all over the print plate . I dont know if it's the firmware or a hardware problem all the step motor are good . . Can you help . Can I send you a video of what it's doing.
Hi Tom, Kudos for a great tut. It makes my day seeing how open source and community based projects' work, reaches the level of world class commercial setups (there effectiveness, efficiency and reliability are second to none) Marlin and Arduino are 2 great software and hardware examples (I know there are many others out there); great times.
You said it will apply to any future 1.1.x version. But the developers have stated there won't be any more of those 🤔🤔🤔🤔. Regardless I can personally attest to 2.0.x being the exact same process.
Nice video! Especially like the part about showing how to install the Sanguino option to the Boards Manager and the u8glib. I had just used the TH3D unified software to run Arduino and then pointed that to the Marlin 1.1.x folder to get around it before seeing this video. The TH3D is a good option for those wanting a simpler option, but I like to know what each setting does (or at least the main ones). Looking forward to your video where you go through all the options in Marlin.
you said you were going to explain the issue with Ender 3 and other required hardware then have us sit through the video but at the very end you say oh wait no it's going to be in another video. I do enjoy your content but this bait-and-switch is frustrating.
If you follow one of the video tutorials on how to install a bootloader on a Melzi/Sanguino board (such as the CR-10 v1.0), then you can go ahead with the firmware flash described here.
@@ScottLahteine I know that and I have done it rather I use the Raspberry Pi method and needed to go buy a secondary board I have no use for. It's just misleading I don't know why he added it that way just say it's going to be a two-part video at the beginning.
Because this is enough for most printers. It's just the Tronxy\Creality machines mostly that sometimes dont bother including bootloader. It's pretty easy though.
I do agree, this video should have been put out after the Arduino one mentioned at the end. Especially with the machine, you are demonstrating on needing the bootloader flashing before this upgrade is done
I agree that he is over-simplifying the process. I have just updated my Ender 3 and I had to use an Arduino as an AVRISP_MKII and use it as an Arduino as ISP to program the boot-loader first. Then you can go and compile/flash the Marlin firmware and do the 1284P Sanguino stuff. Again this is not explained that well either. Having used a lot of AVR's and SAM devices in the past I know the process but the Arduino tools are new to me. There really needs to be a newer explanation of the process and then the method. I bought an Arduino Uno as I was under the impression I needed it whereas I could have probably used my AVR JTAGICE-II.
Thank you for instructions! I did the upgrade for my Creality Ender-4. There are some differences comparing to Ender-3: the processor is ATmega2650 and its support is included to Arduino AVR Boards by default, so no need to set up Sanguino board and steps associated with setting up the board may be skipped (I set it up first and then just removed:-) Also, I made some more configuration 'cause I have extra gears attached to the printer: auto-leveling and filament sensor. So, went through the config files and un-commented lines to activate corresponding features. Configs are well commented and it is easy to find proper lines responsible for certain features...
5 years in with my Ender 3, nothing substantial other than basic upgrades that are must have from the get go, there is little to no point in upgrading the firmware, but 80% chance that one might brick their only 3d printer and leave a sour experience. Mine is still having no thermal runaway protection and there's no mention of it here, like the tutorial or someone could've made it simpler to test exactly that, and do a first update project where that project is the first to go and make it so they're not burning their house down accidentally. I am happy with what it could do, it hold bed level for years, accurate to
Please some help I do everything as on video and get error Creality ender 3 Board :1.1.4 I tested on 2 different computers 2 different versions of Arduino, 1.8.5 and 1.8.9 Sketch uses 126004 bytes (96%) of program storage space. Maximum is 130048 bytes. Global variables use 6279 bytes (38%) of dynamic memory, leaving 10105 bytes for local variables. Maximum is 16384 bytes. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a An error occurred while uploading the sketch avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
How do you convert an old configuration to the new Marlin 2.0 when there is no manufacturers version available. I only can get hold of Marlin 1.0.4 for my Geetech and i'm havin g problems, I would like to upgrade to either 1.1.9 or 2.0. but don;y know how Thanks
Hey Thomas, I got a new motherboard for my Ender 3 and now I was updating the firmware but in the end when I was uploading it says that an error occurred while uploading the sketch
I "know" Arduino and thought I understand the steps you took. I suspect most people who are not programmers won't. I'll be honest. I don't know how you could make it any easier as you did do a great job explaining it. But the word "easy" is a bit of a stretch. ☺
Thanks for the step by step. Worked great. I could not have done it with your instructions keep up the good work. Needed to upgrade the firmware to eliminate the extruder stopping with the quiet main board when using Simplify 3D
Hello Tom, I would like to upgrade Marlin for my printers but ... for my old Hypercube I have a Printrboard which I can flash only with an old version of Arduino IDE, with some customized bootloader, probably the new .ino file for Marlin 1.1.9 will not compile on older Arduino IDE ? Also my new Hypercube has a RAMPS1.4, for this probably Marlin 1.1.9 will work, but still I am afraid I will crash them both ... so actually for the Ender you need a programmer ? Fail video ...
Hey Thomas, great video as usual. I own a Creality CP-01 and was curious ho to update to Marlin 2.0? There is no files inside Marlin for CP-01. Please help
Sketch uses 97374 bytes (74%) of program storage space. Maximum is 130048 bytes. Global variables use 6193 bytes (37%) of dynamic memory, leaving 10191 bytes for local variables. Maximum is 16384 bytes.
It wasn't really easy, but you walked me through most of the hard stuff. I still had two errors (very similar) where they put something in comments AFTER the command and apparently my board wanted the comments BEFORE the command on a separate line. Fixed both of those errors and everything else went smooth as butter.
hi Tom, thanks for the video! I followed these instructions but when i get to the point where i want to burn my bootloader (with the USBTinyISP) I get the error below, can you help? avrdude: verification error, first mismatch at byte 0x1fc00 0xff != 0x1f avrdude: verification error; content mismatch Error while burning bootloader. thanks, Mike
Same here. We need to enable the Thermal Runaway protection too. Tom did a video showing CR-10's come without this enabled on the firmware, so I know I've needed to do this for too long.
Don't have a problem myself, but some printers have separate enable jumper for firmware programming (safety feature, so that you can prevent ANYONE from flashing your printer). Just another thing to check, if your firmware flashing attempts are failing. At least my Megatronics 2.0 has one.
As others have said, the work you put into this is greatly appreciated, but for those of us who aren't technically-minded, it's like falling down a very deep rabbit hole with pointy bits along the way. But that's a heck of a shirt, Tom.
Thanks very much Tom! How can we update the firmware if we do not have any support or file from the manufacturer? How do we only have the firmware loaded on the Mega board and no other data? How do we adjust the values for the different types of extruders, rods of the Z axis, etc? Thanks for your kind support.
@@MadeWithLayers A PC? Like Apple says if you fix something in your computer by a non official service? Hehehehehehe... I won't remove mine until I print a proper cover, not that I will ever enter Facebook to get support or anything... Ever.
WTF does a sticker have to do with firmware in the first place, please provide some slid evidence that removing the sticker changes something in the firmware
Ive been trying to update the firmware on my Anycubic Chiron, but it doesn't seem like any software on my laptop can acknowledge that the printer is connected via USB. Cura does not see it, nor does the Arduino software (which I'm new too).
Great Video, Tom. Super easy to follow. The following is an error message I received in Arduino. Marlin-2.0.x\Marlin\src\HAL\AVR\u8g_com_HAL_AVR_sw_spi.cpp:65:10: fatal error: U8glib-HAL.h: No such file or directory #include Not sure where to find this in the latest Marlin Website layout. If you could assist would be great. Thank you.
Wow this is much easier now. My BLTouch came with a usb with a ribbon cable and adapter to update the ender 3 firmware. I’ve flashed mine several times when I was figuring out the BLTouch.
a couple things that I found need to be changed in config.h are the minimum y set to -8 and set the bed to 232 mm. now you will print more in line with the center of the bed and take advantage of the larger build surface
Hi! Thanks for the video: I have the following error: Arduino: 1.8.11 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)" Sketch uses 130488 bytes (51%) of program storage space. Maximum is 253952 bytes. Global variables use 5333 bytes (65%) of dynamic memory, leaving 2859 bytes for local variables. Maximum is 8192 bytes. avrdude: ser_open(): can't open device "\\.\COM6": Das System kann die angegebene Datei nicht finden. avrdude: ser_drain(): read error: Das Handle ist ung�ltig. avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: Das Handle ist ung�ltig. avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer does not exist or your board is not connected This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. What to do??
Great video explaining how to, but I am having trouble with configuration.h file. I did not find another video that you may have done pertaining to this exercise (you mentioned you would). But I am hoping you can help. I keep getting "Multiple libraries were found for "U8glib.h"" Do you have a video for this?
Great video and very informative. Thanks for this. I have a CR20 Pro and when I hit "About the Printer", I get ver. 1.1.6BL_ver3.1. All I find on Internet never mention the CR20 Pro... Is the procedure the same as the one you describe here?
hey Tom! i'm getting an error when tying to do the sketch on my marlin 1.1.6 board! I have it all setup right for my Tronxy X5s and then I get this msg....Sketch uses 120576 bytes (92%) of program storage space. Maximum is 130048 bytes. Global variables use 4544 bytes (27%) of dynamic memory, leaving 11840 bytes for local variables. Maximum is 16384 bytes. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4c avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x44 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6f An error occurred while uploading the sketch how do I fix this? sorry very new
Ok... I searched your videos hoping you had posted something on my current problem. Either I missed it or you haven't experienced it. So I'm going to ask here. I just updated to Marlin @t. Before this, I used the factory settings for about a week and marlin 1.9 for a couple days. I didn't have this issue until 2.0.4. Every time I print the calibration squares (I have been using the mesh bed level feature) but now, when gantry returns home after print, I get "thermal runaway bed printer halted: reset machine" But only after the print every time. I used an IR probe to measure temps and the bed never goes above my setting. So i'm worried something is programmed wrong in Marlin, but I never changed any thermal settings. please help.
What about printers with a touch screen lcd? Are those not open source? Example would be the Snapmaker printer that says they will be open source eventually but would the firmware update not work great with the fancy touch screen?
Hi butty.Can I follow this step without having to buy arduino etc. Just use my usb to my pc. I have a board that shows 1.1.3 on the board. Appreciate a reply.
Thx Thomas! What if your company pushed a version of Marlin with closed source necessary modifications (I know they *should not*) wouldn't this just brick the printer?
Using Arduino 2, at 8:00 stop and start Arduino again to see board in Boards manager. And at 8:24 I get error Compilation error: Error resolving FQBN: missing platform release arduino:avr referenced by board Sanguino:avr:sanguino} And then at 8:26 I do not have the selection for the processor. Is this because the Arduino 2 and the Sanguino firmware are incompatible?
Dear Sir I have a Zonestar Z8XR2 with Repetier firmware V1.2 as mentioned in the attached picture. My request is to change the firmware from Repetier flavor Gcode to Marlin flavor Gcode. Can this be done ? If yes, Please I need from you to guide me and to tell where should I start.
SO, as of Sep 18, 2018, the config files on GitHub for the Ender 3 are requiring the board to be set to an Arduino Mega, not a Sanguino board. Is that an error? I know Creality has a 1.1.4 board out now ... does it refer to this? Just asking because the onboard MOFSET for the bed heater went out on mine. I've got a 1.1.3 board from Comgrow coming in tomorrow and figured flashing to Marlin before installing the new board may be the way to go. I've never gone through the process before and figured I'd ask some questions FIRST. I plan on getting the "silent 1.1.4" board from Creality, but the lead time is much more than a direct replacement board and I really hate running with the bed heater disconnected - even with PLA.
I tried to verify my build on the Anet A6 but it failed because it's 40 bytes too big with the BL Touch sensor enabled. Had to enable Linear auto bed leveling to reduce the size. Thanks!
Hello teacher my marilyn does not show menus from the lcd if the lcd row is active only the blue light on the screen if it is active in the row loaded at u8glip
Using USBASP to upgrade the marlin 2.0, I am getting following error during compiling U8Glib version: 1.17 Marlin 2.0.x Ender 3 Arduino: 1.8.13 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)" sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_wchar_max(uint32_t, pixel_len_t)': sketch\src\lcd\dogm\lcdprint_u8g.cpp:36:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'? u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(), ^~~~~~~~~~~ setPrintPos sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:23: error: 'ret' was not declared in this scope u8g.setPrintPos(x + ret, y); ^~~ sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:23: note: suggested alternative: 'reti' u8g.setPrintPos(x + ret, y); ^~~ reti sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:28: error: 'y' was not declared in this scope u8g.setPrintPos(x + ret, y); ^ sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max(const char*, pixel_len_t)': sketch\src\lcd\dogm\lcdprint_u8g.cpp:43:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'? u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(), ^~~~~~~~~~~ setPrintPos sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:23: error: 'ret' was not declared in this scope u8g.setPrintPos(x + ret, y); ^~~ sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:23: note: suggested alternative: 'reti' u8g.setPrintPos(x + ret, y); ^~~ reti sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:28: error: 'y' was not declared in this scope u8g.setPrintPos(x + ret, y); ^ sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max_P(const char*, pixel_len_t)': sketch\src\lcd\dogm\lcdprint_u8g.cpp:50:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'? u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(), ^~~~~~~~~~~ setPrintPos sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:23: error: 'ret' was not declared in this scope u8g.setPrintPos(x + ret, y); ^~~ sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:23: note: suggested alternative: 'reti' u8g.setPrintPos(x + ret, y); ^~~ reti sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:28: error: 'y' was not declared in this scope u8g.setPrintPos(x + ret, y); ^ exit status 1 Error compiling for board Sanguino. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
I got this ,so I guess the manufacturer put a cheap processor in,Sketch uses 122452 bytes (94%) of program storage space. Maximum is 130048 bytes. Global variables use 4621 bytes (28%) of dynamic memory, leaving 11763 bytes for local variables. Maximum is 16384 bytes. What do I do to fix this
A nice tutorial but nothing about what to do when something does wrong. I've been trying all day using VS code and autobuild marlin to compile a build provided by the manufacturer through github. I've worked through most errors but not being a coder I am close to lost here and just firing blindly. I currently have 52 errors all stating "function call is not allowed in a constant expression" followed by various C/C++(59) [Ln 170, Col 5} (or similar lines/columns). If I go to line 170 column 5 I have the line #if ENABLED(MK2_MULTIPLEXER) and the word ENABLED is underlined with red squiggles...so what's the function call and what's the constant expression? lol What is wrong and what needs to be done to fix it? It wouldn't be so bad if the error messages actually pointed to something but all I'm getting is "naw...ain't working bud". 😁
I have a weird problem. My Ender 3 + Bltouch seems to be higher in the center of the bed. So after it centers itself, I set Z to zero (with z offset) , disable the steppers just to make sure each corner is leveled properly. After leveling each one with a piece of paper, and setting it back to auto home. The adjustments I just made are back to where they were as incorrect. Any suggestions??
Hello Thomas I am trying to update the firmware on my board v1.1.2 from creality cr 10 following the steps in your video but when I click on check I get an error "Error resolving FQBN: missing. Error compiling for card sanguinow / ATmega1284 or ATmega1284P (16MHz The card currently selected needs the Arduino core: Arduino that is not installed. " How can I solve? Can you help me please? And one more question can I buy a v1.1.5 card and install it on creality cr10? because i see some sites that recommend it for ender 3 / 3pro or ender 5 but there are also sites that claim to be compatible with cr 10. Thanks
had to replace the board on my tronxy x3s due to the sd card holder came loose from the board followed your video on how to install the firmware but all i get is this error message Arduino: 1.8.5 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)" Sketch uses 123098 bytes (94%) of program storage space. Maximum is 130048 bytes. Global variables use 4147 bytes (25%) of dynamic memory, leaving 12237 bytes for local variables. Maximum is 16384 bytes. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4c avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x44 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6f An error occurred while uploading the sketch i have tried a different cable and on the old board and new board same error , reloaded the drivers for the board in device manager USB-SERIAL CH340(COM5) and set the rate at 115200 AND HAVE TRIED Different USB SLOTS AS WELL any ideals
Hey I have wanhao I3 robo 3D and the king original prusa I3 mark 3. What should I do to make my wanhao and robo 3D can produce the same result like original prusa. Shold I change the board and firm ware?. What bord and which firm ware should I use. Please let me know.
Help Please. my printer doesnt have an example config. would it be wise to just copy my old config files over OR is it better to take a similar example config and just change the values?
what if you don't know what kind of printer board you have? I have a cheap printer from China that has next to no information at all. The board comes preinstalled with repetier 2.0
Your videos are awesome. Much appreciated. I am trying to update my CR-10S. I have watched several video’s for this. I have worked through all the issues, clean compile, and I am getting what looks like comms timing out. The link between my laptop and printer is timing out. Could you help? I want to ensure my temp safety features are activated properly. Much appreciated.
What version of marlin is this and what version of Arduino? I get error cant compile all you show on your side is nothing like my side i don't see the Jason link that your referring too .
Thomas, how about a review of Marlin 2.0? I know it is still late beta, but a review of the features and the 32-bit boards that it will run on would be very useful.
hey im not sure if you're still gonna see this but when i open the Marlin app from the folder its saying C:\guest\OneDrive\Desktop\Marlin\Marlin-2.0.x\Marlin\src\HAL\AVR\u8g_com_HAL_AVR_sw_spi.cpp:65:10: fatal error: U8glib-HAL.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Uno. Help pls
I flashed 1.1.9 last week on my older RepRap with a mega / ramps combo. Never had any problems with the older versions and my endstops but when I flashed 1.1.9 I couldn't get it to G28 without running the command like 3 times. Eventually had to turn on the ENDSTOP_NOISE_FILTER in config. I have some .1uf ceramic caps on the way to attach to the endstops so hopefully I can turn that feature off again.
Marlin 1.1.9 out of the box is less tolerant of noisy endstop signals. ENDSTOP_NOISE_FILTER is the workaround, but adding a capacitor and/or resistor is the correct solution.
Thank you Thomas, you got me the furthest I have ever gotten to succeeding, except these errors popped up! Is there somewhere I could send you my error messages..... not quite sure what they are referring to. All I did was take my ender 3 example, placed the right motherboard upgrade, and changed the max temp settings cause I have all metal hotend. and crazy errors pop up.
Great video! I have seen that other "3d printing gurus" have installed the TH3D firmware instead, the installation procedure seems more or less the same, so what is the difference?
I hope you will publish the video for the bootloader soon as I ran into a problem which I assume was a bootloader problem (my printer is a Geeetech clone by CPC): since I tried to update the 2 display lines are blank and I can't print anymore.
I ran into a blank screen on my Ender 3 trying to install the bootloader, I must of corrupted the firmware. Forgot I had a proper AVRISP MK II to fix it.
I have never seen anyone make something so simple as complicated as this, you go so fast that I have had to skip back about 30 times and I haven't even downloaded Marlin yet.
Was about to comment this
Just some additional info:
A third issue you might run into uploading new firmware is if your printer uses the MKS TFT family of display screens (ie: JGAurora A5 & A3S). These 'intelligent' controller screens constantly communicate with the mainboard and have been shown to interfere and even corrupt the upload of firmware. So its recommended that you disconnect the MKS TFT board from the mainboard before uploading new firmware.
Also, if you are uploaded a different version of the firmware (not just newer), you MUST reset EEPROM to factory defaults or it Will Indeed be all wrong and very strange things will occur when printing (homing the wrong direction, over-temperature faults, wrong acceleration/movement settings, etc)
Thanks for the great video!
I assume this isn't necessary when you actually flash bootloader (it deletes the board content, no?), and then you flash firmware to it? Otherwise, I'm not clear how to reset EEPROM. Everything seems to work like a charm after flashing bootloader followed by TH3D (even though some options are missing, like stuff from the Motion submenu of Control menu). xD
Thank you so much for your help
Thanks for making this Thomas, looking forward to the part where you show us Configuration options separately!
Important before uploading the firmware: Disconnect all other serial connections to the printer. Close Simplify3d or Pronterface and disonnect the TFT32 (in case you have one). If either of these are connected to the board when uploading the firmware you will get a generic error message. That took me wayyy too long to find out.
Thank you. I’ve been pulling my hair out trying fix my CR10S (TFT32 version)
ARRGGG Was following along with my new Ender3 and then at the end "it'll be in another video" and I can't finish. THANKS.
NOT COOL!
While i agree that it is frustrating, you should watch the video to its end and know the plan, BEFORE trying to follow along.
There are also other videos on youtube on how to flash Ender 3 Bootloader. Sup you don't HAVE to wait for Tom's2nd half.
I do like how informative he made this first half.
Agreed. I've watched TeachingTech's tutorial but this one was easier to follow... until that sudden stop, lol.
Yes, Teaching Tech is who I used to flash my bootloader. I just wish he used official Marlin Software instead of TH3D. I'm trying to install a BLTouch and he used TH3D and the new software doesn't really work with BLTouch. It's almost like they purposefully sabotaged BLTouch users in the new version. So I'm stuck now with a BLTouch that probes, but doesn't actually do any leveling.
@@bkpickell Since you already have a bootloader flashed should be pretty easy to goto stock marlin
@@HavokHouse yeah I've been on stock marlin about a month now and it works great.
Superb info as always. Looking forward to your 'from scratch' video, it may show me something I missed as I just finished upgrading my CR-10 S4 from scratch to Marlin 1.1.9. Loads of new features and fixes.
Appreciate the video! I had just bought the 1.1.5 silent board for my Ender 3 Pro and accidentally bought one with the Ender 5 firmware. Your video was the easiest to understand and simplest solution for me since the board already had a bootloader. I just downloaded the source code from Creality, followed the tutorial and was immediately able to start printing. Thank you!
Hello Thomas I have the following error, for compiling it was ok however I cant upload it onto the board, any idea?
Sketch uses 122088 bytes (93%) of program storage space. Maximum is 130048 bytes.
Global variables use 4629 bytes (28%) of dynamic memory, leaving 11755 bytes for local variables. Maximum is 16384 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
An error occurred while uploading the sketch
I got the same issue.. Did you get a resolution?
You did forget the M503 before uploading your firmware to get a copy of your old EEPROM settings if you fiddled with any.
It's a good idea. And `M503 S0` will print out only the G-code needed to restore the EEPROM without the inter-line headings.
Great info from you two. Tom really needs add this to his video.
I don't understand what should I do? You are too technical, sorry to be that dumb!
@@alexandrevaliquette1941 "M" codes are commands you type in, eg, Repetier that give direct instructions to your Marlin board. By typing one of the many M-codes plus a number you can change the behaviour of your printer, or, in this case, backup the contents of the Eprom.. Just search for M codes on Google
Alexandre, it's not you. These people are used to messing around with commands being sent directly to the printers and not using user interfaces and software to do this for them. As I said before there needs to be a step-by-step explanation of the process first (ie what they plan on doing and why) followed by the method of updating (ie the execution of the plan). The programming etc is relatively simple but if you don't know what you are doing it is not obvious.
when i try to do this i get an error that you didnt talk about
If it’s u8glib, then install it under Tools -> Manage Libraries -> Search u8glib. It’ll be the last one in the search
As I was trying to upload the firmware to my Ender 3, I was given the error
"avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
An error occurred while uploading the sketch
"
Does anyone know how to fix this?
Thomas, great job. After downloading the files and updating the boards manager, using the correct processor and adding the custom library it compiled on first try.
Very thankful for the video, I can't help but mention though -it would have been nice to mention _at the beginning_ that even though you are demonstrating on the Ender 3, you can't actually complete the process on that printer using this video alone.
-as I sit here with a USB sticking out of my laptop...
Yeah, I realized the Ender-3 wouldn't work way too late into making this video. Sorry 'bout that, I'll try to follow up with the hardware flashing instructions asap!
I just upgraded my ender 3 with the TH3D firmware and getting the bootloader working was the hardest part.
What kind of problems did you encounter?
It was getting my usbasp to work in windows 10 at my workshop (it works at home after a lot of swearing and then is very good). The one I have has all sorts of driver signing problems and you have to boot into a special mode and it's a pain. I ended up using an arduino uno and use the arduinoisp sketch and this did work. One thing you need to know is after loading the bootloader the ender 3 the display can be blank so don't worry if you think you broke it. After the bootloader was loaded I could just plugin to the usb on the printer and the th3d firmware was super easy to compile with if you download the complete package.
Thanks for the blank display tip, you saved me a heart attack :)
Thanks, very informative. But _"Easily"_ is a bit of a stretch.
Great video. But have a problem with my printer . It's a sainsmart 300 . Out of nowhere something when wrong . It's like the print head is lost . What ever I print it starts ok for the first 2 or 3 lines then it goes sync and wondering all over the print plate . I dont know if it's the firmware or a hardware problem all the step motor are good . . Can you help . Can I send you a video of what it's doing.
Hi Tom, Kudos for a great tut. It makes my day seeing how open source and community based projects' work, reaches the level of world class commercial setups (there effectiveness, efficiency and reliability are second to none) Marlin and Arduino are 2 great software and hardware examples (I know there are many others out there); great times.
_y
You said it will apply to any future 1.1.x version. But the developers have stated there won't be any more of those 🤔🤔🤔🤔. Regardless I can personally attest to 2.0.x being the exact same process.
Sorry for such a late reply, but are you saying Marlin 2.0.x is pretty much good to go to load up onto the printer?
Nice video! Especially like the part about showing how to install the Sanguino option to the Boards Manager and the u8glib. I had just used the TH3D unified software to run Arduino and then pointed that to the Marlin 1.1.x folder to get around it before seeing this video. The TH3D is a good option for those wanting a simpler option, but I like to know what each setting does (or at least the main ones). Looking forward to your video where you go through all the options in Marlin.
you said you were going to explain the issue with Ender 3 and other required hardware then have us sit through the video but at the very end you say oh wait no it's going to be in another video. I do enjoy your content but this bait-and-switch is frustrating.
If you follow one of the video tutorials on how to install a bootloader on a Melzi/Sanguino board (such as the CR-10 v1.0), then you can go ahead with the firmware flash described here.
@@ScottLahteine I know that and I have done it rather I use the Raspberry Pi method and needed to go buy a secondary board I have no use for. It's just misleading I don't know why he added it that way just say it's going to be a two-part video at the beginning.
Because this is enough for most printers. It's just the Tronxy\Creality machines mostly that sometimes dont bother including bootloader.
It's pretty easy though.
I do agree, this video should have been put out after the Arduino one mentioned at the end. Especially with the machine, you are demonstrating on needing the bootloader flashing before this upgrade is done
I agree that he is over-simplifying the process. I have just updated my Ender 3 and I had to use an Arduino as an AVRISP_MKII and use it as an Arduino as ISP to program the boot-loader first. Then you can go and compile/flash the Marlin firmware and do the 1284P Sanguino stuff. Again this is not explained that well either. Having used a lot of AVR's and SAM devices in the past I know the process but the Arduino tools are new to me. There really needs to be a newer explanation of the process and then the method. I bought an Arduino Uno as I was under the impression I needed it whereas I could have probably used my AVR JTAGICE-II.
Thank you for instructions! I did the upgrade for my Creality Ender-4. There are some differences comparing to Ender-3: the processor is ATmega2650 and its support is included to Arduino AVR Boards by default, so no need to set up Sanguino board and steps associated with setting up the board may be skipped (I set it up first and then just removed:-)
Also, I made some more configuration 'cause I have extra gears attached to the printer: auto-leveling and filament sensor. So, went through the config files and un-commented lines to activate corresponding features. Configs are well commented and it is easy to find proper lines responsible for certain features...
5 years in with my Ender 3, nothing substantial other than basic upgrades that are must have from the get go, there is little to no point in upgrading the firmware, but 80% chance that one might brick their only 3d printer and leave a sour experience. Mine is still having no thermal runaway protection and there's no mention of it here, like the tutorial or someone could've made it simpler to test exactly that, and do a first update project where that project is the first to go and make it so they're not burning their house down accidentally. I am happy with what it could do, it hold bed level for years, accurate to
Will you lose the Ender-3's ability to resume prints after a power outage by upgrading Marlin following these steps?
Please some help
I do everything as on video and get error
Creality ender 3
Board :1.1.4
I tested on 2 different computers
2 different versions of Arduino, 1.8.5 and 1.8.9
Sketch uses 126004 bytes (96%) of program storage space. Maximum is 130048 bytes.
Global variables use 6279 bytes (38%) of dynamic memory, leaving 10105 bytes for local variables. Maximum is 16384 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a
An error occurred while uploading the sketch
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e
How do you convert an old configuration to the new Marlin 2.0 when there is no manufacturers version available.
I only can get hold of Marlin 1.0.4 for my Geetech and i'm havin g problems, I would like to upgrade to either 1.1.9 or 2.0. but don;y know how
Thanks
there are no file to download for u8glib!!!!!!!!!!!!!!!!!!!!!!!!
Hello Thomas, this is the error when I try to upload the Marlin:
stk500_getsync() attempt 1 of 10: not in sync: resp=0x65
Can you help me?
Thanks
Dont use u8glib,try use u8g2
Thanks Thomas! I had to get the U8Glib 1.1.7 somewhere else, but you got me through it!
Hey Thomas, I got a new motherboard for my Ender 3 and now I was updating the firmware but in the end when I was uploading it says that an error occurred while uploading the sketch
I "know" Arduino and thought I understand the steps you took. I suspect most people who are not programmers won't.
I'll be honest. I don't know how you could make it any easier as you did do a great job explaining it.
But the word "easy" is a bit of a stretch. ☺
Thanks for the step by step. Worked great. I could not have done it with your instructions keep up the good work. Needed to upgrade the firmware to eliminate the extruder stopping with the quiet main board when using Simplify 3D
Thanks for sharing Tom. very informative as always!
Hello Tom, I would like to upgrade Marlin for my printers but ... for my old Hypercube I have a Printrboard which I can flash only with an old version of Arduino IDE, with some customized bootloader, probably the new .ino file for Marlin 1.1.9 will not compile on older Arduino IDE ? Also my new Hypercube has a RAMPS1.4, for this probably Marlin 1.1.9 will work, but still I am afraid I will crash them both ... so actually for the Ender you need a programmer ? Fail video ...
this works! after following other vids online, this is the only vid that works for my Ender 3. thank you soooo much!
Hey Thomas,
great video as usual. I own a Creality CP-01 and was curious ho to update to Marlin 2.0? There is no files inside Marlin for CP-01. Please help
Sketch uses 97374 bytes (74%) of program storage space. Maximum is 130048 bytes.
Global variables use 6193 bytes (37%) of dynamic memory, leaving 10191 bytes for local variables. Maximum is 16384 bytes.
It wasn't really easy, but you walked me through most of the hard stuff. I still had two errors (very similar) where they put something in comments AFTER the command and apparently my board wanted the comments BEFORE the command on a separate line. Fixed both of those errors and everything else went smooth as butter.
hi Tom, thanks for the video!
I followed these instructions but when i get to the point where i want to burn my bootloader (with the USBTinyISP) I get the error below, can you help?
avrdude: verification error, first mismatch at byte 0x1fc00
0xff != 0x1f
avrdude: verification error; content mismatch
Error while burning bootloader.
thanks,
Mike
Awesome video at just the right time. Was going to spend the evening configuring newest marlin, to upgrade my cr-10. Just got a lot easier.
Same here. We need to enable the Thermal Runaway protection too. Tom did a video showing CR-10's come without this enabled on the firmware, so I know I've needed to do this for too long.
Don't have a problem myself, but some printers have separate enable jumper for firmware programming (safety feature, so that you can prevent ANYONE from flashing your printer). Just another thing to check, if your firmware flashing attempts are failing.
At least my Megatronics 2.0 has one.
As others have said, the work you put into this is greatly appreciated, but for those of us who aren't technically-minded, it's like falling down a very deep rabbit hole with pointy bits along the way. But that's a heck of a shirt, Tom.
Thanks very much Tom!
How can we update the firmware if we do not have any support or file from the manufacturer? How do we only have the firmware loaded on the Mega board and no other data? How do we adjust the values for the different types of extruders, rods of the Z axis, etc? Thanks for your kind support.
You forgot about one very important mod for ender 3 that everyone does: remove that dumb "Facebook QR Code" sticker xD
I need to review printers as shipped from the manunfacturer - as soon as I start modding it, it becomes something else!
@@MadeWithLayers A PC? Like Apple says if you fix something in your computer by a non official service? Hehehehehehe... I won't remove mine until I print a proper cover, not that I will ever enter Facebook to get support or anything... Ever.
WTF does a sticker have to do with firmware in the first place, please provide some slid evidence that removing the sticker changes something in the firmware
@@GroovyDrifter Louise Rossman reference???
@@England91 Absolutely...
Ive been trying to update the firmware on my Anycubic Chiron, but it doesn't seem like any software on my laptop can acknowledge that the printer is connected via USB. Cura does not see it, nor does the Arduino software (which I'm new too).
Great Video, Tom. Super easy to follow.
The following is an error message I received in Arduino.
Marlin-2.0.x\Marlin\src\HAL\AVR\u8g_com_HAL_AVR_sw_spi.cpp:65:10: fatal error: U8glib-HAL.h: No such file or directory
#include
Not sure where to find this in the latest Marlin Website layout. If you could assist would be great.
Thank you.
yea i got a simmilar error not a clue how to fix
Wow this is much easier now. My BLTouch came with a usb with a ribbon cable and adapter to update the ender 3 firmware. I’ve flashed mine several times when I was figuring out the BLTouch.
Holy balls, this is too much for me to even try right now.
a couple things that I found need to be changed in config.h are the minimum y set to -8 and set the bed to 232 mm. now you will print more in line with the center of the bed and take advantage of the larger build surface
Hi!
Thanks for the video:
I have the following error:
Arduino: 1.8.11 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 130488 bytes (51%) of program storage space. Maximum is 253952 bytes.
Global variables use 5333 bytes (65%) of dynamic memory, leaving 2859 bytes for local variables. Maximum is 8192 bytes.
avrdude: ser_open(): can't open device "\\.\COM6": Das System kann die angegebene Datei nicht finden.
avrdude: ser_drain(): read error: Das Handle ist ung�ltig.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ung�ltig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
What to do??
Great video explaining how to, but I am having trouble with configuration.h file. I did not find another video that you may have done pertaining to this exercise (you mentioned you would). But I am hoping you can help. I keep getting "Multiple libraries were found for "U8glib.h"" Do you have a video for this?
Great video and very informative. Thanks for this. I have a CR20 Pro and when I hit "About the Printer", I get ver. 1.1.6BL_ver3.1. All I find on Internet never mention the CR20 Pro... Is the procedure the same as the one you describe here?
Looking forward to the Marlin from Scratch Video since my first self designed printer is almost ready to be powered on.
ME TOO!!!
hey Tom! i'm getting an error when tying to do the sketch on my marlin 1.1.6 board! I have it all setup right for my Tronxy X5s and then I get this msg....Sketch uses 120576 bytes (92%) of program storage space. Maximum is 130048 bytes.
Global variables use 4544 bytes (27%) of dynamic memory, leaving 11840 bytes for local variables. Maximum is 16384 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4c
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6f
An error occurred while uploading the sketch
how do I fix this? sorry very new
Will I need a bootloader when trying this with an Ender 3 pro with the updated 4.2.7 board? There is nothing showing up under my ports tab.
Ok... I searched your videos hoping you had posted something on my current problem. Either I missed it or you haven't experienced it. So I'm going to ask here. I just updated to Marlin @t. Before this, I used the factory settings for about a week and marlin 1.9 for a couple days. I didn't have this issue until 2.0.4. Every time I print the calibration squares (I have been using the mesh bed level feature) but now, when gantry returns home after print, I get "thermal runaway bed printer halted: reset machine" But only after the print every time. I used an IR probe to measure temps and the bed never goes above my setting. So i'm worried something is programmed wrong in Marlin, but I never changed any thermal settings. please help.
wheres this video of him showing us how to do the next step on the ender 3
Hi, can you directly connect the printer to the pc on the Ender 3 or do your need to get the USB device
Tom,Is there. Link somewhere for dual extruders ( 2 nozzles)
What about printers with a touch screen lcd? Are those not open source? Example would be the Snapmaker printer that says they will be open source eventually but would the firmware update not work great with the fancy touch screen?
What about printers that aren’t included in the example machines folder?
Hi butty.Can I follow this step without having to buy arduino etc. Just use my usb to my pc. I have a board that shows 1.1.3 on the board. Appreciate a reply.
Thx Thomas! What if your company pushed a version of Marlin with closed source necessary modifications (I know they *should not*) wouldn't this just brick the printer?
i got a error "avrdude: stk500_getsync()... error occurred while uploading sketch"
Same here. Did you manage to solve it?
Using Arduino 2, at 8:00 stop and start Arduino again to see board in Boards manager. And at 8:24 I get error Compilation error: Error resolving FQBN: missing platform release arduino:avr referenced by board Sanguino:avr:sanguino}
And then at 8:26 I do not have the selection for the processor. Is this because the Arduino 2 and the Sanguino firmware are incompatible?
Dear Sir
I have a Zonestar Z8XR2 with Repetier firmware V1.2 as mentioned in the attached picture.
My request is to change the firmware from Repetier flavor Gcode to Marlin flavor Gcode.
Can this be done ?
If yes, Please I need from you to guide me and to tell where should I start.
SO, as of Sep 18, 2018, the config files on GitHub for the Ender 3 are requiring the board to be set to an Arduino Mega, not a Sanguino board. Is that an error? I know Creality has a 1.1.4 board out now ... does it refer to this?
Just asking because the onboard MOFSET for the bed heater went out on mine. I've got a 1.1.3 board from Comgrow coming in tomorrow and figured flashing to Marlin before installing the new board may be the way to go. I've never gone through the process before and figured I'd ask some questions FIRST. I plan on getting the "silent 1.1.4" board from Creality, but the lead time is much more than a direct replacement board and I really hate running with the bed heater disconnected - even with PLA.
I tried to verify my build on the Anet A6 but it failed because it's 40 bytes too big with the BL Touch sensor enabled. Had to enable Linear auto bed leveling to reduce the size. Thanks!
Hello, tell me please, if you know, there is a need to raise the upper temperature limit for my 3d printer, how to do it correctly in marlin?
Hi . I have problem in bourd 3d printer . And want some help . Board name is ( one+ v2.2 ) . When upload marlin . Lcd not work . It just light
Hello teacher my marilyn does not show menus from the lcd if the lcd row is active only the blue light on the screen if it is active in the row loaded at u8glip
Thanks for the video. i did get a issue with my memory. not enough with my ender 5 pro. any suggestions?
Using USBASP to upgrade the marlin 2.0, I am getting following error during compiling
U8Glib version: 1.17
Marlin 2.0.x
Ender 3
Arduino: 1.8.13 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_wchar_max(uint32_t, pixel_len_t)':
sketch\src\lcd\dogm\lcdprint_u8g.cpp:36:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'?
u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(),
^~~~~~~~~~~
setPrintPos
sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:23: error: 'ret' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^~~
sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:23: note: suggested alternative: 'reti'
u8g.setPrintPos(x + ret, y);
^~~
reti
sketch\src\lcd\dogm\lcdprint_u8g.cpp:38:28: error: 'y' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^
sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max(const char*, pixel_len_t)':
sketch\src\lcd\dogm\lcdprint_u8g.cpp:43:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'?
u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(),
^~~~~~~~~~~
setPrintPos
sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:23: error: 'ret' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^~~
sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:23: note: suggested alternative: 'reti'
u8g.setPrintPos(x + ret, y);
^~~
reti
sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:28: error: 'y' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^
sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max_P(const char*, pixel_len_t)':
sketch\src\lcd\dogm\lcdprint_u8g.cpp:50:22: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'; did you mean 'setPrintPos'?
u8g_uint_t x = u8g.getPrintCol(), y = u8g.getPrintRow(),
^~~~~~~~~~~
setPrintPos
sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:23: error: 'ret' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^~~
sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:23: note: suggested alternative: 'reti'
u8g.setPrintPos(x + ret, y);
^~~
reti
sketch\src\lcd\dogm\lcdprint_u8g.cpp:52:28: error: 'y' was not declared in this scope
u8g.setPrintPos(x + ret, y);
^
exit status 1
Error compiling for board Sanguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Thanks, Thomas, I was able to burn bootloader and Marlin firmware on my Ender 3.
I got this ,so I guess the manufacturer put a cheap processor in,Sketch uses 122452 bytes (94%) of program storage space. Maximum is 130048 bytes.
Global variables use 4621 bytes (28%) of dynamic memory, leaving 11763 bytes for local variables. Maximum is 16384 bytes. What do I do to fix this
A nice tutorial but nothing about what to do when something does wrong. I've been trying all day using VS code and autobuild marlin to compile a build provided by the manufacturer through github. I've worked through most errors but not being a coder I am close to lost here and just firing blindly. I currently have 52 errors all stating "function call is not allowed in a constant expression" followed by various C/C++(59) [Ln 170, Col 5} (or similar lines/columns). If I go to line 170 column 5 I have the line #if ENABLED(MK2_MULTIPLEXER) and the word ENABLED is underlined with red squiggles...so what's the function call and what's the constant expression? lol What is wrong and what needs to be done to fix it? It wouldn't be so bad if the error messages actually pointed to something but all I'm getting is "naw...ain't working bud". 😁
Hi Tom, can this way help to edit the bed size limits ? I want to increase the bed on my small printer
I have a weird problem. My Ender 3 + Bltouch seems to be higher in the center of the bed. So after it centers itself, I set Z to zero (with z offset) , disable the steppers just to make sure each corner is leveled properly. After leveling each one with a piece of paper, and setting it back to auto home. The adjustments I just made are back to where they were as incorrect. Any suggestions??
Hi im using a longer lk5 pro... is the procedure that different? And they are up to 2.0 now
Hi. I ended with a blue screen with no characters on it but uploaded complete. What should I do?
Do I need any other hardware such as a bootloader or sosmething? Becuase mine is getting errors uplaoding at the last second.
I can't get u8glib 1.17 the page is missing
How long does the Marlin verification step usually take? I've been waiting 20 minutes with no change in the progress bar.
So to clarify do all ender 3's not have a bootloader? Being new at this im not exactly sure wht that even is
Hello Thomas
I am trying to update the firmware on my board v1.1.2 from creality cr 10 following the steps in your video but when I click on check I get an error "Error resolving FQBN: missing. Error compiling for card sanguinow / ATmega1284 or ATmega1284P (16MHz The card currently selected needs the Arduino core: Arduino that is not installed. "
How can I solve? Can you help me please?
And one more question can I buy a v1.1.5 card and install it on creality cr10? because i see some sites that recommend it for ender 3 / 3pro or ender 5 but there are also sites that claim to be compatible with cr 10.
Thanks
had to replace the board on my tronxy x3s due to the sd card holder came loose from the board
followed your video on how to install the firmware but all i get is this error message
Arduino: 1.8.5 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
Sketch uses 123098 bytes (94%) of program storage space. Maximum is 130048 bytes.
Global variables use 4147 bytes (25%) of dynamic memory, leaving 12237 bytes for local variables. Maximum is 16384 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4c
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4f
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x63
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6f
An error occurred while uploading the sketch
i have tried a different cable and on the old board and new board same error , reloaded the drivers for the board in device manager USB-SERIAL CH340(COM5) and set the rate at 115200
AND HAVE TRIED Different USB SLOTS AS WELL
any ideals
Hey I have wanhao I3 robo 3D and the king original prusa I3 mark 3. What should I do to make my wanhao and robo 3D can produce the same result like original prusa. Shold I change the board and firm ware?. What bord and which firm ware should I use. Please let me know.
Help Please. my printer doesnt have an example config. would it be wise to just copy my old config files over OR is it better to take a similar example config and just change the values?
can you run us through a 2021 setup git hub has changed there file location and having some problems finding the files i need to download
what if you don't know what kind of printer board you have? I have a cheap printer from China that has next to no information at all. The board comes preinstalled with repetier 2.0
I ran it again and it worked. Did you say that I will need another board to flash the board for an Ender 3?
Your videos are awesome. Much appreciated. I am trying to update my CR-10S. I have watched several video’s for this. I have worked through all the issues, clean compile, and I am getting what looks like comms timing out. The link between my laptop and printer is timing out. Could you help? I want to ensure my temp safety features are activated properly. Much appreciated.
What version of marlin is this and what version of Arduino? I get error cant compile all you show on your side is nothing like my side i don't see the Jason link that your referring too .
Thomas, how about a review of Marlin 2.0? I know it is still late beta, but a review of the features and the 32-bit boards that it will run on would be very useful.
I don't usually do beta reviews for various reasons, but a "preview" look at what's coming with Marlin might actually be nice!
hey im not sure if you're still gonna see this but when i open the Marlin app from the folder its saying
C:\guest\OneDrive\Desktop\Marlin\Marlin-2.0.x\Marlin\src\HAL\AVR\u8g_com_HAL_AVR_sw_spi.cpp:65:10: fatal error: U8glib-HAL.h: No such file or directory
#include
^~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino Uno.
Help pls
I flashed 1.1.9 last week on my older RepRap with a mega / ramps combo. Never had any problems with the older versions and my endstops but when I flashed 1.1.9 I couldn't get it to G28 without running the command like 3 times. Eventually had to turn on the ENDSTOP_NOISE_FILTER in config. I have some .1uf ceramic caps on the way to attach to the endstops so hopefully I can turn that feature off again.
Marlin 1.1.9 out of the box is less tolerant of noisy endstop signals. ENDSTOP_NOISE_FILTER is the workaround, but adding a capacitor and/or resistor is the correct solution.
Thank you Thomas, you got me the furthest I have ever gotten to succeeding, except these errors popped up! Is there somewhere I could send you my error messages..... not quite sure what they are referring to. All I did was take my ender 3 example, placed the right motherboard upgrade, and changed the max temp settings cause I have all metal hotend. and crazy errors pop up.
I have 2 Delta minis that I haven't ever gotten to work correctly, is this version more friendly for deltas than versions past?
I have a KreateIt KR-10S which is a CR-10S clone how can I tell what board, LCD, and Processor it has? Thanks
Great video! I have seen that other "3d printing gurus" have installed the TH3D firmware instead, the installation procedure seems more or less the same, so what is the difference?
TH3D Firmware is simply a pre-configured fork of Marlin.
I have a MakerBot clone made by CTC and I'm not a fan of it's slicing software. Can Iflash it to marlin?
I hope you will publish the video for the bootloader soon as I ran into a problem which I assume was a bootloader problem (my printer is a Geeetech clone by CPC): since I tried to update the 2 display lines are blank and I can't print anymore.
I ran into a blank screen on my Ender 3 trying to install the bootloader, I must of corrupted the firmware. Forgot I had a proper AVRISP MK II to fix it.