Can not see FET430UIF as usb device

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

Can not see FET430UIF as usb device

SeanDekker
Hi all,

My aplogy if my question is very noob/stupid.

I just started working on CC430 chips and I have a MSP-FET430UIF debugger and an MSP430-CCRF Olimex dev board. I was using IAR on windows and I think due to some error in my code I put my chip in a dead loop, so the debugger can not attach itself to it and IAR thinks that my chip has its security fuse blown.

I switched to Ubuntu 12.04 and have installed MSP430-GCC version 4.6.3, also MSPDEBUG version .20 as well as usblib-dev

now when I attach the debugger to usb and run this command I can not see my debugger, the answer to $mspdebug uif is as follow:
usbutil: unable to find a device matching 0451:f430

When I do lsusb I can see this Texas Instrument device is being detected Bus 002 Device 005: ID 2047:0010 Texas Instruments

Can someone please tell me if I need to install additional packages/drivers. I just want to know how to get going, for example I want to do something like this:
mspdebug -d /dev/ttyUSB0 uif-bsl 'prog new_firmware.hex' 
to update my debugger. So in short the proplem is how can I see my debugger as /dev/ttyUSBx  ?

Regards,
Sean.

Reply | Threaded
Open this post in threaded view
|

Re: Can not see FET430UIF as usb device

Daniel Beer-3
On Fri, Jul 12, 2013 at 07:09:30AM -0700, SeanDekker wrote:

> My aplogy if my question is very noob/stupid.
>
> I just started working on CC430 chips and I have a MSP-FET430UIF debugger
> and an MSP430-CCRF Olimex dev board. I was using IAR on windows and I think
> due to some error in my code I put my chip in a dead loop, so the debugger
> can not attach itself to it and IAR thinks that my chip has its security
> fuse blown.
>
> I switched to Ubuntu 12.04 and have installed MSP430-GCC version 4.6.3, also
> MSPDEBUG version .20 as well as usblib-dev
>
> now when I attach the debugger to usb and run this command I can not see my
> debugger, the answer to *$mspdebug uif* is as follow:
> usbutil: unable to find a device matching 0451:f430
>
> When I do *lsusb* I can see this Texas Instrument device is being detected
> *Bus 002 Device 005: ID 2047:0010 Texas Instruments*
>
> Can someone please tell me if I need to install additional packages/drivers.
> I just want to know how to get going, for example I want to do something
> like this:
> *mspdebug -d /dev/ttyUSB0 uif-bsl 'prog new_firmware.hex'*
> to update my debugger. So in short the proplem is how can I see my debugger
> as /dev/ttyUSBx  ?

Hi Sean,

Your FET430UIF is running V3 firmware (USB ID 2047:0010). The "uif"
driver is for FETs running V2 firmware -- the protocol and USB interface
are completely different.

You have two options:

The first is to compile TI's open-source MSP430.DLL. You'll need to
install Boost development headers (libboost-dev). If you type "make",
you should end up with a file called libmsp430.so, which should be
placed in /usr/local/lib. Once you have that, you should be able to use
your debugger with:

    mspdebug tilib

The other option is to downgrade your debugger to V2 firmware. For this,
you'll first have to find a V2 firmware image.

Instructions for both procedures are here:

    http://mspdebug.sourceforge.net/tilib.html

Note that the patches linked to on this page are no longer required with
the latest MSP430.DLL source.

Cheers,
Daniel

--
Daniel Beer <[hidden email]>    www.dlbeer.co.nz
IRC: inittab (Freenode)    PGP key: 2048D/160A553B

------------------------------------------------------------------------------
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