Issue with MSP430 ez430-RF2500 serial UART on Ubuntu 12.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with MSP430 ez430-RF2500 serial UART on Ubuntu 12.04

ravim
This post was updated on .
Hello everyone,

I have been facing problem with EZ430-RF2500 devices serial UART to make work on Ubuntu 12.04. Here is the dmesg | tail output.

[ 3905.616459] usb 3-2: Manufacturer: Texas Instruments
[ 3905.616462] usb 3-2: SerialNumber: 7FFF427A4D081442
[ 3905.616931] usb 3-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 3905.640250] cdc_acm 3-2:1.0: This device cannot do calls on its own. It is not a modem.
[ 3905.640259] cdc_acm 3-2:1.0: No union descriptor, testing for castrated device
[ 3905.640294] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
[ 3905.642120] usbcore: registered new interface driver cdc_acm
[ 3905.642123] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 3905.684657] usbcore: registered new interface driver usbhid
[ 3905.684664] usbhid: USB HID core driver



My kernel version is 3.5.0-36-generic
When I use minicom or simple stty access on /dev/ttyACM0, I get nothing on the screen. I even tried to access it using python serial, no luck there too. I am using right setting (9600 8N1). It works fine on windows machine. Let me know if some has been successfully using it. Let me know if some more information is needed.

Thanks and Regards,
Ravi
Reply | Threaded
Open this post in threaded view
|

Re: Issue with MSP430 ez430-RF2500 serial UART on Ubuntu 12.04

Peter Bigot-4
Not an answer, just more data:

I have found the ttyACM driver on Ubuntu 12.04 to be unreliable with the
ez430 serial interface on EXP430G2 (Launchpad) and EXP430FR5739
(Fraunchpad).  I haven't done enough with the RF2500T since switching to
Ubuntu to tell whether it has the same behavior.

My applications incorporate the workaround required by Fedora kernels to
avoid breaking the ACM driver (specifically, the device must not produce
output until the driver has completed initialization).

On Ubuntu I've found serial i/o works for some number (zero or more) of
MSP430 device insertions after boot.  At some point, a newly inserted
device does not produce serial output.  Subsequent insertion and removal
does not restore a functioning serial device.  mspdebug using rf2500 driver
works, so it's specific to the ACM driver.

It may recover if the acm or ti_usb kernel module is unloaded and reloaded,
since a reboot will restore serial functionality.  You might try that; I
often have a non-eZ430 ACM serial device plugged in so this workaround
doesn't apply in my environment.

I've taken to using an external FTDI-based serial board plugged directly
into the MSP430 UART signals for these devices when the problem occurs,
confirming that the issue is with Ubuntu, not the MSP430.

Peter



On Fri, Jul 19, 2013 at 10:14 AM, ravim <[hidden email]> wrote:

> Hello everyone,
>
> I have been facing problem with making serial UART to make work on Ubuntu
> 12.04. Here is the dmesg | tail output.
>
> [ 3905.616459] usb 3-2: Manufacturer: Texas Instruments
> [ 3905.616462] usb 3-2: SerialNumber: 7FFF427A4D081442
> [ 3905.616931] usb 3-2: ep 0x82 - rounding interval to 1024 microframes, ep
> desc says 2040 microframes
> [ 3905.640250] cdc_acm 3-2:1.0: This device cannot do calls on its own. It
> is not a modem.
> [ 3905.640259] cdc_acm 3-2:1.0: No union descriptor, testing for castrated
> device
> [ 3905.640294] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
> [ 3905.642120] usbcore: registered new interface driver cdc_acm
> [ 3905.642123] cdc_acm: USB Abstract Control Model driver for USB modems
> and
> ISDN adapters
> [ 3905.684657] usbcore: registered new interface driver usbhid
> [ 3905.684664] usbhid: USB HID core driver
>
>
>
> My kernel version is 3.5.0-36-generic
> When I use minicom or simple stty access on /dev/ttyACM0, I get nothing on
> the screen. I even tried to access it using python serial, no luck there
> too. I am using right setting (9600 8N1). It works fine on windows machine.
> Let me know if some has been successfully using it. Let me know if some
> more
> information is needed.
>
> Thanks and Regards,
> Ravi
>
>
>
>
> --
> View this message in context:
> http://msp430-gcc-users.1086195.n5.nabble.com/Issue-with-MSP430-ez430-RF2500-serial-UART-on-Ubuntu-12-04-tp6814.html
> Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Mspgcc-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users