upd72020x-load icon indicating copy to clipboard operation
upd72020x-load copied to clipboard

ERROR: Writing firmware did not suceed, status register value: 80000020

Open tristan-k opened this issue 1 year ago • 0 comments

$ ./iommu_viewer.sh
Group:  6   0000:05:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)   Driver: xhci_hcd
Group:  6   0000:06:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)   Driver: xhci_hcd
Group:  6   0000:07:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)   Driver: xhci_hcd
Group:  6   0000:08:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)   Driver: xhci_hcd

$ sha256sum K2026.mem
177560c224c73d040836b17082348036430ecf59e8a32d7736ce2b80b2634f97  K2026.mem

$ git clone https://github.com/markusj/upd72020x-load
$ cd upd72020x-load && make upd72020x-load
$ chmod +x upd72020x-load

$ echo -n 0000:05:00.0 > /sys/bus/pci/drivers/xhci_hcd/unbind

$ ./upd72020x-load -u -b 0x05 -d 0x00 -f 0x0 -i K2026.mem
Doing the upload
bus = 6
dev = 0
fct = 0
fname = K2026.mem
Found an UPD720202 chipset
got firmware version: 202009
EEPROM installed
got rom_info: 856013
got rom_config: 0
unknown EEPROM, no parameters found
STATUS: enabling firmware upload
STATUS: performing firmware upload
STATUS: finishing firmware upload
STATUS: confirming firmware upload
ERROR: Writing firmware did not suceed, status register value: 80000020 ======> FAILED

$ echo -n 0000:05:00.0 > /sys/bus/pci/drivers/xhci_hcd/bind

I followed the instructions but I'm clueless why the upload isn't successful.

tristan-k avatar Aug 14 '22 16:08 tristan-k