google-coral / edgetpu

Coral issue tracker (and legacy Edge TPU API source)
https://coral.ai
Apache License 2.0
412 stars 124 forks source link

Dev Board Micro not being detected when plugged in #804

Closed Perugius closed 8 months ago

Perugius commented 8 months ago

Tried using two machines for this, one windows 10, and the other a raspberry pi 4 for ubuntu.

To preface, I have tried all of the troublshooting advice here https://coral.ai/docs/dev-board-micro/arduino/#troubleshooting

When I plug the coral micro into any device, only the red STAT light turns on. The device does not get recognized on Ubuntu (it does not show up when running "lsusb") and on Windows I get an error too (described above). Holding the "USR" button and then pressing the Reset button does nothing. The device only gets recognized for a split second after being plugged in or being reset, then it stops being recognized again (after about 0.5 seconds)

To reproduce: Out of the box the coral micro worked normally, with the face detection running. I connected it to a Windows machine and flashed it with "blink-led" Arduino script on Arduino IDE 2.2.1, which worked fine. Afterwards I flashed it again with the "person_detection" script from the Tensorflow Lite library. After this the device broke and started acting as described above.

fredgfc commented 8 months ago

same problema here

hongyuejin commented 8 months ago

I have the same issue. I used a mac to flash it with detectface example project on Arduino and it just broke. The dev board micro can't be detected anymore.

Perugius commented 8 months ago

I solved the problem, First you have to go into SDP mode, explained in the troubleshooting page: https://coral.ai/docs/dev-board-micro/arduino/#troubleshooting The way it's explained was weird and I couldn't get it into SDP mode because I was holding the User button down for too long. Just hold it for a second or two while plugging it in and then let go. Then when you run lsusb the board should be listed as: NXP Semiconductors SE Blank RT Family

Finally, just follow the getting started example and flash it with the face detection example and the board should be fixed! (I did run into some problems when running setup.sh and I manually installed some of the packages and the flashing worked)

google-coral-bot[bot] commented 8 months ago

Are you satisfied with the resolution of your issue? Yes No