Open smintjes opened 4 years ago
What i tried:
Nothing works. Maybe the board is just faulty?
I'm going to assume that your using some version of Windows due to the fact that you mention COM 10, and I believe that is a windowsism, as on *nix and macOS the board if configured properly shows up as either a /dev/tty.
device or a /dev/tty.cu
device depending on how you configured your serial ports within your Configuration.h
.
For the current marlin fork/branch that I've been working with I have the below serial port configuration setup in my configuration.h
#define SERIAL_PORT -1 // default
// ipatch `SERIAL_PORT -1` refers to the serial port builtin to the physical USB port on the brd.
// #define SERIAL_PORT -1 // usuall req for connecting via prontoface
// #define SERIAL_PORT_2 -1 // TODO
#define SERIAL_PORT_2 0 // SKR REF: https://youtu.be/GNGN2iSQ5j4?t=515
// #define BAUDRATE 250000 // default // TODO
#define BAUDRATE 115200
❗️ I have the bigtreetech tft35 v2 display which requires a baudrate of 115200 or the display will not recognize the printer.
With those above listed serial port configuration lines,
firmware.bin
file to the SD card attached to my computer
in the
platform.ini
file there is a setting that can be added when compiling marlin with PlatformIO to specify a disk to copy the compiled.bin
file to. I formatted the 128MB uSD card that came with the board using fat32 filesystem with a MBR partition map. and set the volume label to SKR, and within the `platformio.ini file i have added the following line,
[env:LPC1768]
# protocol = mbed
upload_port = /Volumes/SKR
add the upload_port line within the [env:LPC1768] if you'd like platformio to auto copy the built bin file to the sd card.
Insert the sd card in the board, make certain the jumper on the board is configured with 5V USB power, it's the little red jumper close to the USB port and should be attached to the two right pins in order for the board to powered via USB, and if all things go well, you should see a little red LED light up on the board letting you know the board has power.
So with the SD card inserted into the uSD port of the board press the reset button on the board give a few seconds and the board will copy the newly compiled firmware to the board, and you should be running the version of marlin you compiled on your board.
you can verify all this by connecting your computer which more than likely is already connected to the board because that is how you are powering the board.
Open printrun ie. prontoface and verify the firmware on the board
obviously printrun / prontoface will need to be installed on your computer to run the program.
once printrun is open select the port you'd like to connect to, specify the baudrate to use, ie. 115200
on macos, the device is listed as
/dev/tty.usbmodem14111
obviously windows will display something different, ie. com port 10
verify your firmware is running on your board
a. within the right side of prontoface input the following m command
m115
👆 that command should show useful information about the firmware running on the board.
❗️❗️❗️ I'd set aside that particular sd card and use it just for updating the board firmware and not rename or use it for anything else.
Below is a picture what the output of the m115
command looks like on my box, ie. macOS
I even was able to install printrun on a windows 10 vm i maintain using virtualbox, and below are some pictures of me connecting to the device using prontoface on windows 10
❗️❗️❗️the com port number will more likely differ based upon how your system is configured.
Edit: problem all fixed. I had broken stepper drivers, it all works fine now i replaced those.