On Tue, Jan 25, 2022 at 09:49:05PM +0900, rgc wrote: > misc@ > > got a CH341A SPI programmer. > works on Linux. > anybody got it to work with 70-current? or previous? >
i am not in a position to REALLY help you, but i (and others) can attest to the fact that the flashrom program works to some extent... ie: we have used it to dump/read and even write firmware onto pc-engines APU boards... since i used-it recently i can confirm that it works in current-obsd-70... you did not provide a DMESG for the complete system and in particular you did not exactly describe your situation well... are you trying to read from a chip plugged into the actual dip-holder ? or from the clip-extension ? here are two links which might be helpful: 1 - this link warns that you might have a voltage-issue with your system... https://www.blackhillsinfosec.com/dumping-firmware-with-the-ch341a-programmer/ 2 - this link cautions that you might have trouble with the clip-extension positioning... https://www.win-raid.com/t4287f16-GUIDE-The-Beginners-Guide-to-Using-a-CH-A-SPI-Programmer-Flasher-With-Pictures.html presumably, if the system worked in linux - you have solved both of those issues... can you confirm that the setup that YOU are using has worked for YOU in linux ? and, like anything else - the source-code is available if you really want to sort it out... just fyi - i will enclose my most recent log of a successful read (sans dmesg)... hth... $ cat backuplog01.1 flashrom v1.2 on OpenBSD 7.0 (amd64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 3, resolution: 1ns). coreboot table found at 0xcfeba000. Found chipset "AMD FCH". Enabling flash write... OK. Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. Reading flash... done.