Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » MSPGCC
  • » [Mspgcc-users] ti usb jtag problem. [RSS Feed]

#1 March 12, 2008 22:09:54

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

[Mspgcc-users] ti usb jtag problem.


Hello,

I just got a TI USB Jtag (msp-fet430uif) debugging interface to replace an
old parallel port
one. The kernel is finding it but no /dev/ttyUSB* device file is being
created.

Any thoughts? Anyone know what error -5 coming from the device driver means
(ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5).

Below is relavant info:


thanks..

eric

Linux cire-laptop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686
GNU/Linux

It is the xbuntu distribution of tinyos 2.x




usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB
3410 1 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB
5052 2 port adapter
ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: device firmware changed
usb 1-1: USB disconnect, address 2
ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5
usb 1-1: new full speed USB device using uhci_hcd and address 3
usb 1-1: configuration #1 chosen from 2 choices
ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected
ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5
usbcore: registered new interface driver ti_usb_3410_5052
drivers/usb/serial/ti_usb_3410_5052.c: TI USB 3410/5052 Serial Driver v0.9

Offline

#2 March 12, 2008 22:22:18

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

[Mspgcc-users] ti usb jtag problem.


On Wed, Mar 12, 2008 at 4:09 PM, Eric Decker <cire***@*mail.com> wrote:
> Hello,
>
> I just got a TI USB Jtag (msp-fet430uif) debugging interface to replace an
> old parallel port
> one. The kernel is finding it but no /dev/ttyUSB* device file is being
> created.
>
> Any thoughts? Anyone know what error -5 coming from the device driver means
> (ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5).
>

Did you install the udev rule in /etc/udev/rules.d?

by the way, I added this to the udev rule:

# Use the tty subsystem to get a stable name for the FET
SUBSYSTEM=="tty" ACTION=="add"\
SYSFS{product}=="MSP-FET430UIF JTAG Tool" \
SYMLINK+="ttyTIUSB"

then a symlink is automatically created at /dev/ttyTIUSB. I have a
lot of USB->serial adapters and it seems like the FET tool never gets
the same device file name. This way, I can put "/dev/ttyTIUSB" in my
Makefile and never have to worry about it.

Regards,
Mark
markra...@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
markra...@midwesttelecine.com

Offline

#3 March 12, 2008 23:09:40

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

[Mspgcc-users] ti usb jtag problem.


On 2008-03-12, Mark Rages <markra***@*mail.com> wrote:
> On Wed, Mar 12, 2008 at 4:09 PM, Eric Decker <cire***@*mail.com> wrote:
>> Hello,
>>
>> I just got a TI USB Jtag (msp-fet430uif) debugging interface to replace an
>> old parallel port
>> one. The kernel is finding it but no /dev/ttyUSB* device file is being
>> created.
>>
>> Any thoughts? Anyone know what error -5 coming from the
>> device driver means (ti_usb_3410_5052: probe of 1-1:1.0 failed
>> with error -5).

> Did you install the udev rule in /etc/udev/rules.d?

Yup, I'm pretty sure that's the problem. Searching the list
for udev will probably turn up the relevent threads.http://search.gmane.org/?query=udev+rules&group=gmane.comp.hardware.texas-instruments.msp430.gcc.user> by the way, I added this to the udev rule:
>
> # Use the tty subsystem to get a stable name for the FET
> SUBSYSTEM=="tty" ACTION=="add"\
> SYSFS{product}=="MSP-FET430UIF JTAG Tool" \
> SYMLINK+="ttyTIUSB"
>
> then a symlink is automatically created at /dev/ttyTIUSB. I have a
> lot of USB->serial adapters and it seems like the FET tool never gets
> the same device file name. This way, I can put "/dev/ttyTIUSB" in my
> Makefile and never have to worry about it.

That's an excellent tip, though I recently ended up with two
USB-serial based widgets both based on the same chip (IIRC, the
pl2303), and the flippin' vendors didn't bother to modify any
of the default values, so they both show up as generic PL2303
serial ports and there's no way for udev to tell them apart. :/

--
Grant Edwards grante Yow! I left my WALLET in
at the BATHROOM!!
visi.com

Offline

#4 March 12, 2008 23:39:41

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

[Mspgcc-users] ti usb jtag problem.


On Wed, Mar 12, 2008 at 5:09 PM, Grant Edwards <gra***@*isi.com> wrote:
>
> That's an excellent tip, though I recently ended up with two
> USB-serial based widgets both based on the same chip (IIRC, the
> pl2303), and the flippin' vendors didn't bother to modify any
> of the default values, so they both show up as generic PL2303
> serial ports and there's no way for udev to tell them apart. :/
>

They're too cheap to include the eeprom.

You can always add your own:
1) get an old DIMM stick
2) plug in the dimm and reprogram per pl2303 datasheet andhttp://lm-sensors.org/wiki/HardwareHacking3) desolder the eeprom off the dimm and tack it on your USB adapter
with magnet wires.

Regards,
Mark
markra...@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
markra...@midwesttelecine.com

Offline

#5 March 13, 2008 00:06:23

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

[Mspgcc-users] ti usb jtag problem.


On 2008-03-12, Mark Rages <markra***@*mail.com> wrote:

>> That's an excellent tip, though I recently ended up with two
>> USB-serial based widgets both based on the same chip (IIRC, the
>> pl2303), and the flippin' vendors didn't bother to modify any
>> of the default values, so they both show up as generic PL2303
>> serial ports and there's no way for udev to tell them apart. :/
>>
>
> They're too cheap to include the eeprom.

I assume that's the case (I never pulled the devices apart to
look).

> You can always add your own:
> 1) get an old DIMM stick
> 2) plug in the dimm and reprogram per pl2303 datasheet and
>http://lm-sensors.org/wiki/HardwareHacking> 3) desolder the eeprom off the dimm and tack it on your USB
> adapter with magnet wires.

I don't have to use the two devices at the same time often
enough to go to that much effort. It's easier just whining
about it. :)

--
Grant Edwards grante Yow! TONY RANDALL! Is YOUR
at life a PATIO of FUN??
visi.com

Offline

Board footer

Moderator control

Enjoy the 16th of December
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