Comments (7)
It seems like the mcu image is missing the sudo
command, therefore dfu-util can't be executed.
This has been added in 67ffc9c
The klipper image is currently being re-built, this will take about an hour.
You can follow the progress here https://github.com/mkuf/prind/actions/runs/4083441350/jobs/7038967819
When the Action is completed, delete all klipper container images from your machine and try again.
-Markus
from prind.
that's was fast. :)
tried it, but now get the following:
WARN[0000] Found orphan containers ([prind-traefik-1 prind-init-1 prind-webcam-1 prind-fluidd-1 prind-moonraker-1 prind-klipper-1 prind-octoprint-1 prind-klipper-priv-1 prind-mainsail-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Loaded configuration '/opt/klipper/.config'
No change to configuration in '/opt/klipper/.config'
Building hid-flash
/bin/sh: 1: pkg-config: not found
hid-flash requires libusb-1.0, please install with:
sudo apt-get install libusb-1.0
Flashing out/klipper.bin to /dev/serial/by-id/usb-STMicroelectronics_MARLIN_BIGTREE_OCTOPUS_V1_CDC_in_FS_Mode_205634505931-if00
Entering bootloader on /dev/serial/by-id/usb-STMicroelectronics_MARLIN_BIGTREE_OCTOPUS_V1_CDC_in_FS_Mode_205634505931-if00
Device reconnect on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0
sudo dfu-util -p 1-1.5 -R -a 0 -s 0x8008000:leave -D out/klipper.bin
sudo: dfu-util: command not found
Failed to flash to /dev/serial/by-id/usb-STMicroelectronics_MARLIN_BIGTREE_OCTOPUS_V1_CDC_in_FS_Mode_205634505931-if00: Error running dfu-util
If the device is already in bootloader mode it can be flashed with the
following command:
make flash FLASH_DEVICE=0483:df11
OR
make flash FLASH_DEVICE=1209:beba
If attempting to flash via 3.3V serial, then use:
make serialflash FLASH_DEVICE=/dev/serial/by-id/usb-STMicroelectronics_MARLIN_BIGTREE_OCTOPUS_V1_CDC_in_FS_Mode_205634505931-if00
src/stm32/Makefile:97: recipe for target 'flash' failed
make: *** [flash] Error 255
from prind.
While accumulating the packages for the mcu image I referenced klippers install-ubuntu-18.04.sh
script which is missing this package. It seems that dfu-util
only gets installed by klippers install-octopi.sh
.
So, same spiel again.
Added the package in 1843582
Image is being re-built in https://github.com/mkuf/prind/actions/runs/4084121082/jobs/7040447537
-Markus
from prind.
ah - deutsche zeitzone ;)
seems to work - however - cant get my Octopus V1.1 into DFU mode ;\
from prind.
I'm not familiar with the Octopus board, but usually those boards have a boot button which needs to be pressed at power-on to enter dfu mode.
If you're sure your board is in dfu mode, you may also try to start a temporary container instead of using the method described in the readme.
In this container, you'll have klipper and everything you need to build and flash the firmware and you can interact with it in the same way as it would be directly on your host. This is probably easier for troubleshooting.
docker run \
--rm -it --privileged --workdir /opt/klipper \
-v /dev:/dev -v $(pwd)/config/build.config:/opt/klipper/.config -v $(pwd)/out:/opt/klipper/out \
mkuf/klipper:latest-mcu
The output from your earlier logs also suggest that you'll need to specify a different make command, if your board is already in dfu mode.
If the device is already in bootloader mode it can be flashed with the
following command:
make flash FLASH_DEVICE=0483:df11
OR
make flash FLASH_DEVICE=1209:beba
from prind.
Any update on this?
Can you judge if this is an issue with your hardware or if there is still an issue with the Image?
-Markus
from prind.
could unfortunately get the octopus not into DFU mode ...
from prind.
Related Issues (20)
- How do I run this without a webcam? HOT 2
- Fluidd starts as mainsail and klipper can't connect HOT 2
- No webcam in OrcaSlicer HOT 7
- Klippain Support HOT 2
- [Feature] Add support for monitoring the containers HOT 1
- Latest version-tagged moonraker (`v0.8.0`) is out of date HOT 6
- TIMELAPSE not working due to local webcam url not being accessable inside moonraker container (probably) HOT 2
- [timelapse.py:getWebcamConfig()] - WARNING: no camera configured, using the fallback config HOT 2
- ustreamer not working? HOT 6
- Dependency Dashboard
- moonraker-telegram-bot config in docker-compose.yaml needs update HOT 9
- Missing GIT for Update Manager HOT 6
- Action Required: Fix Renovate Configuration
- Unable to Connect mainsail to printer ( Serial name/ Serial permissions?) HOT 1
- Klipper container missing dependency? HOT 9
- Moonraker crash after update HOT 2
- Guide Assistance HOT 1
- Fatal Python error: PyGILState_Release: auto-releasing thread-state, but no thread-state for this thread HOT 5
- [Documentation enhance] Webcam setup HOT 1
- Slow webcam HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prind.