Build and Flash Marlin 2.0 Firmware on a Azteeg X5 GT (32 Bit) with TMC2660 SPI Drivers | How to

  Рет қаралды 2,168

Luke's Laboratory

Luke's Laboratory

Күн бұрын

Пікірлер: 51
@brad4340
@brad4340 4 жыл бұрын
this video is well worth the thumbs up and a thank you. All the other videos I saw (along with mfg website) were incomplete, use old code, or never worked to begin with. This may be the first time I found a video on ANY TOPIC that worked exactly as shown the first time. It was just enough to get me off to the start I needed to be able to properly tune my firmware. Again, thank you!!!! for those below....this is a video on basic compiling with VS and PlatformIO. Its not a troubleshooting video. Follow what he says then go through and either compare settings from other people's code or start adjusting a little at a time and BUILD OFTEN (makes looking for error much easier)
@LukesLaboratory
@LukesLaboratory 4 жыл бұрын
Thank you for the comment! Means ALOT
@marzan9424
@marzan9424 5 жыл бұрын
Great Vid! I bought a ReARM board so I could use TMC drivers not realising that they were low amperage and probably not suitable for use on a Prusa , 2 stepper z axis setup. I was looking for a solution and saw the Panacutt X5 GT. I was pretty stoked to see 3 amp stepper drivers! The only thing is in Australian dollars it is a lot of money to change to this setup, so I didn't want to make the commitment until I found some sort of review of this board and if it had the ability to run Marlin. Your vid has answered all my questions, so thank you!
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Happy to help!
@davidberberian5778
@davidberberian5778 3 жыл бұрын
Great video. I need to find a replacement board and they all seem to be on backorder at panacutt. Any ideas on another source for a board?
@LukesLaboratory
@LukesLaboratory 3 жыл бұрын
what featureset are you looking for?
@Setaaha
@Setaaha 3 жыл бұрын
Hi buddy, thank you for a nice job done here. I have little issue with this board on the newest Marlin 2.0.8.1, when I defined Viki2 LCD and plug it into the board, I got "TMC connection error" issue on LCD and none of stepper motors working. if I undefined the option of Viki2, and I use Octoprint to connect, it works. Do you know how to fix the issue? Thank you
@LukesLaboratory
@LukesLaboratory 3 жыл бұрын
Sounds like its trying to use the same SPI connection as the drivers - might have to switch to a seperate SPI channel, not sure how marlin is doing that anytime
@Setaaha
@Setaaha 3 жыл бұрын
@@LukesLaboratory some Marlin experts just helped me to check, SPI channel is similar in Smoothieware, while in Smoothieware LCD and BL Touch and motors was working perfectly. Would you have any other idea?
@LukesLaboratory
@LukesLaboratory 3 жыл бұрын
@@Setaaha So when you switch back to smoothieware (with the exact same wiring) the LCD works as well?
@Setaaha
@Setaaha 3 жыл бұрын
@@LukesLaboratory yes, from the beginning, the machine was with Smoothieware, everything seemed to be ok, LCD worked, BL Touch worked, TMC driver worked. But when I switched to Marlin, as mention, when I enable LCD, TMC error and BL Touch works. However, when I disable LCD, BL Touch doesn't probe at all with M280 command. So weird.
@LukesLaboratory
@LukesLaboratory 3 жыл бұрын
@@Setaaha feel free to email me your smoothie config and your marlin setup to luke@lukeslab.online
@jasontwd01
@jasontwd01 5 жыл бұрын
HI Luke, do you have any knowledge of how to 'Unbrick' the X5 GT??, I was uploading new marlin bugfix settings and now the bootloader seems to not see the .bin file on the SD card now. The LCD is blank and no light on the stepper drivers, BUT the green light is on the board..it was working fine until VS code updated some lib's. I cant get any feedback from Panucatt yet, they are very slow to respond. cheers Jason.
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Hey! This was caused by an issue with a PIO update not working correctly. Update PIO, and download a fresh copy of Marlin 2.0, since they needed to change some things in the backgrounds because of this issue. As for the SD card, try manually copy-pasting it on to your SD, and cycle power instead of hitting the reset button. Hopefully this helps! I had a similar issue trying to get one of my running with this board. Good Luck!
@iedochalcyon5522
@iedochalcyon5522 4 жыл бұрын
Once i set the driver types to TMC2660 and flash, the sd card shows up on my computer from the board, but if i try to add any files or remove or rename, it just freezes and i have to unplug the usb. If i connect to it in repetier host, it connects but i just get "# Commands Waiting", essentially i'm not able to communicate with the board. If i do not set the driver type (leave them commented out), i'm able to communicate with the board just fine. Are there any jumpers i need to set on the board to get the BSD2660 drivers to work? I build your code as is from your github and i'm having the same issue. I've narrowed it down so i know its for sure it only happens when i set the driver type to TMC2660. any ideas? BTW i'm not using an LCD, so not sure if that has anything to do with it or not.
@LukesLaboratory
@LukesLaboratory 4 жыл бұрын
Hey! There was an issue with updating Pathio past a certain version that broke all prior versions. Give it a shot with a fresh marlin straight from the source marlinfw.org/ with the same settings that the video has. My github is out of date, my apologies. I'll try updating my boards to true 2.0 (this was still on bugfix) and maybe post a new commit - give it a shot for now!
@JohnKrieger
@JohnKrieger 5 жыл бұрын
you're awesome!!! what's your thinigverse?
@rextan24
@rextan24 4 жыл бұрын
Hi Luke, I've seen you use a proximity sensor on the GT Board. How have you wired that up and how are the settings?
@LukesLaboratory
@LukesLaboratory 4 жыл бұрын
Hi! I connected it directly to my 24V power supply and used a voltage divider to reduce the output down to 5 volts, which i then connected to one of my spare inputs.
@hybridosniper
@hybridosniper 4 жыл бұрын
Hey, I appreciate you doing this video, I am leaning towards Marlin 2.0/2.1 on my Azteeg X5 with the 2660 drivers. Are these settings still relevant a year later? or have you made any changes?
@CobaltBrokk
@CobaltBrokk 5 жыл бұрын
Would this board and code work if I put it into the ender 5?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Yep! Assuming you updated all the other normal things to make Marlin work on any machine!
@CobaltBrokk
@CobaltBrokk 5 жыл бұрын
@@LukesLaboratory Cool! What are the other things I need to update to make Marlin work on any machine?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
@@CobaltBrokk hey Joe - it's a pretty long list of items to configure from scratch, but fortunately it's pretty well documented if you go to Marlin's website and look through their documents!
@Patrickphelan1992
@Patrickphelan1992 5 жыл бұрын
Thank you for making this vid. This board is new and I was brave to get it over the Duet wifi and this was the only resource I could find for setting up the config. What printer are your using?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Thanks for getting back! I'm happy that it helped you out! I'm using essentially a Reliabuild XL with a custom board+E3D hotend. Do you have any other questions?
@eclsnowman
@eclsnowman 5 жыл бұрын
Hey Luke, I have an Azteeg X5 Mini 1.1. I can get the firmware setup fine in Marlin 2.0 to control the printer. But I cannot get my viki2 to work for the life of me. In your linked github you don't have viki2 enabled. But at the end of your video I see you have a viki2 hooked up to your X5 GT. WHat is your pins file setup to get the viki working. I have the LCD and SD working fine in smoothie. So I know it is wired correctly. But I cannot for the life of me get my viki2 working in Marlin 2.0. Any help would be appreciated.
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
All I did was enable viki 2.0 in the config and plug it in matching the config provided by panucatt for the x5. Are you using the assembled harness or individual pins?
@eclsnowman
@eclsnowman 5 жыл бұрын
@@LukesLaboratory i have tried both. I get the LED ring lights up. But no text. I go back to smoothie... And it works correctly. I was wondering if it was a contrast issue. But it must be my pins file. I just don't know whats wrong.
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
@@eclsnowman could very well be the contrast settings Try tilting it to the side and see if you can see anything that looks like text - otherwise try changing your default contrast in the Marlin configs - mine is 145
@eclsnowman
@eclsnowman 5 жыл бұрын
@@LukesLaboratory no luck. Tried contrast from 140 tp 255. No change. I am running out of ideas. I love my x5 mini v1.1 controller. I just feel smoothie is holding it back. But not being able to run the LCD and sd card in marlin 2.0 is a real killer.
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
@@eclsnowman join the discord and i can help out much more effectively - i have some more ideas. discord.gg/s2WhFF
@zachyonk1
@zachyonk1 5 жыл бұрын
Hey out of curiosity but will this work on the Azteeg X5 mini wifi version as well with the SD6128 stepper drivers?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Not a clue - have you tried taking my base, making the appropriate changes, and giving it a shot?
@ryanreid2636
@ryanreid2636 5 жыл бұрын
Do i have to put a config or eeprom file on the sd card?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
Hey Ryan - No. I keep the smoothieware config.txt on there just so I don't lose those settings in case/when i flip back to smoothieware for testing. the EEPROM.dat is generated when you hit "initialize EEPROM" after the printer boots with marlin.
@ryanreid2636
@ryanreid2636 5 жыл бұрын
@@LukesLaboratory I am getting connection timeout errors in repetier. Pronterface is also having connection problems. any thoughts?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
@@ryanreid2636 - Have you successfully booted your board? can you see the SD card yet? Do you have LCD connected?
@ryanreid2636
@ryanreid2636 5 жыл бұрын
@@LukesLaboratory I got the sd card but i am not using an LCD. is an LCD required?
@LukesLaboratory
@LukesLaboratory 5 жыл бұрын
@@ryanreid2636 no LCD required, just wanted to see if you could see whether or not it was successfully booting. Have you let pronterface/repertier automatically determine connection settings? Did you set your serial port in marlin 2.0 to -1?
SPI: The serial peripheral interface
33:00
Ben Eater
Рет қаралды 703 М.
WiFiManager with ESP32 - Stop Hard-coding WiFi Credentials!
54:58
DroneBot Workshop
Рет қаралды 622 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 358 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 594 М.
Build an Arduino EEPROM programmer
57:30
Ben Eater
Рет қаралды 1,6 МЛН
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 863 М.
SQL Injection | Complete Guide
1:11:53
Rana Khalil
Рет қаралды 264 М.
LoRa - Long-Range Radio for IoT | Arduino, ESP32, RPI Pico
1:07:58
DroneBot Workshop
Рет қаралды 362 М.
OpenSSH Made Easy: The Ultimate Step-by-Step Tutorial
1:28:00
Learn Linux TV
Рет қаралды 669 М.