wuxx / icesugar

iCESugar FPGA Board (base on iCE40UP5k)
350 stars 96 forks source link

The board is not working that keeps showing a "Fail.TXT" #15

Closed ms0488638 closed 3 years ago

ms0488638 commented 3 years ago

Hi, I just receive the board and try to use the demonstration bin file.

But every time I drag the bin file to the ICELINK in file explorer.

The board doesn't read the bin file, but showing a "FAIL.txt" file, which indicates the following lines:

error: The transfer timed out. type: transient, user

What am I suppose to do?

wuxx commented 3 years ago

Hello, did you change the short bridge, and which system you are in use?

wuxx commented 3 years ago

and the default program in flash is the led blink, which ls flash by drag-n-drop before ship, can you see it ?

ms0488638 commented 3 years ago

and the default program in flash is the led blink, which ls flash by drag-n-drop before ship, can you see it ?

Yap, the LED keeps blinking.

I am currently using the Windows 10 Professional Version. I still am downloading the virtual environment from your link.

ms0488638 commented 3 years ago

Hello, did you change the short bridge, and which system you are in use?

Should I modify any jumpers of the board?

wuxx commented 3 years ago

no, just keep the default

wuxx commented 3 years ago

and can you check the device manager to see if some driver is missing

ms0488638 commented 3 years ago

I just my linux laptop, and it can successfully upload.

Maybe I will check on my WIN10 desktop later, and find out which part went wrong.

wuxx commented 3 years ago

OK

ms0488638 commented 3 years ago

I wonder if there is any available driver for the "iceLink" but the default one automatically installed by Windows?

wuxx commented 3 years ago

there are 3 USB devices in iCELink, USB HID, USB CDC, and USB MSC, for win10 should no need to install any other drivers.

ms0488638 commented 3 years ago

This is weird, I've tried on 4 different computers. Only my Linux laptop can successfully upload the bin file, while my windows computer may lead to Fail.txt.

Windows computer may occasionally success, but lead to fail.txt for most time.

If the bin file is successfully uploaded on windows computer, a explorer can show the transmission bar while the D4 and D5 LED can be observed blink.

wuxx commented 3 years ago

eh... the factory led blink program was drag-n-drop with win10 too. can it may be the permission settings of you win10 ? after program succ, the iCELink disk will remount, you can see it displear and appear again some seconds later

wuxx commented 3 years ago

and how you drag the bitstream ? I usually open the iCELink folder and drag the bitstream into the disk. or can use ctrl-c ctrl-v too.

ms0488638 commented 3 years ago

Hey, I think I found the reason.

After I change to another Type-C-to-USB-A, all issues are gone.

I guess something goes wrong with the attached one.

Problem might be fixed, thanks in advance.

wuxx commented 3 years ago

ok