Esoterical / voron_canbus

GNU General Public License v3.0
419 stars 59 forks source link

dfu-util 0.9 fails to upload to Octopus Pro F429 #75

Open Graylag-PD opened 5 months ago

Graylag-PD commented 5 months ago

I followed the guide with eventual success (great work, thank you!), but I found one stopper issue which is not mentioned in guide and would be a stopper for less experienced user. Older Debian releases come with dfu-util in version 0.9, which is however not able to flash Octopus Pro F429 (and possibly other boards). At the point when it shoud say Internal Flash => 0x08000000 instead it says just UNKNOWN. At this point it is game over as you cannot proceed.

Solution is to update dfu-util to newest version 0.11, but this is unfortunately not straight forward. Using apt-get does not offer anything newer than 0.9. And if you try to follow build guide on dfu-util page (https://dfu-util.sourceforge.net/build.html), it fails as cloned repo does not have correct files (probably not an issue for experienced users, but a road block for "not-so-experienced" (just follow the guide) users). If you are stuck in same situation, just follow this (not saying it is the best approach, but it worked for me): Download latest release tarbal [dfu-util-0.11.tar.gz](https://dfu-util.sourceforge.net/releases/dfu-util-0.11.tar.gz) and save it into your /home folder Run tar zxvf dfu-util-0.11.tar.gz which will unpack the source code After that just follow the guide on dfu-util page after the git clone line, so run: cd dfu-util ./autogen.sh ./configure make sudo make install After this, your dfu-util should have latest version and rest of the canbus guide can be followed.

Perhaps this should be included in the canbus guide or at least mentioned as possible issue. Regular klipper user without linux experience would have almost zero chance of getting through.