-
Notifications
You must be signed in to change notification settings - Fork 2k
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
boards/mulle: mulle boards' serial port is derived from its serial nr #4435
boards/mulle: mulle boards' serial port is derived from its serial nr #4435
Conversation
I had no idea that OSX assigned its USB device node names like that. I will take a look at it when I get home from my travels. From a quick glance I guess that the USB device name should be derived from PROGRAMMER_SERIAL, not MULLE_SERIAL. |
@gebart, ping! |
@@ -82,7 +82,11 @@ ifeq ($(PORT),) | |||
PORT := $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh) | |||
endif | |||
else ifeq ($(OS),Darwin) | |||
PORT := $(shell ls -1 /dev/tty.usbserial* | head -n 1) | |||
ifneq ($(MULLE_SERIAL),) | |||
PORT := /dev/tty.usbserial-$(MULLE_SERIAL)B |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PROGRAMMER_SERIAL
Update to PROGRAMMER_SERIAL instead of MULLE_SERIAL to match the Linux side of things. |
(MULLE_SERIAL is the Mulle board itself, the programmer board has its own serial number encoded in the USB descriptor) |
@thomaseichinger ping! |
needs a rebase |
I'll try to steal my wife's MacBook sometime next week to test this PR.
|
@thomaseichinger: seems like there are un-addressed comments above? ( |
6460855
to
d25fb8a
Compare
@thomaseichinger I have not yet had a chance to install the FTDI drivers and test with a real Mulle on her Mac. |
Tried to flash on OS X. Here's the error I get.
|
Your user account doesn't have usb permissions. Try |
You only need to set |
@gebart I'm able to flash other boards via USB with my user account (without being root), so it must be board-specific, right? |
@gebart even when I sudo, I get the same error:
|
and here's what I have in my access rights: |
@kYc0o can you also test with your MAC? |
Yes I can! |
nice, I put a mulle board on your desk :-) |
The error seems to be that in OSX El Capitan we need to force the install of the FTDI drivers in order to have access to the serial ports. However, openOCD seems to bypass the drivers so it needs to be unloaded. Anyways, I'm having the following errors:
I'll investigate to find out what's happening. |
Fixed, mulle board was docked wrongly. ACK and let's wait for Murdock. |
Murdock is happy -> GO! |
No description provided.