Beagleboard Interface with MSP430 Launchpad

642 views
Skip to first unread message

Siddharth Kumar

unread,
Jul 4, 2012, 5:38:29 AM7/4/12
to ti-lau...@googlegroups.com
My Beagleboard is Running Angstrom Linux 3.2.18 Kernel:

i was able to compile the the modules for the 3.2.18 kernel and now i have three packages

kernel-module-ti-usb-3410-5052.ipk

kernel-firmware-ti-3410.ipk

kernel-firmware-ti-5052.ipk

kernel-module-cdc-acm.ipk

i did opkg install for all these packages and then ran

root@beagleboard:/# modprobe ti_usb_3410_5052 vendor_3410=0x0451 product_3410=0xf432

[ 23.988830] usbcore: registered new interface driver usbserial
[ 23.995025] USB Serial support registered for generic0=0x0451 product_3410=0xf
[ 24.000457] usbcore: registered new interface driver usbserial_generic
[ 24.007385] usbserial: USB Serial Driver core
[ 24.022460] USB Serial support registered for TI USB 3410 1 port adapter
[ 24.029663] USB Serial support registered for TI USB 5052 2 port adapter
[ 24.036804] usbcore: registered new interface driver ti_usb_3410_5052
[ 24.043792] ti_usb_3410_5052: v0.10:TI USB 3410/5052 Serial Driver

After that i inserted the launchpad and i get this output on the screen..

root@beagleboard:/# [ 412.035369] usb 1-2.2: new full-speed USB device number 5 using ehci-omap
[ 412.183868] usb 1-2.2: New USB device found, idVendor=0451, idProduct=f432
[ 412.191162] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 412.198944] usb 1-2.2: Product: Texas Instruments MSP-FET430UIF
[ 412.205108] usb 1-2.2: Manufacturer: Texas Instruments
[ 412.210601] usb 1-2.2: SerialNumber: E2FF426C500A4A1B
[ 412.224822] ti_usb_3410_5052 1-2.2:1.0: TI USB 3410 1 port adapter converter detected
[ 443.269744] usb 1-2.2: ti_download_firmware - error downloading firmware, -110
[ 443.277435] ti_usb_3410_5052: probe of 1-2.2:1.0 failed with error -5
[ 443.284271] cdc_acm 1-2.2:1.0: This device cannot do calls on its own. It is not a modem.
[ 443.292938] cdc_acm 1-2.2:1.0: No union descriptor, testing for castrated device
[ 443.300781] cdc_acm 1-2.2:1.0: ttyACM0: USB ACM device
[ 453.355377] generic-usb 0003:0451:F432.0002: usb_submit_urb(ctrl) failed
[ 453.362609] generic-usb 0003:0451:F432.0002: timeout initializing reports
[ 453.374694] generic-usb 0003:0451:F432.0002: hiddev0,hidraw0: USB HID v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on us1

Am i missing some firmware ? where can i get this from? 

I am using Minicom to communicate with the Beagleboard and am running Ubuntu 12.04 on my Host machine..

Thank you for any help ..


Harri Haataja

unread,
Jul 4, 2012, 6:17:51 AM7/4/12
to ti-lau...@googlegroups.com
On 4 July 2012 12:38, Siddharth Kumar <sid.kum...@gmail.com> wrote:
> My Beagleboard is Running Angstrom Linux 3.2.18 Kernel:
>
...
> [ 443.269744] usb 1-2.2: ti_download_firmware - error downloading firmware,
> -110
> [ 443.277435] ti_usb_3410_5052: probe of 1-2.2:1.0 failed with error -5

> Am i missing some firmware ? where can i get this from?

I don't remember for sure if those messages are an actual problem. You
seem to be getting the UART and HID devices for communicating with the
target and programming it.

Have you tried using them? Does it fail?

> I am using Minicom to communicate with the Beagleboard and am running Ubuntu
> 12.04 on my Host machine..

Did you know, you can just use GNU screen(1) and ignore all the
useless modem bits and odd UI that minicom brings in? :)

http://pthree.org/2010/03/23/connecting-to-serial-null-modems-with-gnu-screen/

--
I appear to be temporarily using gmail's horrible interface. I
apologise for any failure in my part in trying to make it do the right
thing with post formatting.

Siddharth Kumar

unread,
Jul 4, 2012, 6:47:54 AM7/4/12
to ti-lau...@googlegroups.com
Right now im just trying to read the data being sent from the Launchpad ...

the command "screen" is not recognized by the beagleboard .. If i try 

stty 2400 -F /dev/ttyACM0
cat /dev/ttyACM0

i dont get any output ...( where as the exact same thing works on my host Ubuntu)

Thank you for your quick reply :)

I am a lil new to all this so sorry if some of my questions seem stupid.. 

Siddharth Kumar

unread,
Jul 4, 2012, 7:04:55 AM7/4/12
to ti-lau...@googlegroups.com
Sorry i think i misunderstood you i guess you were asking me to use screen on my host pc to communicate with the beagleboard ... 
Im using that now thanks for the tip .....

But i still dont get any output on using 

cat /dev/ttyACM0


Joe Moore

unread,
Jul 4, 2012, 12:15:50 PM7/4/12
to ti-lau...@googlegroups.com
You could download (or compile) a beagleboard-compatible version of
GNU Screen to run on the board.

I haven't worked with serial on embedded Linux lately, but as I
recall, you'll have to set the serial parameters for the beagle's
serial port via setserial. I think stty only applies the setting
until the port is closed- when cat reopens /dev/ttyACM0, the kernel's
defaults are taken.

And I'm pretty sure the launchpad speaks faster than 2400 by default.

I'd recommend working out how to talk to the launchpad from your
Ubuntu PC (host) to get the parameters right, and then make the
appropriate settings on the Beagle.

--Joe
--
Sent from my mobile device

Shyam Ramanath

unread,
Jul 4, 2012, 12:37:55 PM7/4/12
to ti-lau...@googlegroups.com
Thank you so much sir let me try it and will surely revert back with the feedback

Siddharth Kumar

unread,
Jul 5, 2012, 3:18:50 AM7/5/12
to ti-lau...@googlegroups.com
Thank you all for your input ! :)

I got it working using microcom from the Busybox tool set :)!

#microcom -s 9600 /dev/ttyACM0

Thank you once again ! 


Eric Chen

unread,
Sep 16, 2012, 8:23:48 PM9/16/12
to ti-lau...@googlegroups.com
Hi,

I have been trying forever to read the same board on OpenWRT.
Would you care to share some of your results? For example, what is your "lsusb" config? And what happens when you run that microcom command? Any good tests I can use?
And I guess you never got past that "error downloading firmware" problem for the ti_usb_3410_5052 driver (which I assumed was THE standard way to go).

Thanks for any help...

-etc
Reply all
Reply to author
Forward
0 new messages