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

Firmware Installer does not work with Feather M0 (Mac M1 Ventura 13.1) #213

Closed
JaeminBBQ opened this issue Jun 12, 2023 · 7 comments · Fixed by #212
Closed

Firmware Installer does not work with Feather M0 (Mac M1 Ventura 13.1) #213

JaeminBBQ opened this issue Jun 12, 2023 · 7 comments · Fixed by #212
Labels
bug Something isn't working

Comments

@JaeminBBQ
Copy link

JaeminBBQ commented Jun 12, 2023

Describe the bug
The Firmware Installer is not detecting the EmotiBit with Feather M0.

Expected behavior
Detect EmotiBit and install the firmware onto the EmotiBit.

Additional details

  • EmotiBit software version: 1.8.1
  • EmotiBit firmware version: 1.8.1-TA
  • EmotiBit hardware version: V04a
  • OS version:

To Reproduce
Steps to reproduce the behavior:

  1. Open Firmware Installer
  2. Press Space
  3. Press reset on EmotiBit (While not in hib)
  4. Connect EmotiBit to computer with data capable cable

Screenshots
If applicable, add screenshots to help explain your problem.

Open Firmware Installer Press Space Connect EmotiBit
Screenshot 2023-06-12 at 12 25 36 PM Screenshot 2023-06-12 at 12 30 55 PM Screenshot 2023-06-12 at 12 31 32 PM
when you plug in the Feather M0 into the mac, how does the new port appear in Arduino IDE Tools > Port?
Screenshot 2023-06-18 at 6 42 18 PM

1.8.1.fix-firmwareInstallerAppleSiliconFix.2

Results

Open Firmware Installer Press Space Connect EmotiBit GUI screen after connecting EmotiBit
Screenshot 2023-06-18 at 6 52 20 PM Screenshot 2023-06-18 at 6 52 52 PM Screenshot 2023-06-18 at 6 53 25 PM Screenshot 2023-06-18 at 6 53 41 PM

Still not detecting.

@JaeminBBQ JaeminBBQ added the bug Something isn't working label Jun 12, 2023
@nitin710
Copy link
Collaborator

Huh, looks the the driver in Apple silicon Macs is either

  1. Not exposing VID/PID in device info
  2. VID/PID are not getting registered by the drivers.

Anyway, looks like this can be solved by a software patch. Ill add the fix in #212

@nitin710
Copy link
Collaborator

nitin710 commented Jun 16, 2023

The Feather M0 shows up as usbmodem
and the Feather esp32 shows up as usbserial (Apart from the SLAB_USBtoUART port)

The solution could require checking for the keyword usbmodem in the serial name

@nitin710
Copy link
Collaborator

Looks like something in the ofxSerial library may not be handling the information as presented by the drivers in M1 macs: https://github.com/bakercp/ofxSerial/blob/7a02ff97c02fdd038e367806128415ed794e48c7/libs/serial/src/impl/list_ports/list_ports_osx.cc#L241-L277

@JaeminBBQ
Copy link
Author

When you get the chance, can you share what the PID/VID are for the Adafruit Feather M0, as shown in this link:
https://www.keychron.com/pages/how-to-check-pid-and-vid-in-your-mac

Screenshot Description
Screenshot 2023-06-19 at 3 58 28 PM Screenshot of Adafruit Feather M0 in USB

@JaeminBBQ
Copy link
Author

Compiled from source on OpenFramework 0.11.2 but still getting same results where PID and VID are not able to be read.

Screenshot 2023-06-30 at 11 25 45 AM

@nitin710
Copy link
Collaborator

nitin710 commented Jul 12, 2023

@JaeminBBQ
Copy link
Author

1.8.1.fix-firmwareInstallerAppleSiliconFix.3
https://github.com/EmotiBit/ofxEmotiBit/releases/tag/untagged-af4ea2a9b011fb0ffe50

Open Firmware Installer Press Space Connect EmotiBit
Screenshot 2023-07-12 at 9 42 41 AM Screenshot 2023-07-12 at 9 43 14 AM Screenshot 2023-07-12 at 9 43 47 AM
Screenshots of terminal after detecting EmotiBit
Screenshot 2023-07-12 at 9 44 08 AM
Screenshot 2023-07-12 at 9 44 20 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants