[flashrom] SUCCESS Re: request for support programmer with ch341b

2024-12-10 Thread S.
Hello, I have found the solution, it is NOT necessary to program an additional driver for the ch341b. The chip has the input ACT# at pin 1, if this pin is open during powerup, the chip acts as UART, lsusb displays ID 1a86:5523 QinHeng Electronics CH341 in serial mode, usb to serial port co

[flashrom] Re: request for support programmer with ch341b

2024-12-10 Thread S.
Hello, in fact it was the lack of dependencies, which I have fixed now, on my PC only libjaylink 0.3.0 is missing (I only have version 0.2.0), but I don't need j-link. Now flashrom recognizes the programmer but not the chip, I tested the follwing chips: Winbond 25Q16DV, Winbond W24X40 and Ma

[flashrom] Re: request for support programmer with ch341b

2024-12-10 Thread Anastasia Klimchuk
I think these two lines show the error: > cb_in: error: LIBUSB_TRANSFER_TIMED_OUT > ch341b_spi_spi_send_command: Failed to read 4 bytes These 4 bytes are supposed to be device ID returned by the chip, and because of timeout we don't know the ID, and so can't finish the probing operation. This als

[flashrom] Re: request for support programmer with ch341b

2024-12-10 Thread eswarit
On 2024-12-10 17:17, Anastasia Klimchuk wrote: I think these two lines show the error: cb_in: error: LIBUSB_TRANSFER_TIMED_OUT ch341b_spi_spi_send_command: Failed to read 4 bytes These 4 bytes are supposed to be device ID returned by the chip, and because of timeout we don't know the ID, and

[flashrom] Re: request for support programmer with ch341b

2024-12-10 Thread S.
Hello, I think, the ch341b in my propgrammer ist broken: I attached a logic analyzer to the chip and nothing happened. Then I tested the connections between the ch341b and the Textool socket, everything was ok and according to the map in the file ch341b_spi.c (line 275+). If the ch341b were o