rkflashtool_rk3066 icon indicating copy to clipboard operation
rkflashtool_rk3066 copied to clipboard

rkflashtool: fatal: cannot open device

Open weiqifa0 opened this issue 2 years ago • 1 comments

rkflashtool: fatal: cannot open device

image

weiqifa0 avatar Feb 17 '23 16:02 weiqifa0

Your device pid (330d) is unknown to this tool. It was tested against these pids: 0x290a, 0x281a, 0x300a, and 0x310b

Can you share what is the name of your device? In any case, if you know that your device uses the same RK protocol, you can make the tool support it. You simply need to add a new line after this one: https://github.com/Galland/rkflashtool_rk3066/blob/b92f18baf3f9693c706cdce5a71fc6a00d1c02da/rkflashtool.c#L157

for "your new device pid" like:

       if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310b))) //RK3188
           if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x330d))) //your new device pid
            fatal("cannot open device\n");

Test at your own risk, and please share your results

Galland avatar Feb 20 '23 10:02 Galland