Page 2 of 2
#16 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by boombastik 15.02.2021 00:21

avatar

Flash as admin again and again until success.
@xlr8r Keep in mind this:
-https://www.raspberrypi.org/forums/viewt...=vl805#p1819139
<somebody from the rpi irc channel mentioned they took an rpi vl805 firmware, and flashed it to a pci-e card to fix a UAS bug that is only fixed on the pi
but as a side-effect, 2 of the usb ports downgraded to usb2.0 only>

I have seen it myself it wont work properly.

#17 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 15.02.2021 13:46

@boombastik:
hi and thanks

I have tried running it as admin and hitting the Start Update button at least 40-50 in succession but nothing works.
i always get this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
Targeted VID = 1106
Targeted PID = 3483
ISP file size: 24806(DW)
FW file = 0138A1.BIN
VL805/VL806 is found.
Bus=3, Dev=0, Func=0
, Chip Verision=B1
RegAddr:0x80, RegData:0x01, HostState:0x03
After Write, HostState:0x00
Cannot Recognize SPI Flash, Try Default Flash Command To Download...
spi erase
!!!!spi_Erase():BUSY
pageSizeDW = 64
wait while programming...
ERROR:(0x00000080) read dword 0x02200002!= write dword 0x02219102!!!!
Update ISP Fail!
 

Am i supposed to open and close the flash tool each time ? or does it not matter ?
I even went as far as trying to install windows xp + 7 on Virtual Machine, but neither will let me access USB sticks .... just hitting brick wall after brick wall lol.
I know the flash tool wiped the chip as it reads back the fw as all 0000000 now, so it must have the potential to rewrite to it ?
I just dont get why it "Cannot Recognize SPI Flash, Try Default Flash Command To Download..."

EDIT by Fernando: Unneeded fully quoted post replaced by directly addressing to the author (to save space) and reformatted the post

#18 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by boombastik 15.02.2021 17:03

avatar

@xlr8r
"<..just dont get why it "Cannot Recognize SPI Flash, Try Default Flash Command To Download...>"
This is not a problem.

Download this firmware and try to update it:
-https://www.station-drivers.com/index.ph...id=4411&lang=en

As admin and and open and close the firmware tool if fails.

Dont update to the raspberrypi 0138A1.BIN firmware.

#19 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 16.02.2021 16:03

Zitat von boombastik im Beitrag #18
@xlr8r
"<..just dont get why it "Cannot Recognize SPI Flash, Try Default Flash Command To Download...>"
This is not a problem.

Download this firmware and try to update it:
-https://www.station-drivers.com/index.ph...id=4411&lang=en

As admin and and open and close the firmware tool if fails.

Dont update to the raspberrypi 0138A1.BIN firmware.






Im about to give up...i have been trying to fix this for a week now and am getting nowhere lol

i have run the FW tool at least 100 times and always same result;

Targeted VID = 1106
Targeted PID = 3483
ISP file size: 24246(DW)
FW file = 013705.bin
VL805/VL806 is found.
Bus=3, Dev=0, Func=0
, Chip Verision=B1
Cannot Recognize SPI Flash, Try Default Flash Command To Download...
spi erase
!!!!spi_Erase():BUSY
pageSizeDW = 64
wait while programming...
ERROR:(0x00000080) read dword 0x02200002!= write dword 0x0221a502!!!!
Update ISP Fail!

#20 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by boombastik 16.02.2021 19:03

avatar

@xlr8r
1)If you have a usb device remove it.
2)The driver must be the default from Microsoft and not via.
3)change the pcie at last.

#21 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 16.02.2021 22:13

Zitat von boombastik im Beitrag #20

@xlr8r
1)If you have a usb device remove it.
2)The driver must be the default from Microsoft and not via.
3)change the pcie at last.



this is what I have at present. Sorry, i dont understand 3.change the pcie at last ??

#22 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by boombastik 16.02.2021 22:26

avatar

@xlr8r move the card at another pcie slot and retry.

#23 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by RayeR 18.02.2021 04:00

Hi,

it doesn't make a sense to move card to other slot as it is already detected by flash tool. It just didn't recognize the SPI flash chip. As I look at the INI file, the EON EN25F10 flash is already present:

[EN25F10]
FlashID=1C3111
ReadID=9F
WriteEnable=06
WriteStatus=01
ChipErase=60
ReadData=03
ReadStatus=05
PageProgram=02
ClockRate=32
PageSize=100

So I have a suspection that you have fake (remarked) flash chip that is not really EON but some chinese alternative. Unfortunatelly the flash tool doesn't print the flash JEDEC ID (e.g. 1C3111). I had to desolder the chip and use my SPIPGM to read correct flash ID
http://rayer.g6.cz/programm/programe.htm#SPIPGM
I was alble to flash newer FW but it was not cause of my error code 10. This was caused by PAE patch that I use in my WinXP. Without it the VIA driver worked normally.

