05-17-2023
----------

Google's USB accelerator is so retarded that you must run a flash to the device
every single time you wish to use it and change the USB ID.

Here are the details:
https://github.com/google-coral/webcoral

Device Setup
To use the USB Accelerator from the web browser, you need to update the USB Accelerator's firmware as follows. The firmware is usually automatically flashed by libedgetpu library when using C++ or Python programs, but that’s not the case from the browser.

If you run lsusb command right after plugging USB device in, you'll see:

Bus 001 Device 008: ID 1a6e:089a Global Unichip Corp.
This means firmware is not flashed yet. It is possible to flash firmware directly from Chrome or using command line.

To flash firmware from command line:

make reset
To flash from Chrome browser, point it to http://localhost:8000/ and press Flash Device Firmware button. WARNING: this only works on Linux now. There is an issue on macOS. It is already fixed and the fix will be available in Chrome 91.

Either way, you should now verify it's flashed by again running lsusb and you should see:

Bus 001 Device 009: ID 18d1:9302 Google Inc.
which means that device is ready to use.
