Attention is currently required from: Nico Huber, Angel Pons.
1 comment:
Commit Message:
Patch Set #1, Line 9: FT232H-based devices are unable to read over 256 bytes of flash in one
> ftdi_read_data: -1, usb bulk read failed […]
I get the same result for wMaxPacketSize.
Decreasing the read chunk size below 512 (if I have not also decreased the max_data_read) causes a segfault when writing to the output file. (I assume it's trying to read beyond the buffer size, but I haven't looked too deeply into it.)
Looking at Wireshark captures of the USB communication, it does look like the device is transmitting all the data. I'm not familiar enough with the FTDI protocols to see if something looks wrong there though.
I don't see any way to upload files here, so here are the verbose outputs from tshark, if they might be helpful at all:
64K: https://pastebin.com/er7mv3tT
256B: https://pastebin.com/jfb2yv3d (Cut short due to its length)
The 64K reads start around frame 43. And frame 45 for the 256B reads.
To view, visit change 63798. To unsubscribe, or for help writing mail filters, visit settings.