tinyvision-ai-inc / UPduino-v2.1

UPduino
MIT License
25 stars 8 forks source link

IceStudio with UPduino V2.1 cannot Upload on Windows 10 #7

Open albertlu2013 opened 4 years ago

albertlu2013 commented 4 years ago

I get the error in icestudio with UPDuino V2.1 ( it can upload when I use icestick) image

It only one device "UPDuino V2.1" device In Zadig . image

How can I use icestudio with "UPDuino V2.1" ?

vr2045 commented 4 years ago

Hi Albert, The source of the problem is that older UPduino's were shipped with the EEPROM on the FTDI USB-SPI bridge unprogrammed. This is what ICEStudio recognizes. The newer versions have this EEPROM programmed which throws off the detection script in icestudio. We will need to update icestudio with this information.

I'll try to do this by creating a pull request to icestudio.

In the meantime, please follow the instructions below to erase the EEPROM on the UPduino. Dont worry, this cannot brick your board.

albertlu2013 commented 4 years ago

Hi Vr2045 Thanks for your reply. I erase EEPROM data then I get the device new name "Single RS232-HS". The Icestudio can Upload now when I use zadig change driver to "WinUSB" or " libusbK". image

But the "Lattice Radiant programmer" can not detect the cable now. image

Do you have any suggestions ?

vr2045 commented 4 years ago

Radiant uses the regular windows driver. It doesn't play well with libusbk. You'll have to uninstall libusbk and the Radiant programmer will work again.

PS: apio already has upduino 2.1 support, needs to be pulled into icestudip which I guess will happen in the next release...