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

usb.error pipe #37

Open
ghost opened this issue Oct 3, 2023 · 2 comments
Open

usb.error pipe #37

ghost opened this issue Oct 3, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2023

Hello

I have issue flashing firmware to CrazyRadio 2.0
After identifying device usb-flash.py script gives an error
Would appreciate any ideas or suggestions

user@user-VirtualBox:/opt/mousejack/nrf-research-firmware$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 1915:7777 Nordic Semiconductor ASA
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
user@user-VirtualBox:/opt/mousejack/nrf-research-firmware$ sudo make install
[sudo] password for user:
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2023-10-03 07:52:13.178] Looking for a compatible device that can jump to the Nordic bootloader
[2023-10-03 07:52:13.224] Device found, jumping to the Nordic bootloader
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 70, in
else: dongle.ctrl_transfer(0x40, 0xFF, 0, 0, (), timeout=usb_timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 1079, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 901, in ctrl_transfer
timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 604, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 32] Pipe error
Makefile:27: recipe for target 'install' failed
make: *** [install] Error 1

@Oreldm
Copy link

Oreldm commented Aug 17, 2024

Same here, tried on 2 different computers for hours (with tons of workaround). It seems the moment I tried sending 0x40 (for example dongle.ctrl_transfer(0x40, 0xFF, 0, 0, (), timeout=usb_timeout) ) it didn't work. Also I tried many other protocols, but it just doesn't seems to work.
If someone know what is the problem with Crazy Radio PA 2.0 and how to flash it, it can help
Thanks!

@XtramCZ
Copy link

XtramCZ commented Aug 17, 2024

This issue also happens with the Logitech unifying dongle

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

2 participants