Skip to content
Home » octoprint

octoprint

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

USING OCTOPI TO FLASH FIRMWARE

This guide will be specific to the setup for my CR10 S5 with the SKR 1.4 Turbo board

Once I build the firmware in VSCode, I needed an easy way to upload it to the device.

To do so, I logged into Octopi

Clicked on the Wrench icon

Clicked on Plugin Manager

Searched for Firmware Updater

And installed the application

Now I have to log into my Raspberry Pi with Octoprint on it

So I open Putty

Input the IP Address for the PI and login

The I enter the following commands

sudo apt-get install usbmount
sudo nano /etc/usbmount/usbmount.conf
Find FS_MOUNTOPTIONS and change it to:
FS_MOUNTOPTIONS=”-fstype=vfat,gid=pi,uid=pi,dmask=0022,fmask=0111″
sudo systemctl edit systemd-udevd
Add these lines

[Service]
PrivateMounts=no
MountFlags=shared

Save and Close the file

sudo systemctl daemon-reload
sudo service systemd-udevd –full-restart

reboot

Log back into the PI

cd /media
ls -la
Verify full permissions on /media/usb
For mine, /media/usb pointed to usb0 so I had to run
chmod 777 usb0

Now log into Octopi through the browser

Click back onto the Wrench

Navigate down to Firmware Updater

Click the Wrench in Firmware Updater

Set the Flash Method

For my flash method, using the LPC1769 board, I had to select LPC1768

For the Path to firmware folder, I put in /media/usb

Click test to make sure the path is valid

Save

Back in Firmware Updater main screen

Click Browse

Find the firmware.bin file that you created with VSCode

and Click Flash from file

Now the board is flashing and when it completes you will get the message Flash Successful

Thats it!



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

ENDER 3 PRO – OCTOPRINT – BED SIZE ISSUE [SOLVED]

When you send a print job to your Ender 3 Pro, using your Octopi, it starts to print, and the hotend does not recognize the correct size for the bed. The hotend is pushed off to the side, begins clicking, and the print is a mess.

Solution:
Make sure your Slicer has the correct bed size set in it
Make sure the OctoPi has the correct printer setup in it
Turn OFF your printer
Turn OFF your OctoPi
Disconnect the USB Cable in your Ender 3, from the OctoPi
Wait 30 seconds
Turn ON the printer
Turn ON the OctoPi
Wait 1 minute
Plug the USB cable back into the Ender 3
Login into your OctoPi
Click connect so the OctoPi works again with the Ender 3
Send the print job that failed before

And now it works!

Unable to connect to Octopi.local on Windows 10 [SOLVED]

So you can connect to from your Apple device (iPhone, Mac, iPad, etc) but you cannot connect to it from your Windows 10 computer.

This occurs because Microsoft doesn’t natively recognize .local extensions.

Solution:
Install iTunes onto your Windows 10 computer. This will add the bonjour service which will allow you to connect to octopi.local

After you install iTunes, visit http://octopi

You can now use your Windows 10 system with OctoPrint

Writing OctoPrint to SD Card

Quick How-To using a Windows 10 Computer

Simply put, you need to download a third party application to write the OctoPi image to an SD Card. I suggest Etcher for this

Download Etcher from https://www.balena.io/etcher/
Install Etcher onto your Windows 10 computer
Download the OctoPrint image from https://octopi.octoprint.org/latest to your local hard drive on your Windows 10 computer
Unzip the OctoPrint image once the download finishes
Plug your SD Card into the Windows 10 Computer
Open balenaEtcher
Click Select Image
Select your OctoPrint***.img file
Your SD Card should be automatically found and selected by Etcher
Click Flash
The image will now be written to the SD Card
When the image has completed writing you will see the message Flash Complete!
You can now insert the OctoPrint SD Card into the Raspberry Pi and fire it up



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L