Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » MSPGCC
  • » [Mspgcc-users] getting ez430 working with linux [RSS Feed]

#1 Jan. 19, 2009 03:17:49

Shivdas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi, I am using ez430-RF2480 for connecting with linux. after connecting
it gets detected as cdc-acm device with "dmesg" as

usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
/build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
This device cannot do calls on its own. It is no modem.
usbcore: registered new interface driver cdc_acm
/build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
v0.25:USB Abstract Control Model driver for USB modems and ISDN
adapters
usbcore: registered new interface driver hiddev

so, I removed cdc-acm, and tried to insert ti_usb_3410_5052 module,
but I am not getting any /dev/ttyUSB0 getting created.

As, per lot of posts in this ML , I may needs to change configuration
value to "2", by echo 2 >
/sys/bus/usb/devices/DEV_ID/bConfigurationValue

But as per, lsusb -v (pested athttp://pastie.org/364030), It device
doesn't support 2 configurations. hence I can't change configuration
velue.

So, Do I needs to upgrade any firmware to get it working with linux,?
Why my eZ430 doesn't shows two configurations?
Do I needs to modify drivers/usb/serial/ti_usb_3410_5052.c to get it
working with my linux m/c.(kernel 2.6.24)?

Could you, please help me..

Thanks for your help.

Thanks and Regards,
Shivdas Gujare

Offline

#2 Jan. 19, 2009 03:57:38

Robert S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi Shivdas,

Shivdas Gujare wrote:
> So, Do I needs to upgrade any firmware to get it working with linux,?
> Why my eZ430 doesn't shows two configurations?
> Do I needs to modify drivers/usb/serial/ti_usb_3410_5052.c to get it
> working with my linux m/c.(kernel 2.6.24)?

There was some breakage with using the UIF and EZ430 under Linux 2.6.24.
This has since been fixed in later releases. If you can't update your
kernel, then you can install the fix that I published here:http://xgoat.com/wp/2008/03/24/uif-fixing/Hope that helps :-)

Robsignature.ascDescription:This is a digitally signed message part

Attachments:
attachment signature.asc (197 bytes)

Offline

#3 Jan. 19, 2009 22:02:56

Shivdas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi Robert,
Thanks for your help.

Basically, I am facing a problem as, I don't know how to upload
firmware to eZ430-RF2480.
As, per my understanding to get detected as /dev/ttyUSB0,
ti_usb_3410_5052. drivers needs to upload firmware
to device. once this is successful, I can echo 2 to bConfigurationValue.

But my driver on Ubuntu, doesn't downloads firmware at all.
and every time I get this in dbesg,

usbcore: registered new interface driver usbserial
/build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
/build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial Driver core
/build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial support registered for TI USB 3410 1 port adapter
/build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c:
USB Serial support registered for TI USB 5052 2 port adapter


I tried above procedure, with 2.6.27 also, with no sucess.
Do you have any Idea, of this problem?

Thanks and Regards,
Shivdas Gujare

On Mon, Jan 19, 2009 at 1:27 AM, Robert Spanton <rspan***@*epler.net> wrote:
> Hi Shivdas,
>
> Shivdas Gujare wrote:
>> So, Do I needs to upgrade any firmware to get it working with linux,?
>> Why my eZ430 doesn't shows two configurations?
>> Do I needs to modify drivers/usb/serial/ti_usb_3410_5052.c to get it
>> working with my linux m/c.(kernel 2.6.24)?
>
> There was some breakage with using the UIF and EZ430 under Linux 2.6.24.
> This has since been fixed in later releases. If you can't update your
> kernel, then you can install the fix that I published here:
>http://xgoat.com/wp/2008/03/24/uif-fixing/>
> Hope that helps :-)
>
> Rob
>
>
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mspgcc-users>
>

Offline

#4 Jan. 20, 2009 00:56:37

Steven K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


On Monday, January 19, 2009 6:02:39 Shivdas Gujare wrote:
> Hi Robert,
> Thanks for your help.
>
> Basically, I am facing a problem as, I don't know how to upload
> firmware to eZ430-RF2480.
> As, per my understanding to get detected as /dev/ttyUSB0,
> ti_usb_3410_5052. drivers needs to upload firmware
> to device. once this is successful, I can echo 2 to bConfigurationValue.

I think this is a bad idea. The driver in the kernel is for the eZ430-f2013
(the original eZ430 usb stick). Forcing the firmware to load on the
eZ430-rf2480 will possibly brick the usb half of the device.

I think this because thats what happened when I did it to a eZ430-rf2500.

