This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529 on Mac OS X 10.10.5

Other Parts Discussed in Thread: ENERGIA, MSP430F5529

Mac OS X 10.10.4 seems to have changed something compared on USB management with Mac OS X 10.10.3.

$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port /dev/tty.Bluetooth-Modem

$ lsusb
Bus 020 Device 025: ID 0451:2046 Texas Instruments Hub 
Bus 020 Device 026: ID 2047:0013 2047 MSP Tools Driver Serial: 324F0C470E002200

The only solution so far is to disconnect the board and wait for 10 minutes, then replug. After a while, connection is lost again.

A sketch as simple as printing "." every second disconnects after 10 seconds and reboots.

Upload trace

MSPDebug version 0.22 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2013 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: usbmodem14221
MSP430_Initialize: usbmodem14221
Firmware version is 30403000
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430F5529 (id = 0x0030)
8 breakpoints available
MSP430_EEM_Init
Chip ID data: 55 29 18
Erasing...
Programming...
Writing 2958 bytes at 4400...
Writing  128 bytes at ff80...
Done, 3086 bytes total
MSP430_Run
MSP430_Close

Sketch

void setup()
{
  // put your setup code here, to run once:
  Serial.begin(9600);
  Serial.println("***");
}

uint16_t i = 0;

void loop()
{
  // put your main code here, to run repeatedly:
  delay(1000);
  Serial.println(i, DEC);
  i++;
}

Serial console


0
1
2
3
4
5
6




0



0
1



0
1
2


0

  • Same happens with CCS and CCS Cloud. I've opened a ticket for Energia at 

    MSP430F5529 on Mac OS X: Connection Fails · Issue #693 · energia/Energia

    GitHub
    LaunchPad MSP430F5529 version 1.5 on Mac OS X 10.10.4 Mac OS X 10.10.4 seems to have changed something compared on USB management with Mac OS X 10.10.3. $ ls /dev/tty.* /dev/tty.Bluetooth-Incomi... 

    Document MSP430F5529 LaunchPadTM Development Kit (MSP‐EXP430F5529LP) (slau533c) mentions restrictions for Mac two times:

    2.2.2 eZ-FET lite Onboard Emulator 

    Mac OS X has a limitation that prevents it from enumerating composite USB devices that include a CDC interface. For this reason, the eZ-FET lite currently does not work with the default OS X. 

    3.6 Example: simpleUsbBackchannel 

    The simpleUsbBackchannel example runs on Windows and Linux PCs. However, it does not run on Macs, because the OS X does not support composite CDC devices. This means that OS X does not support the eZ-FET lite emulator or its backchannel UART. 

    What's not clear to me is I haven't faced those limitations with previous release Mac OS X 10.10.2.

    Any plan to provide a full support on Mac OS X?

  • Here's the demise trace when connecting the MSP430F5529 LaunchPad

    USBF:    38836.250    The IOUSBFamily was not able to enumerate a device.

    USBF:    38926.135    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38926.437    The IOUSBFamily was not able to enumerate a device.

    USBF:    38926.969    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38927.271    The IOUSBFamily was not able to enumerate a device.

    USBF:    38927.801    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38928.103    The IOUSBFamily was not able to enumerate a device.

    USBF:    38928.633    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38929.136    The IOUSBFamily was not able to enumerate a device.

    USBF:    38930.195    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38930.496    The IOUSBFamily was not able to enumerate a device.

    USBF:    38931. 30    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38931.332    The IOUSBFamily was not able to enumerate a device.

    USBF:    38933.110    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38933.412    The IOUSBFamily was not able to enumerate a device.

    USBF:    38933.944    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38934.846    The IOUSBFamily was not able to enumerate a device.

    USBF:    38935.673    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38935.975    The IOUSBFamily was not able to enumerate a device.

    USBF:    38936.505    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14100000)

    USBF:    38936.505    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0x14100000)

    USBF:    38936.505    The IOUSBFamily was not able to enumerate a device.

  • I installed the 10.10.5 update and then proceeded with a clean install of Energia 16 and the provided drivers, EnergiaFTDIDrivers2.2.18 and MSP430LPCDC 1.0.3b.
    Shall I consider switching back to Windows?
  • Rei,

    Thank you for bringing this issue to our attention with your detailed explanation. Just for clarification, you are experiencing UART communication issues across all IDEs (Energia, CCS, IAR?) with Mac OS X 10.10.4 or higher? I am currently trying to bring in a Mac OS X Tools expert to investigate the issue.

    Regards,
    Ryan
    • On Windows 8.1 

    Energia and CCS 6.1 doesn't share the same definition of the firmware.

    • On Mac OS X 10.10.5

    Energia and CCS 6.1 doesn't share the same definition of the firmware.

    Additionally, whatever the IDE, Energia, CCS 6.1 and CCS Cloud, the MSP430F5529 crashes and reboots after a while when using the serial port.

  • Rei,

    Have you tried using a different MSP-EXP430F5529 LaunchPad? Our experts have not seen any issues with the F5529 LP and OS X 10.10.4 with CCS. I'm still trying to get support for the OS X version of Energia.

    Regards,
    Ryan
  • I performed a full install of Mac OS X 10.10.5 and clean install of Energia 16. It solved the problem.

    The drivers provided by Energia, CCS Mac and CCS Cloud are conflicting.

    As I'm using the Energia framework, I'll refrain from installing CCS Mac or CCS Cloud.

**Attention** This is a public forum