Jump to content
43oh

/dev/cu.uart missing on OS X with MSP430F5529


Recommended Posts

I just got my MSP430F5529 launchpad and tried to use Energia 10 but /dev/cu.tty doesn't show up in the serial ports menu.  All I see is /dev/tty.usbmodem14121 and /dev/tty.usbmodem14123.  If I try selecting them and uploading I get "tilib: device initialization failed".

 

I've installed the serial drivers and checked the Mac System Report USB Device Tree and see that the MSP Tools Driver is installed ok.   Energia 10 and the 5529 work fine with Windows.   Energia 10 on OS X works fine with MSP430G2553 and Stellaris/Tiva.  The 5529 firmware was updated successfully when using Windows.

 

Any suggestions?

 

Link to post
Share on other sites

F5529 will not show up as /dev/cu.ttyxxx but rahter as /dev/tty.usbmodemxxxx. Make sure that you select the Serial port with the highest number. In your case this is /dev/tty.usbmodem14123 since that is the application UART that is used with Serial.xxx(). Selecting the lowest number serial port will conflict with programming the board.

If you are on OS X and you have previously upgraded it using windows then you might be asked to upgrade again. Unfortunately the DLL's included in Windows and Mac OS X differ and rely on different versions of the F5529 programmer firmware.

Link to post
Share on other sites

So, if I understand correctly,  the lowest port is used for uploading programs and that is selected automatically and when I select a serial port from the GUI that is only for the serial monitor?

 

In any case, I tried to upload a program after selecting both ports and got the same error.  Any more suggestions?  Any ideas of how to debug this?

Link to post
Share on other sites

So, if I understand correctly,  the lowest port is used for uploading programs and that is selected automatically and when I select a serial port from the GUI that is only for the serial monitor?

 

Correct, lowest port number is used by mspdebug for uploading and should not be selected since that will conflict with the upload. The second, highest numbered port, is for the Serial.xxx stuff.

 

Did Energia prompt you for select Tools->Update Programmer? Can you please paste the output from the log window? Make sure that "Show verbose output during upload" That should give us a bit more information to go on.

Link to post
Share on other sites

Well I guess I must be losing it.   I did as requested and it worked fine.  I turned off verbose logging and it worked fine.  I have no idea why it failed the other day other than possibly things got out of sync with the firmware updates.  I recall updating the firmware successfully both on Windows and OS X and then it stopped prompting me to update in OS X even after updating it in WIndows.  Tonight it asked for an update in OS X, and after that all was well.  Thanks for the help.

 

Off Topic - will it ever be possible for the DLLs to be the same so that only one update will be required?

 

  

Link to post
Share on other sites
  • 4 months later...

Same Problem like Luke, but if i choose the highest Number on my Macintosh the problem doesn't leave

usbutil: unable to find a device matching 0451:f432

https://github.com/energia/Energia/wiki/Getting-Started#selecting-the-serial-port

this link said that i need an usb port who's called dev/cu.uart. On energy there appears just dev/cu.usbmodem and dev/cu.bluetooth. What did i have to do for working.

 

gz

Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...