Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | eZ430-RF2500 driver under Linux

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

eZ430-RF2500 driver under Linux - Claudiu Covaci - Aug 3 10:07:37 2008

Hi,

I recently got myself a eZ430-RF2500 from Texas Instruments, but I'm
having trouble with the Linux driver. After a bit of research I found
out that Stephen Glow has found a problem in the Ubuntu driver, and
also posted a fix. Unfortunately, the fix doesn't work for me, for
unknown reason. My first problem is that the ti_usb_3410_5052 module
doesn't get automatically loaded, although the device seems to be
recognized. Here what dmesg (or /var/log/messages) sais when
connecting the device:

usb 3-1: new full speed USB device using ohci_hcd and address 4
usb 3-1: configuration #1 chosen from 1 choice
/build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: timeout
initializing reports
hiddev96hidraw0: USB HID v1.01 Device [Texas Instruments Texas
Instruments MSP-FET430UIF] on usb-0000:00:13.1-1

and if I also manually load the module (with sudo modprobe
ti_usb_3410_5052 debug=1):
/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
usbcore: registered new interface driver ti_usb_3410_5052
/home/clau/Desktop/mspfet_driver/ti_usb_3410_5052.c: TI USB 3410/5052
Serial Driver v0.9

after that, lsmod displays it as:
ti_usb_3410_5052 59848 0

No sign of any error here imho, but still, the module doesn't get
automatically loaded and I don't get anything like /dev/ttyUSB0
Now I've tried almost anything I could think of (manually loading the
module, tried Stephen Glow's fix), so I would be thankful for any tips
or suggestions, as what to try next (kernel compilation is something
I'd try maybe as last resort).
By the way, I'm running Kubuntu 8.04 and the 2.6.24-19-generic kernel.
Hope to get it someway working, because I'm eager to start working
with the device...
Thanks!
Claudiu

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )


Re: eZ430-RF2500 driver under Linux - Travis Goodspeed - Aug 3 10:30:13 2008

Howdy Claudiu,

Unfortunately, getting /dev/ttyUSB0 is only half the battle. I've done
that by replacing the firmware of the TUSB3410 usb->serial converter
chip, only to verify that the MSP430's firmware doesn't work with the
present gdbproxy.

Some articles I've written on the subject,
http://travisgoodspeed.blogspot.com/2008/05/repurposing-ti-ez430u-part-1.html
http://travisgoodspeed.blogspot.com/2008/07/repurposing-ti-ez430u-part-2.html

To make the programmer board work in Linux, you need to replace the
firmware of the MSP430 as described in the first article, as well as the
contents of the CAT24FC32 as described in the second article. Once
replaced, downgraded actually, the board will work in Linux as the
green, $20 MSP430F2013 programmer does. You'll be able to flash a board
with it, but you won't be given a serial port to the target board.

For reprogramming the MSP430, you'll need a traditional MSP-FET.

If you haven't got an I2C programmer, you can try the utility in the
comments of the second article. Failing that, I can send you a
preprogrammed chip by mail. (No charge.)

Cheers,
--Travis

