Jump to content
43oh

LaunchPad OSX USB drivers (CDC /VCP)


Recommended Posts

Basically, there is (to my knowledge) a proprietary driver for the LP on Windows. Non-Windows users have had mixed results with the TI USB stuff. It depends upon which part is used though.

 

I seem to recall that the Launchpad and the MSP430FR5739 are some of the worst offenders. But the Chronos is a bit better. I can use the Java / Processing programs with my Chronos, but I cannot get data from my MSP430FR5739.

 

Connecting to the device with some sort of terminal / monitoring program produces mixed results depending upon the board. I spent several hours a few weeks ago trying to troubleshoot Processing ( http://processing.org/ ) to determine if the serial communication is broken on Linux. Replaced my java implementation, the Java comm drivers, etc... With no luck. Then I discovered that I am not the only one with this problem. I seem to recall that someone else mentioned this here about 2 months ago as well.

 

For those that don't know, the majority of sample programs that ship with the MSP430 hardware are written in Processing, and are cross-platform; e.g. the FRAM and Launchpad demo applications. I can run these on Linux, but they bomb-out while trying to communicate with the hardware over USB.

 

Arduino uses Processing as the basis for the IDE, which is probably why TI went that route for the Launchpad samples (the Launchpad is obviously inspired by Wiring / Arduino in many respects). It's pretty good for writing dead-simple cross-platform apps.

Link to post
Share on other sites
  • Replies 88
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hi All,   Soucre code is hosted on Google code. http://code.google.com/p/msp430lpcdc/   Here is the latest link to the Driver. - Version 1.0.3b http://code.google.com/p/msp430lpcdc/do ... g&

Finally mashed together a complete set of code to use as base, using mostly apple's code.   Current status.   The KEXT attached nicely to interface, with a BSD TTY port exposed. on the first look

Got a good working commit today, but need to press connect and disconnect a few times to get it to work. Next is clean up, since we know what device we are dealing with, I will remove all unnecessary

Posted Images

Good work. Now can any of you tell me how significant this is. I asked a few questions earlier, but it got lost. I always thought there was already a driver.

If it is, then awesome job!

 

Ok.. I'm a little bad at mac stuff. I've never handled one. What is KEXT? A search does not define it well.

 

- What was working before you started with this? I already thought there was a driver for MACs(correct me if wrong please)

- You now can enumerate the HID part(debugger), but having problems with the serial (CDC class).. correct?

 

Thanks for your work.

 

I don't really know the significance yet. It is really more about making a part that suppose to work, work.

It all start after I made my intervalometer, I found out that I it won't work with a MAC. Switching between Windows and Mac isn't fun as well.

 

The current driver for MAC is a code less KEXT, that means it attaches to the IORegister to keep apple's driver from controlling it, giving MSPdebug control over the HID part. Since there is no code on the CDC side, there is no serial port.

 

TI's beta driver works for some other device, not the Launch Pad or ez430. This Kext is going to just support this 2 device, since I don't have anything else. (haven't test it with the FRAM kit yet.)

 

TI CDC implementation is flawed in the first place (there are many other commercial devices that are like that), it is not difficult to change the firmware to fix this, it is also not difficult for Apple to fix their driver to work with it.

 

The official stand for TI is that "they don't support Mac"..

Link to post
Share on other sites

Did some tests, it's not working for me at the moment.

Tryed with the launchpad, the fram board, the rf2500 usb dongle, and the chronos usb dongle.

None of them were recognized as serial ports.

PentiumPC, if I can help in any way just drop me a line.

BTW, I'm using 10.6.8 on a macbook pro 2010

Link to post
Share on other sites
Did some tests, it's not working for me at the moment.

Tryed with the launchpad, the fram board, the rf2500 usb dongle, and the chronos usb dongle.

None of them were recognized as serial ports.

PentiumPC, if I can help in any way just drop me a line.

BTW, I'm using 10.6.8 on a macbook pro 2010

 

Do you have the codeless Kext loaded??if yes it wil attach to the IORegister and prevent and other KEXT from working.

You check your IORegister if it looks like that when you plug in your LaunchPad.

 

6195095370_ab8c1fd7eb_o.jpg

 

You need to remove it by typing in the following:

sudo rm -rf /System/Library/Extensions/ez430rf2500.kext

 

Restart and see if it works.

 

Thanks and Regards,

Terence

Link to post
Share on other sites

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...