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

CH554 not working // Getting Error: Entity not found with bcdDevice= 2.50 #69

Open
moroslantia opened this issue Oct 17, 2024 · 1 comment

Comments

@moroslantia
Copy link

moroslantia commented Oct 17, 2024

Running the tool detects a chip but throws Getting Error: Entity not found

... with bcdDevice= 2.50

# dmesg
[  312.677847] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[  312.766875] usb 1-1.1: New USB device found, idVendor=4348, idProduct=55e0, bcdDevice= 2.50
[  312.766885] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

# wchisp probe
06:44:31 [INFO] Found 1 USB device
06:44:31 [INFO] Opening USB device #0
Error: Entity not found

# wchisp -u -v info
07:00:48 [INFO] Opening USB device #0
07:00:48 [DEBUG] (1) wchisp::transport::usb: Found USB Device Bus 001 Device 007: ID 4348:55e0
Error: Entity not found

... with bcdDevice= 1.00

# dmesg
[ 1666.572116] usb 1-1.4: new full-speed USB device number 6 using xhci-hcd
[ 1666.661127] usb 1-1.4: New USB device found, idVendor=4348, idProduct=55e0, bcdDevice= 1.00
[ 1666.661137] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0

# wchisp probe
06:48:58 [INFO] Found 1 USB device
06:48:58 [INFO] Opening USB device #0
06:48:58 [INFO]         Device #0: CH554[0x5411]

# wchisp -v
06:57:18 [DEBUG] (1) wchisp::transport::usb: Found WCH ISP USB device #0: [Bus 001 Device 006: ID 4348:55e0]
06:57:18 [INFO] Found 1 USB device
06:57:18 [INFO] Opening USB device #0
06:57:18 [DEBUG] (1) wchisp::transport::usb: Found USB Device Bus 001 Device 006: ID 4348:55e0
06:57:18 [DEBUG] (1) wchisp::transport: => a11200   00004d4355204953502026205743482e434e
Error: Operation timed out

What to check or change?

@andelf andelf changed the title Getting Error: Entity not found with bcdDevice= 2.50 CH554 not working // Getting Error: Entity not found with bcdDevice= 2.50 Oct 17, 2024
@Szabka
Copy link

Szabka commented Dec 20, 2024

I have a similar behaviour, but right after plug in the board I receive a different error.

wchisp -u -v info
10:28:47 [INFO] Opening USB device #0
10:28:47 [DEBUG] (1) wchisp::transport::usb: Found USB Device Bus 004 Device 003: ID 4348:55e0
10:28:47 [DEBUG] (1) wchisp::transport: => a11200 00004d4355204953502026205743482e434e
Error: response command type mismatch

wchisp -u -v info
10:30:01 [INFO] Opening USB device #0
10:30:01 [DEBUG] (1) wchisp::transport::usb: Found USB Device Bus 004 Device 003: ID 4348:55e0
10:30:01 [DEBUG] (1) wchisp::transport: => a11200 00004d4355204953502026205743482e434e
Error: Operation timed out

I created a modified build to trace the raw response from the chip.
./wchisp -u -v info
12:28:11 [INFO] Opening USB device #0
12:28:11 [DEBUG] (1) wchisp::transport::usb: Found USB Device Bus 004 Device 008: ID 4348:55e0
12:28:11 [DEBUG] (1) wchisp::transport: => a11200 00004d4355204953502026205743482e434e
12:28:11 [DEBUG] (1) wchisp::transport: <=r fe00
Error: response command type mismatch

I don't know what this response code means.

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