Newbie Trying To Install USB Coral TPU

Hi there

I’m trying to get Frigate working with a USB Coral TPU and struggling. I’m not very knowledgeable about such things but have been trying to work my way through the process using google and chat gpt.

I’ve installed Docker Desktop on my Windows PC (i5 12450H 32GB Ram) and managed to get Frigate working with all of my cameras. While I have been setting this up I have reduced it down to just one for simplicity.

I have a Home Assistant Green and have Mosquito installed.

Frigate seems to be working ok

Here is my current config.yml file

mqtt:
host: homeassistant
user: frigate
password: frigate

cameras:
reolink-front-camera-2:
ffmpeg:
inputs:
- path: rtsp://XXX:[email protected]:554
roles:
- detect

detect:
  width: 1920
  height: 1080

version: 0.15-1

semantic_search:
enabled: true
reindex: false
model_size: small

Following the process through with Chat GPT (I am aware this can contain flaws). It asks me to check the device is detected by running “usbipd list” at the command line, I get this list when I do…

Which indicates that the device is installed (I can also see it in Device Manager).

However every time I am told that it should not be in DFU mode which apparently means the device has missing/corrupted firmware and I need to flash it. I cannot see any reference to flashing it and I am not sure if this is a ghost?

Can anyone corroberate this advice and advise of the next steps for me to get this working - or tell me I am well out of my depth and to just give up :slight_smile:

You don’t flash a coral

The config you posted looks incorrect. To use coral you must add detector section

detectors:
  coral:
    type: edgetpu
    device: usb

EDIT
Really your entire config looks wrong. I add example

################################
#           MQTT               #
################################
mqtt:
  host: mosquitto
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: frigate
  password: frigate
  stats_interval: 60

################################
#          DETECTORS:          #
################################
detectors:
  coral:
    type: edgetpu
    device: usb
    
ffmpeg:
  hwaccel_args:
    - -c:v:1
    - h264_v4l2m2m
################################
#            GO2RTC            #
################################
go2rtc:
  api:
    listen: 1984
  webrtc:
    listen: 8555
    candidates:
      - 10.9.10.15:8555
      - frigate:8555

################################
#           STREAMS            #
################################
#West 10.9.20.20
#FrontDoor 10.9.20.21
#Driveway 10.9.20.22

  streams:
    Camera0:
      - rtsp://10.9.20.20:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
    Camera1:
      - rtsp://10.9.20.21:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
    Camera2:
      - rtsp://10.9.20.22:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream

################################
#          CAMERAS             #
################################
cameras:

  West:
    ffmpeg:
      inputs:
        - path: rtsp://frigate:8554/Camera0
          roles:
            - record
            - detect
    #detect:
    #  width: 1280
    #  height: 720
    #  fps: 10
    #  enabled: true

    record:
      enabled: true
      retain:
        days: 7
      alerts:
        retain:
          days: 7
      detections:
        retain:
          days: 7
    objects:
      track:
        - animal
        - car
        - motorcycle
        - person

    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      crop: false
      required_zones: []
      retain:
        default: 10


###########################################
  FrontDoor:
    ffmpeg:
      inputs:
        - path: rtsp://frigate:8554/Camera1
          roles:
            - record
            - detect
    #detect:
    #  width: 1280
    #  height: 720
    #  fps: 10
    #  enabled: true

    record:
      enabled: true
      retain:
        days: 7
      alerts:
        retain:
          days: 7
      detections:
        retain:
          days: 7
    objects:
      track:
        - animal
        - car
        - motorcycle
        - person

    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      crop: false
      required_zones: []
      retain:
        default: 10

#######################################
  Driveway:
    ffmpeg:
      inputs:
        - path: rtsp://frigate:8554/Camera2
          roles:
            - record
            - detect
    #detect:
    #  width: 1280
    #  height: 720
    #  fps: 10
    #  enabled: true

    record:
      enabled: true
      retain:
        days: 7
      alerts:
        retain:
          days: 7
      detections:
        retain:
          days: 7
    objects:
      track:
        - animal
        - car
        - motorcycle
        - person

    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      crop: false
      required_zones: []
      retain:
        default: 10

version: 0.15-1

usb coral updates at first use. Since you have not used it it is showing in DFU mode. Ignore it for now

You need to follow these steps before you can start using the TPU. If you unplug the TPU at any point it will reset and you’ll need to the follow the steps once again.