Claudiu Covaci wrote:
>
> Hi,
>
> I recently got myself a eZ430-RF2500 from Texas Instruments, but I'm
> having trouble with the Linux driver. After a bit of research I found
> out that Stephen Glow has found a problem in the Ubuntu driver, and
> also posted a fix. Unfortunately, the fix doesn't work for me, for
> unknown reason. My first problem is that the ti_usb_3410_5052 module
> doesn't get automatically loaded, although the device seems to be
> recognized. Here what dmesg (or /var/log/messages) sais when
> connecting the device:
>
> usb 3-1: new full speed USB device using ohci_hcd and address 4
> usb 3-1: configuration #1 chosen from 1 choice
> /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: timeout
> initializing reports
> hiddev96hidraw0: USB HID v1.01 Device [Texas Instruments Texas
> Instruments MSP-FET430UIF] on usb-0000:00:13.1-1
>
> and if I also manually load the module (with sudo modprobe
> ti_usb_3410_5052 debug=1):
> /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
> usbcore: registered new interface driver ti_usb_3410_5052
> /home/clau/Desktop/mspfet_driver/ti_usb_3410_5052.c: TI USB 3410/5052
> Serial Driver v0.9
>
> after that, lsmod displays it as:
> ti_usb_3410_5052 59848 0
>
> No sign of any error here imho, but still, the module doesn't get
> automatically loaded and I don't get anything like /dev/ttyUSB0
> Now I've tried almost anything I could think of (manually loading the
> module, tried Stephen Glow's fix), so I would be thankful for any tips
> or suggestions, as what to try next (kernel compilation is something
> I'd try maybe as last resort).
> By the way, I'm running Kubuntu 8.04 and the 2.6.24-19-generic kernel.
> Hope to get it someway working, because I'm eager to start working
> with the device...
> Thanks!
> Claudiu
>
>
------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )

Re: eZ430-RF2500 driver under Linux - djlarue - Aug 4 0:19:25 2008

The two easiest solutions:
1) Get the $99 FET programmer
2) Get the $20 ez430 USB kit, unplug the 4pin MSP430 board and plug in
the ez430-2500( use middle 4 pins ).

There's data on getting Ubuntu to see the ez430 USB device with just a
create/mod to file /etc/udev/rules.d/40-mspfet430.rules

I've programmed the standard ez430 and though I've not uploaded any
code yet to the ez430-2500 via the ez430 USB SPI unit, I did verify it
recognized the MSP430 part and gcc supports it too.

--- In m...@yahoogroups.com, "Claudiu Covaci"
wrote:
>
> Hi,
>
> I recently got myself a eZ430-RF2500 from Texas Instruments, but I'm
> having trouble with the Linux driver. After a bit of research I found
> out that Stephen Glow has found a problem in the Ubuntu driver, and
> also posted a fix. Unfortunately, the fix doesn't work for me, for
> unknown reason. My first problem is that the ti_usb_3410_5052 module
> doesn't get automatically loaded, although the device seems to be
> recognized. Here what dmesg (or /var/log/messages) sais when
> connecting the device:
>
> usb 3-1: new full speed USB device using ohci_hcd and address 4
> usb 3-1: configuration #1 chosen from 1 choice
> /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: timeout
> initializing reports
> hiddev96hidraw0: USB HID v1.01 Device [Texas Instruments Texas
> Instruments MSP-FET430UIF] on usb-0000:00:13.1-1
>
> and if I also manually load the module (with sudo modprobe
> ti_usb_3410_5052 debug=1):
> /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
> usbcore: registered new interface driver ti_usb_3410_5052
> /home/clau/Desktop/mspfet_driver/ti_usb_3410_5052.c: TI USB 3410/5052
> Serial Driver v0.9
>
> after that, lsmod displays it as:
> ti_usb_3410_5052 59848 0
>
> No sign of any error here imho, but still, the module doesn't get
> automatically loaded and I don't get anything like /dev/ttyUSB0
> Now I've tried almost anything I could think of (manually loading the
> module, tried Stephen Glow's fix), so I would be thankful for any tips
> or suggestions, as what to try next (kernel compilation is something
> I'd try maybe as last resort).
> By the way, I'm running Kubuntu 8.04 and the 2.6.24-19-generic kernel.
> Hope to get it someway working, because I'm eager to start working
> with the device...
> Thanks!
> Claudiu
>

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )

Re: eZ430-RF2500 driver under Linux - covaci_claudiu - Aug 4 16:54:41 2008

Thanks for both answers!
I think reprogramming the EEPROM is beyond me atm, as I'm only a
beginner in the embedded world.
Therefore I think I'll get the MSP-FET430UIF to be on the safe side ;)
Should I expect any problems with it under linux?
Thanks again for replying, appreciate it!
Rgds
------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )