Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash_can.py not going into boot loader mode #106

Open
treaves opened this issue Jan 22, 2024 · 3 comments
Open

flash_can.py not going into boot loader mode #106

treaves opened this issue Jan 22, 2024 · 3 comments

Comments

@treaves
Copy link

treaves commented Jan 22, 2024

I'm trying to upgrade Klipper on a Manta M8P board that was already running successfully. The latest version of Klipper requires the MCU's be updated as well.

I'm following the steps I found in a closed ticket that I thought were to be able to do this. When I run the
python3 ~/katapult/scripts/flash_can.py -r -u your-uuid
command, it does not report an error and the
Bus 001 Device 005: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter
device disappears. But nothing ever shows up in /dev/serial/by-id/. I also see this in the dmesg output:
[ 284.055674] usb 1-1.4: USB disconnect, device number 5
[ 284.056028] gs_usb 1-1.4:1.0 can0: Couldn't shutdown device (err=-19)

Has anyone overcome this issue?

@Bazeone
Copy link

Bazeone commented Sep 9, 2024

I'm having the same issue with an Octopus STM32F446. It was working fine 2 version ago. Same problem with flashtool.py and flash_can.py.

Sending bootloader jump command...
Bootloader request command sent
Flash Success
INFO:root:Socket Write Error, closing

@Bazeone
Copy link

Bazeone commented Sep 10, 2024

working on v0.0.1-75-g90eb71b6.

@Arksine
Copy link
Owner

Arksine commented Sep 10, 2024

An issue was introduced recently when some deprecated code was removed, as mentioned it should be fixed now. The OP appeared to have some kind of driver issue, hopefully BTT resolved that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants