While I’m somewhat familiar with arduino’s sketch environment, trying to use PlatformIO has been frustrating to say the least. I could not get Atom to work at all, it would just lock up and shut down when I tried to do anything, so I am using Visual Studio.
My board is connected and I was able to upload a base copy of Marlin 2.0 to it without issue, so I know the connection is good.
Any attempts to build or upload the firmware from the above forum link results in the error below, I’ve been rooting through files & lines for the last four hours, googling everything I could to try to get to the bottom of this, but I’ve come up dry. Can anyone point me in the right direction?
Executing task in folder MPCNC-SKR1.3-TMC2208UART-master: C:\Users\Ray.platformio\penv\Scripts\platformio.exe run <
Don’t try to upload directly with that board (at least until you have a good process going). You should be able to compile it without uploading it and then copy the bin to the sd card.
Try a clean though (I think it is a trash can in the gui). Then try to build again.
What firmware are you trying to build? Dual endstops? Which drivers?
Curtis,
That firmware seems to build & upload just fine. Thank you for the help. I won’t be able to get the board wired up tonight, but I hope to be able to test it in the morning.
Jeffeb3,
I have tried a clean on the firmware I was trying to use, but it didn’t seem to change anything.
I’m looking to duplicate the blomsd build: SKR 1.3 w/ 2208 UART, dual endstops, & TFT35 V2.0 display.
@ockray83 if you’re doing the same build, here’s updated firmware for the TFT35 v2.0 as well and will build in PlatformIO.
This has all @jeffeb3 latest updates and it works great. I believe this may be the V1 standard at some point, at least I hope so. Been using it for a few days now without issue and all the improvements really help.
I hooked up some motors on the bench this morning and everything moves as it should. I struggled to get the board talking with repetier, which refused to connect no matter what settings I used. Without changing anything CNCJS worked fine though. I also tested the touch screen and its working fine as far as I can test now.
Hopefully I’ll be able to finish up the wiring this evening.
Thanks again for the help. I’m sure I’ll have some tweaking to do once I get the board on the router, but this was a big step forward.
Everything is wired up and all the motors are spinning the correct directions. So nice to see the router doing more than collecting dust, waiting for the controller to arrive.
My only issue now is with the endstops. Mine are wired N/C and I believe the firmware is configured for N/O: Giving a home command for an axis with endstops depressed will result in the axis moving until the switches are released.
Unless I’m mistaken, this should be a simple matter of changing a couple of lines in configuration and reuploading, correct?
You just need to change ENDSTOP_INVERTING in the Configuration.h file. That should have you squared away. You can check their status with M119 as well.
I tried this touch panel update today and while it loaded fine, I was met with a constant beeping error on the home screen that begins with “M22…something” but the scrolling ticker screen would reset itself so fast I could never catch the other digits. I couldn’t find the screen/icons to zero my axes either, everything seemed to be centered around a 3d printer build, so I’ve reverted back to the older firmware for now.
The older firmware seems to be fine other than my attempt to use the pause function during a cut earlier today. I just wanted to test the function but upon resuming, the router decided to make its own path, arcing away from the home/zero position, right off the workpiece.
Did I do something wrong in the update that resulted in the errors/default icons? I used the folder labeled “unified menu material theme” since it seemed to contain some of the customized bmp files.
I don’t have a README yet with useful instructions, but these files are what were in my repo on the loki branch, and are now in the V1 main branch:
You need to unzip the TFT35, and copy that folder, the bin, and the .ini onto the SD card. Put the SD card in and reset. It should take a few minutes to copy everything, and when it’s done it should boot to cnc mode.
I tried copying those files from the link Curtis provided and got a default looking 3d printer control screen.
I just tried the files from the link you provided and I got the same result, but in the middle of the updating process, I did notice the screen calling out invalid keywords, such as Laser and Touchplate.
It’s a v2.0 TFT screen so needs a different bin file.
You need to compile the firmware in PlatformIO. Then you will have the proper bin file. After compiling, copy the three items listed below to the root of the SD card. All will be found in your BIGTREETECH-TouchScreenFirmware folder.
“…\BIGTREETECH-TouchScreenFirmware\Copy to SD Card root directory to update - Unified Menu Material theme\TFT35”
I am getting these errors trying to run (Build) or Even upload any help will be appriecated
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.