Skip to content

Flashing on Windows #1

@jackhumbert

Description

@jackhumbert

I'm trying to use my MSYS2 x64 setup to flash, and flash.py gives me this error:

AttributeError: function/symbol 'hid_enumerate' not found in library '<None>': No such process

When I try to walk through loading easyhid.py manually (using the one here with the compiled hidapi.dll), I get this:

OSError: cannot load library hidapi.dll: Exec format error.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'hidapi.dll'

I'm not super familiar with Python or FFI, but does there need to be a x64 version of the dll? My next step is compiling the dll locally.

What kind of setup are you using to flash on Windows right now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions