Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashtool troubleshooting - Ubuntu 24.04 LTS #118

Open
AugustoGuerradeLima opened this issue May 15, 2024 · 0 comments
Open

Flashtool troubleshooting - Ubuntu 24.04 LTS #118

AugustoGuerradeLima opened this issue May 15, 2024 · 0 comments
Labels
Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux type:build/Install Build and install issues

Comments

@AugustoGuerradeLima
Copy link

AugustoGuerradeLima commented May 15, 2024

Description

When i run lsusb

Google Inc. Coral Dev Board Micro

I already tried everything on the flash tool troubleshooting section as start the serial mode. When i run python3 flashtool.py -e detect_faces, the error appears

Click to expand!

Issue Type

Build/Install

Operating System

Ubuntu

Coral Device

Dev Board Micro

Other Devices

No response

Programming Language

No response

Relevant Log Output

Finding all necessary files
Creating Filesystem
	Section: 0x0
iMX bootable image generated successfully
Boot Section 0x00000000:
  FILL | adr=0x00010000 | len=0x00000004 | ptn=0xc2000105
  FILL | adr=0x00010004 | len=0x00000004 | ptn=0x00010020
  FILL | adr=0x00010008 | len=0x00000004 | ptn=0x00040004
  FILL | adr=0x0001000c | len=0x00000004 | ptn=0x00080004
  FILL | adr=0x00010020 | len=0x00000004 | ptn=0xc0010021
  ENA  | adr=0x00010000 | cnt=0x00000004 | flg=0x0110
  ERAS | adr=0x00000004 | cnt=0x00000004 | flg=0x0110
  ERAS | adr=0x00000008 | cnt=0x00000004 | flg=0x0110
  ERAS | adr=0x0000000c | cnt=0x00000040 | flg=0x0110
  LOAD | adr=0x00000004 | len=0x00017854 | crc=0x511a1083 | flg=0x0110
  LOAD | adr=0x00000008 | len=0x00017854 | crc=0x85117454 | flg=0x0110
STATE_CHECK_FOR_ANY
STATE_CHECK_FOR_ELFLOADER
STATE_RESET_ELFLOADER
Traceback (most recent call last):
  File "/home/augusto/.coral/coralmicro/scripts/flashtool.py", line 1193, in <module>
    main()
  File "/home/augusto/.coral/coralmicro/scripts/flashtool.py", line 1182, in main
    RunFlashtool(StateCheckForAny, sbfile_path=sbfile_path,
  File "/home/augusto/.coral/coralmicro/scripts/flashtool.py", line 821, in RunFlashtool
    (prev_state, state) = (state, state(**state_kwargs))
                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/augusto/.coral/coralmicro/scripts/flashtool.py", line 610, in StateResetElfloader
    with OpenHidDevice(ELFLOADER_VID, ELFLOADER_PID, serial_number) as h:
  File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/home/augusto/.coral/coralmicro/scripts/flashtool.py", line 589, in OpenHidDevice
    h = hid.device()
        ^^^^^^^^^^
AttributeError: module 'hid' has no attribute 'device'. Did you mean: 'Device'?
@google-coral-bot google-coral-bot bot added Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux type:build/Install Build and install issues labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux type:build/Install Build and install issues
Projects
None yet
Development

No branches or pull requests

1 participant