SKR V1.3 firmware upload

New Home Forum LowRider Troubleshooting – LowRider SKR V1.3 firmware upload

This topic contains 15 replies, has 5 voices, and was last updated by  ICT Avatar 21 hours, 6 minutes ago.

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #116570

    I_T
    Participant

    Hi. I am working on getting the firmware uploaded to my lowrider2 and I don’t know how. I am trying to use the firmware from the discription of Michael’s part 2 video of the lowrider CNC from the YouTube channel Teaching Tech. I just don’t know what files to upload and how to do it. I am using the SKR V1.3 the MKS TFT28 and some cheep generic stepper drivers. I you can help me, please let me know.

    #116575

    Jeffeb3
    Participant

    I don’t have any experience with the MKS TFT28. Maybe someone else can tell you more.

    But basically, you need to get Marlin and configure it for your steppers, your stepper drivers, your LCD, and then some other cnc related things.

    Here is Marlin that Ryan publishes:

    https://github.com/Allted/Marlin

    Start with this version:

    https://github.com/Allted/Marlin/archive/MPCNC_Ramps_T8_16T_LCD_32step.zip

    Starting with Ryan’s will get a lot of simple settings out of the way. Then you can just change things for your hardware. I’m assuming tt didn’t publish his firmware, right?

    That is for a RAMPS board with drv8825 drivers.

    What kind of drivers do you have? You’ll need to configure it to work with your drivers.

    Youll need to turn off the reprap full graphics display and turn on your display. There might be other settings for your display, I’m not sure.

    Making these changes, you’ll be changing the Configuration.h file. You’ll then need to upload using arduino.

    You’ll want to wire the double motor axes in series. But we can figure that out once you have everything else figured out.

    That’s very little detail on a lot of the process. If you’re new to this, don’t panic. Buying a preflashed board from Ryan is a lot easier. Flashing a configuration that is already configured is also easier. But this is possible. Just remember that you’re not trying to understand a natural system. This is designed by humans to be used by humans and it is possible, although not necessarily easy.

    #116576

    I_T
    Participant

    Ok. Thanks for the help. TT did publish his firmware and that is what I was trying to get onto my the SD card for the SKR V1.3. I am glad you told me that I have to download arduino that could be what I am doing wrong. The drivers I am using are the DRV8825 stepper drivers. They came with the board. Should I get new ones? And how do I configure the firmware for the stepper drivers?

    #116599

    Jeffeb3
    Participant

    You’ve got the firmware from here?

    https://gumroad.com/l/UiATm

    That looks like a very good starting place. That is configured for tmc 5160 drivers. And it’s set up for dual drivers. It will use all 5 drivers. Each motor will get their own driver.

    There is a section in the Configuration.h file. It chooses a driver type for each motor. In the RAMPS firmware, it looks like this:

    https://github.com/Allted/Marlin/blob/MPCNC_Ramps_T8_16T_LCD_32step_DualEndstop/Marlin/Configuration.h#L647

    In your firmware, it should have a bunch of TMC5160 ‘s in there.

    #116600

    I_T
    Participant

    Yes. That is exactly where I’m at. Now I just need to figure you what files to copy onto the SD card for the SKR 1.3. Do you know which ones? I’ve true to copy a few different things to it not I still can’t get the motors running.

    #116628

    Jeffeb3
    Participant

    Ah. Yeah. So in that zip there is a precompiled binary. But that has built in the TMC5160 configuration. You also can’t use arduino, you need to use platform.io

    You need to open the marlin 2.0 folder in platform.io. Then change the Marlin/Configuration.h file for the drv8825 and then build it in platform.io and find where it puts the file to put on the sd card.

    #116669

    Bill
    Participant

    Actually I believe there are two parts to deal with. The TFT28 updates via a file on the SD card, remember the MKS TFT series has their own processor and OS onboard. The SKR 1.3 runs Marlin and is updated via the USB port using Arduino. Please correct me if I’m wrong…

    #116683

    I_T
    Participant

    Yes, this is correct. I have the files for the mks tft28 on an SD card in it and that works. The thing I can’t figure out how to do is get the firmware for the skr v1.3. thanks for the help.

    #116727

    Bill
    Participant

    OK, I don’t have one handy, but flashing it should be the same procedure as with the RAMPS or Rambo. You will need to do the proper edits to the source code in order to change the board type, but there shouldn’t be a lot more needed since the functionality is pretty similar.

    #116730

    Jeffeb3
    Participant

    Are you sure? It’s a 32 bit board and from what I can tell you put the compiled binary on an sd card and it flashes itself.

    #118001

    ICT Avatar
    Participant
    #118002

    I_T
    Participant

    No. I’m using generic stepper drivers that came with the board.

    #118009

    ICT Avatar
    Participant
    To use frimware for SKR1.3 in combination with TFT published by channel Teaching Tech you need to modify it to use drv8825 using PlatformIO in VSCode or PlatformIO in Atom
    http://marlinfw.org/docs/basics/install_platformio_atom.html
    http://marlinfw.org/docs/basics/install_platformio_vscode.html
    After modification you have to compile the file and then you get the firmware
    which you then place on the SD card; after the reset (on board) the firmware is loaded into board.

    guideline
    https://www.youtube.com/watch?v=yLm7Yl8_QUU

    #118282

    Cody
    Participant

    When I try to compile the TT firmware it atom and VS code throw a improper syntax error and aborts. Marlin  bug fix 2.0 vanilla compiles fine. I have been at it for a month now and have gotten to the point where I may just tap out. Some one help!

    #118292

    Jeffeb3
    Participant

    What is the error?

    #118350

    ICT Avatar
    Participant

    Compile the TT firmware

    Try

    Give marlin folder admin rights

    in platformio.ini

    change env_default = LPC1768   to   default_envs = LPC1768  (new version command in platformio)

    uncomment extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py  or remove line (calling python script for saving location)

    upload_port = /dev/ttyUSB0  change to upload_port = D:   (or some drive visible to system)

Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.