#24 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 18.02.2021 10:33

Zitat von RayeR im Beitrag #23
Hi,

it doesn't make a sense to move card to other slot as it is already detected by flash tool. It just didn't recognize the SPI flash chip. As I look at the INI file, the EON EN25F10 flash is already present:

[EN25F10]
FlashID=1C3111
ReadID=9F
WriteEnable=06
WriteStatus=01
ChipErase=60
ReadData=03
ReadStatus=05
PageProgram=02
ClockRate=32
PageSize=100

So I have a suspection that you have fake (remarked) flash chip that is not really EON but some chinese alternative. Unfortunatelly the flash tool doesn't print the flash JEDEC ID (e.g. 1C3111). I had to desolder the chip and use my SPIPGM to read correct flash ID
http://rayer.g6.cz/programm/programe.htm#SPIPGM
I was alble to flash newer FW but it was not cause of my error code 10. This was caused by PAE patch that I use in my WinXP. Without it the VIA driver worked normally.




Hi RaYer

thanks for getting back to me on this, it really has my head wrecked. I believe you are correct in what you are saying, that the chip must be a clone/fake if 1C3111 doesn't work.

it is strange though that the flash tool does let me erase it, but not write new code back on .... ?

I looked up the Datasheet, here (EON F10-100GCP) and info seems ok for the flashtool, but chip just not detected.

Is there any way i can flash this chip without knowing the correct(fake) FlashID ? (and without removing it from the PCB), thanks

(its very hard to read the print on the chip below, but I think it does say EON F10-100GCP ? (i dont know what the numbers below that mean)

#25 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by boombastik 18.02.2021 14:09

avatar

@RayeR it does make sense when a pin does not make a good contact with motherboard. I have seen it when the flash detect the card and i couldn't flash it. That is the reason that i ask to change slot.

#26 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 18.02.2021 15:05

Zitat von boombastik im Beitrag #25
@RayeR it does make sense when a pin does not make a good contact with motherboard. I have seen it when the flash detect the card and i couldn't flash it. That is the reason that i ask to change slot.




thanks for info

tried 3 other slots, same result unfortunately

I have now given up after a week of trying...beaten by a cheap Chinese clone chip...bah!

chucked card in bin and bought new one on Amazon.

#27 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by RayeR 18.02.2021 16:35

Hi, generally near all SPI flash has the compatible read and chip erase commands so it should always work. But unfortunatelly there are differences in write commands - this was never standardized.
If you replace your flash chip by real EON or other supported chip in the list it should work then.

>boombastik
interesting, I never had a bad contact in edge connector. But when it happen your system would get many PCIE errors that would cause Windows go crazy or Linux throwing a DMESG errors. Once I tested PCIE to PCI bridge, that used USB 3.0 cable connection between two parts and it had unreliable connection an my WinXP hanged instantly when I touched the connector while running :) Piece of chinese crap...

#28 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 20.02.2021 15:40

Zitat von RayeR im Beitrag #27
Hi, generally near all SPI flash has the compatible read and chip erase commands so it should always work. But unfortunatelly there are differences in write commands - this was never standardized.
If you replace your flash chip by real EON or other supported chip in the list it should work then.

>boombastik
interesting, I never had a bad contact in edge connector. But when it happen your system would get many PCIE errors that would cause Windows go crazy or Linux throwing a DMESG errors. Once I tested PCIE to PCI bridge, that used USB 3.0 cable connection between two parts and it had unreliable connection an my WinXP hanged instantly when I touched the connector while running :) Piece of chinese crap...



thanks

i might just for fun just do that...

can you recommend a VERY cheap programmer (perhaps from ebay) that would suffice ?

cheers

#29 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by xlr8r 22.02.2021 23:32

well im back up and running with the card. in the end just a two minute fix....

Cost me £12.99 (1 x Amazon programmer)

i know thats more than a card would cost, but at least now i have a programmer to play with lol....

thanks to all who helped.





#30 RE: VIA VL80x USB 3 PCI-E Firmware Utility (Code 10 error) by RayeR 06.03.2021 22:02

OK, good job. So what is the flash ID readed by programmer?

I did some test of various firmwares and found that latest version for Rpi is probably not compatible with this card, simply it doesn't work with USB 3.0 devices, so I had to flash back older version and test how it works:
0138A1 USB 3.0 devices are not detected, only USB 2.0 / 1.x
0137AB USB 3.0 devices are working in HighSpeed mode only
013705 USB 3.0 devices are working in SuperSpeed mode as expected so I stay with this FW.
I also checked speed under WinXP+backported driver and Win7-x64 with VIA driver and it was the same but I checked only with slow 4200RPM SATA disk with 42,5MB/s max speed so it does tell anything, I'll test later on some faster disk...

http://rayer.g6.cz/hardware/gap67ds3.htm#USB3_SATA

Xobor Forum Software von Xobor
Datenschutz