Jump to content
43oh

LaunchPad OSX USB drivers (CDC /VCP)


Recommended Posts

  • 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

Sorry for being long winded, so can I confirm v1.0b doesn't work with mspdebug?

 

I think it does work,

I compiled mspdebug 0.17, now I have some errors when uploading, but it still works.

 

ok thanks.. I will put it up for downloading soon. will do it tonight if I cannot sleep.. it is 12:12am now..

Link to post
Share on other sites

Thanks very much for your effort !! This is some pretty great news on the OS X side !!

 

But unfortunately, I can't make it run for I don't know which reason... Well, the driver seems to be installed but I can't seem to be able to use it for Serial communication... I had previously tried the ez430rf2500.kext driver as well as to make one with the TIVCPSerial.kext... So I installed your driver (version "MSP430LPCDC 1.0.2b" with your installer) and uninstalled the others.

 

In the I/ORegistryExplorer I can see the "Texas Instruments MSP-FET430UIF" when I connect the launchpad like that (See the attachment for a picture). Also, in the terminal, I can't see it when I type: ls /dev/tty.* (See other attachment)

 

So, just wondering if you know what could be the problem...

 

Any helps will be a great welcome ;)

 

To let you know, I'm using a macbook pro late 2008 with OS X 10.6.6

 

Thanks in advance !!

post-6118-135135514472_thumb.png

post-6118-135135514482_thumb.png

Link to post
Share on other sites

Hi all,

 

Made some fixes to the driver. Latest version is 1.0.3b.

Files linked on the first page.

 

I was trying to rely on OSX to do the driver matching, but it seem that it is Apple's driver or my driver. If my driver is present, it will attach to any usb serial device and won't release it since it matched. So I have problem getting Arduino etc to work.

 

Version 1.0.3b fixed that by checking the VID/PRID during the probing process, it will reject the match if it is not a TI device and release the device to other drivers.

I have also changed the TTY port name from usbmodem to ( uart-+serialno.), so the device port name is unique to the device.

 

Please feedback once you try it out thanks.

 

Regards,

Terence

Link to post
Share on other sites

Hi GuiB,

 

Please try out Version 1.0.3b, linked in page 1 to see if it solves your problem.

It seem that you have no driver attached to the device, not even Apple drivers. I don't know if is it because you are on 10.6.6 or something else, I will try to help you or you can try updating your OSX to 10.6.8.

 

with only Apple's driver loaded it should look like that. (10.6.8)

post-5356-135135514489_thumb.jpg

 

WIth MSP430LPCDC loaded it should look like that.

post-5356-135135514491_thumb.png

 

Regards,

Terence

 

 

 

Thanks very much for your effort !! This is some pretty great news on the OS X side !!

 

But unfortunately, I can't make it run for I don't know which reason... Well, the driver seems to be installed but I can't seem to be able to use it for Serial communication... I had previously tried the ez430rf2500.kext driver as well as to make one with the TIVCPSerial.kext... So I installed your driver (version "MSP430LPCDC 1.0.2b" with your installer) and uninstalled the others.

 

In the I/ORegistryExplorer I can see the "Texas Instruments MSP-FET430UIF" when I connect the launchpad like that (See the attachment for a picture). Also, in the terminal, I can't see it when I type: ls /dev/tty.* (See other attachment)

 

So, just wondering if you know what could be the problem...

 

Any helps will be a great welcome ;)

 

To let you know, I'm using a macbook pro late 2008 with OS X 10.6.6

 

Thanks in advance !!

Link to post
Share on other sites

Pentiumpc,

I received your pm. Thanks.

One think to note and you have actually done it, is to update our first post with all the versions and the latest information/explanation. This will keep users updated and they don't have to scroll through all the pages, although your work is much appreciated.

Link to post
Share on other sites

Hi PentiumPC,

 

thank you very much !! With that new version, my computer detect it and it looks the same as you mention in my IORegistryExplorer except that instead of mentioning "AppleUSBCDC", it says : "IOUSBCompositeDriver" (see the attachment). Not sure if that's a problem... but nevertheless, I see a new device in the terminal with ls /dev/tty.* named "uart-ABFF427A4D19511A" and I was able to get data in MaxMSP from the demo code inside the launchpad !! :D So, I'm quite happy with it !!

 