Offline

#5 Jan. 20, 2009 04:24:22

Simsys M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi,

i hope, this helps You

(It will place the firmware where it should be)
sudo cp /lib/firmware/$(uname -r)/ti_3410.fw /lib/firmware/ti_usb-3410.bin

have a look athttps://answers.launchpad.net/ubuntu/+question/51120cheers
simsys

2009/1/18 Shivdas Gujare <shivdas.t***@*mail.com>:
> Hi, I am using ez430-RF2480 for connecting with linux. after connecting
> it gets detected as cdc-acm device with "dmesg" as
>
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
> This device cannot do calls on its own. It is no modem.
> usbcore: registered new interface driver cdc_acm
> /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
> v0.25:USB Abstract Control Model driver for USB modems and ISDN
> adapters
> usbcore: registered new interface driver hiddev
>
> so, I removed cdc-acm, and tried to insert ti_usb_3410_5052 module,
> but I am not getting any /dev/ttyUSB0 getting created.
>
> As, per lot of posts in this ML , I may needs to change configuration
> value to "2", by echo 2 >
> /sys/bus/usb/devices/DEV_ID/bConfigurationValue
>
> But as per, lsusb -v (pested athttp://pastie.org/364030), It device
> doesn't support 2 configurations. hence I can't change configuration
> velue.
>
> So, Do I needs to upgrade any firmware to get it working with linux,?
> Why my eZ430 doesn't shows two configurations?
> Do I needs to modify drivers/usb/serial/ti_usb_3410_5052.c to get it
> working with my linux m/c.(kernel 2.6.24)?
>
> Could you, please help me..
>
> Thanks for your help.
>
> Thanks and Regards,
> Shivdas Gujare
>
>
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mspgcc-users>

Offline

#6 Jan. 20, 2009 23:06:50

Shivdas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi Al / Peter and Steven,

I am really sorry to disturb you, Do you have any Idea about how can I
handle "Single configurations and two interfaces"
problem with ti_usb_3410_5052 driver.

Today, I tried to insert module after selecting macro from kernel,
modprobe ti_usb_3410_5052 product_3410=0x0f432 vendor_3410=0xf432
and as per debug messages, it seems that I am able to load firmware sucessfully.

Steven, I read your discussion thread at,http://lkml.indiana.edu/hypermail/linux/kernel/0711.0/0024.htmlMy device supports only one configuration and two interfaces(according
to lsusb -v)

T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=f432 Rev= 1.00
S: Manufacturer=Texas Instruments
S: Product=Texas Instruments MSP-FET430UIF
S: SerialNumber=AFFF598CDECA390C
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=02(comm.) Sub=02 Prot=01 Driver=usbserial_generic
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=255ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
E: Ad=01(O) Atr=03(Int.) MxPS= 64 Ivl=1ms

Also, I pasted details athttp://pastie.org/364030But, still I haven't got any success regarding generating /dev/ttyUSB0
using ti_usb_3410_5052 driver.

It seems that your device supports two configurations with single
interface each. OR these two configurations came after uploading
firmware?
How can I tackle with this two interfaces, as If I disconnect and
connect, every time only "usbserial_generic" and "usbhid" drivers gets
binded with this device.
nothing happens with respect to ti_usb_3410_5052 driver.

Thanks a lot, for your any help.

Thanks and Regards,
Shivdas Gujare






On Mon, Jan 19, 2009 at 10:26 PM, Steven King <sfkin***@*ahoo.com> wrote:
> On Monday, January 19, 2009 6:02:39 Shivdas Gujare wrote:
>> Hi Robert,
>> Thanks for your help.
>>
>> Basically, I am facing a problem as, I don't know how to upload
>> firmware to eZ430-RF2480.
>> As, per my understanding to get detected as /dev/ttyUSB0,
>> ti_usb_3410_5052. drivers needs to upload firmware
>> to device. once this is successful, I can echo 2 to bConfigurationValue.
>
> I think this is a bad idea. The driver in the kernel is for the eZ430-f2013
> (the original eZ430 usb stick). Forcing the firmware to load on the
> eZ430-rf2480 will possibly brick the usb half of the device.
>
> I think this because thats what happened when I did it to a eZ430-rf2500.
>

Offline

#7 Jan. 27, 2009 23:00:12

Shivdas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi Robert/Steven,

Do you have any idea about how to make eZ430U(eZ430-RF2500 or
eZ430-RF2480) devices working with linux.

Thanks for any help.

Regards,
Shivdas

