Since release 152, embedXcode includes improved boards USB ports names. As main benefit, embedXcode can manage multiple boards.
For example, the USB port name is now /dev/tty.usbmodem1* when it used to be /dev/tty.usbmodem* for the Arduino Uno, and /dev/tty.usbmodem0E* instead of /dev/tty.usbmodem* for the Stellaris LaunchPad.
Those new USB ports names allow to connect multiple boards and embedXcode finds the right port without displaying a dialog message.
Each platform has a different implementation of the USB port naming. Arduino uses the physical USB port of the Mac while each LaunchPad has a unique port name.
Now, two issues reported by users:
Some USB hubs change the USB port names.
- When Mac goes to sleep and then wakes up, USB ports are enumerated with an different name.
In any case,
- just uncomment on the main makefile the line #BOARD_PORT = /dev/tty.usbmodem*
- and specify
- either a more general name BOARD_PORT = /dev/tty.usbmodem*.
- or the specific USB port name of the board BOARD_PORT = /dev/tty.usbmodem1403
To know the USB port names of the active boards, proceed as follow:
launch a Terminal window
attach the boards through USB
run the following command
For more information about how to know the name of the USB port, please refer to chapter • section • sub-section Use the Project • Add a Board Configuration File • Create a Configuration File for a New Board of the User Manual.