I just got some problems, at two times my keyboard stopped from working... not sure exactly what did that... I tried to repeat it, but couldn't. At first, it happen when I started MaxMSP and the launchpad was already plugged and the other time I'm not sure exactly what did it, but both time it froze the IORegistryExplorer and the MaxMSP application and then I needed to force reboot if I wanted to get back my keyboard working. However, after two reboot now it seems fine... I'll let you know if I found the problem! Maybe its because I'm still on 10.6.6... I know I need to upgrade ;) So thank you again for your work !! Very appreciated !!

 

I made a mistake while uploading my picture of the IORegistry on my post before. In the application, I made a search for "msp" so I was only getting things with "msp" written. So there was no "IOUSBCompositeDriver" or any others. But, nevertheless, it wasn't exactly like the picture you showed me. I took a screenshot at that time so here they are: (First with 1.0.2b and second with 1.0.3b)

post-6118-135135514493_thumb.png

post-6118-13513551476_thumb.png

Link to post
Share on other sites

Hi GuiB,

 

I am glad it worked for you, "AppleUSBCDC" is from the new "ISOUSBFamily.kext" on 10.7 Lion, on Snow Leopard "IOUSBCompositeDriver" will be attached.

 

1.0.2b was a mistake, sorry about that, I presume apple will do the matching correctly but it did not.

 

MaxMSP looks interesting, I will try it out to see if I can repeat your problem.

 

Port "uart-ABFF427A4D19511A" is unique to your Device, the string of numbers is the serial no. of you device, before that the port name is link to your USB port no. this is so that the software I am writing with remember my last setting for different device, I think it is more useful this way.

 

Regards,

Terence

 

Hi PentiumPC,

 

thank you very much !! With that new version, my computer detect it and it looks the same as you mention in my IORegistryExplorer except that instead of mentioning "AppleUSBCDC", it says : "IOUSBCompositeDriver" (see the attachment). Not sure if that's a problem... but nevertheless, I see a new device in the terminal with ls /dev/tty.* named "uart-ABFF427A4D19511A" and I was able to get data in MaxMSP from the demo code inside the launchpad !! :D So, I'm quite happy with it !!

 

I just got some problems, at two times my keyboard stopped from working... not sure exactly what did that... I tried to repeat it, but couldn't. At first, it happen when I started MaxMSP and the launchpad was already plugged and the other time I'm not sure exactly what did it, but both time it froze the IORegistryExplorer and the MaxMSP application and then I needed to force reboot if I wanted to get back my keyboard working. However, after two reboot now it seems fine... I'll let you know if I found the problem! Maybe its because I'm still on 10.6.6... I know I need to upgrade ;) So thank you again for your work !! Very appreciated !!

 

I made a mistake while uploading my picture of the IORegistry on my post before. In the application, I made a search for "msp" so I was only getting things with "msp" written. So there was no "IOUSBCompositeDriver" or any others. But, nevertheless, it wasn't exactly like the picture you showed me. I took a screenshot at that time so here they are: (First with 1.0.2b and second with 1.0.3b)

Link to post
Share on other sites

Well, now I think the problem is more between the IORegistryExplorer and MaxMSP than your driver for the Launchpad. I opened the IORegistryExplorer and then MaxMSP (without the launchpad connected) and now it was my usb port who stopped working (my usb mouse stopped) and both applications froze and needed to force quit and restart my computer... So, I'll continue to test without both application open and let you know if I got any other bugs ;)

Link to post
Share on other sites

Great.. MAxMSP is way over my head.. I would be interesting to to know how are you using LaunchPad with MaxMSP.

Maybe you can start a thread under Projects to show us what you are working on.

 

Regards,

Terence

 

Well, now I think the problem is more between the IORegistryExplorer and MaxMSP than your driver for the Launchpad. I opened the IORegistryExplorer and then MaxMSP (without the launchpad connected) and now it was my usb port who stopped working (my usb mouse stopped) and both applications froze and needed to force quit and restart my computer... So, I'll continue to test without both application open and let you know if I got any other bugs ;)
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...