On Tue, Jan 20, 2009 at 8:36 PM, Shivdas Gujare <shivdas.t***@*mail.com> wrote:
> Hi Al / Peter and Steven,
>
> I am really sorry to disturb you, Do you have any Idea about how can I
> handle "Single configurations and two interfaces"
> problem with ti_usb_3410_5052 driver.
>
> Today, I tried to insert module after selecting macro from kernel,
> modprobe ti_usb_3410_5052 product_3410=0x0f432 vendor_3410=0xf432
> and as per debug messages, it seems that I am able to load firmware
> sucessfully.
>
> Steven, I read your discussion thread at,
>http://lkml.indiana.edu/hypermail/linux/kernel/0711.0/0024.html>
> My device supports only one configuration and two interfaces(according
> to lsusb -v)
>
> T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0451 ProdID=f432 Rev= 1.00
> S: Manufacturer=Texas Instruments
> S: Product=Texas Instruments MSP-FET430UIF
> S: SerialNumber=AFFF598CDECA390C
> C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
> I:* If#= 0 Alt= 0 #EPs= 3 Cls=02(comm.) Sub=02 Prot=01
> Driver=usbserial_generic
> E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=255ms
> E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> I:* If#= 1 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
> E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
> E: Ad=01(O) Atr=03(Int.) MxPS= 64 Ivl=1ms
>
> Also, I pasted details athttp://pastie.org/364030> But, still I haven't got any success regarding generating /dev/ttyUSB0
> using ti_usb_3410_5052 driver.
>
> It seems that your device supports two configurations with single
> interface each. OR these two configurations came after uploading
> firmware?
> How can I tackle with this two interfaces, as If I disconnect and
> connect, every time only "usbserial_generic" and "usbhid" drivers gets
> binded with this device.
> nothing happens with respect to ti_usb_3410_5052 driver.
>
> Thanks a lot, for your any help.
>
> Thanks and Regards,
> Shivdas Gujare
>
>
>
>
>
>
> On Mon, Jan 19, 2009 at 10:26 PM, Steven King <sfkin***@*ahoo.com> wrote:
>> On Monday, January 19, 2009 6:02:39 Shivdas Gujare wrote:
>>> Hi Robert,
>>> Thanks for your help.
>>>
>>> Basically, I am facing a problem as, I don't know how to upload
>>> firmware to eZ430-RF2480.
>>> As, per my understanding to get detected as /dev/ttyUSB0,
>>> ti_usb_3410_5052. drivers needs to upload firmware
>>> to device. once this is successful, I can echo 2 to bConfigurationValue.
>>
>> I think this is a bad idea. The driver in the kernel is for the eZ430-f2013
>> (the original eZ430 usb stick). Forcing the firmware to load on the
>> eZ430-rf2480 will possibly brick the usb half of the device.
>>
>> I think this because thats what happened when I did it to a eZ430-rf2500.
>>
>

Offline

#8 Aug. 18, 2009 21:00:10

c.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux


Hi,

I'm trying to connect a USB dongle from ez430-RF2480 kit, but I have the
same messages as you wrote:


Shivdas Gujare-2 wrote:
>
> usb 1-1: new full speed USB device using uhci_hcd and
> address 2
> usb 1-1: configuration #1 chosen from 1 choice
> /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
> This device cannot do calls on its own. It is no modem.
> usbcore: registered new interface driver cdc_acm
> /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
> v0.25:USB Abstract Control Model driver for USB modems and ISDN
> adapters
> usbcore: registered new interface driver hiddev
>

So I have cdc_acm loading instead of ti_usb_3410_5052.


Shivdas Gujare-2 wrote:
>
> so, I removed cdc-acm, and tried to insert ti_usb_3410_5052 module,
> but I am not getting any /dev/ttyUSB0 getting created.
>

How did you manage to do it? Did you succeed with configuring
ti_usb_3410_5052?
Can you please share your experience?

Thanks,
Andrey Litvinov

--
View this message in context:http://www.nabble.com/getting-ez430-working-with-linux-tp21531702p25024362.htmlSent from the MSP430 gcc - Users mailing list archive at Nabble.com.

Offline

#9 Oct. 17, 2017 23:24:00

Ronaldthync
Registered: 2017-10-12
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux

This post is being moderated

Offline

#10 Nov. 12, 2017 04:22:33

KevinPsync
Registered: 2017-10-25
Posts: 22
Reputation: +  0  -
Profile   Send e-mail  

[Mspgcc-users] getting ez430 working with linux

This post is being moderated

Offline

  • Root
  • » MSPGCC
  • » [Mspgcc-users] getting ez430 working with linux [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support