MSP430 JTAG Tiny V2, CCStudio 5.3, Linux woes

Started by macskyver, April 17, 2013, 07:41:25 AM

Previous topic - Next topic

macskyver

As the title suggests, I am having difficulties getting Code Composer Studio 5.3 to recognize my MSP430 JTAG Tiny V2.  When trying to debug in CCS, I get the error message "Error initializing emulator: No USB FET was found."

If I use a TI MSP-FET430-UIF in Code Composer, everything works great and no problems...

Also, my JTAG Tiny V2 works great in MSPDebug...

So they both work fine, just not together... I should also note that I am wired up for jtag mode, not spy-bi-wire... I am not sure what firmware I am running on my Tiny V2, but I purchased it within the last month, so I am guessing it is fairly recent... and my operating system is Linux Mint 14 Cinnamon... 

Any help on this would be greatly appreciated..

LubOlimex

Hey macskyver,

Did you place the driver/firmware .dll in the CCS folder? It is explained in a text document in the latest driver package: https://www.olimex.com/Products/MSP430/JTAG/MSP430-JTAG-TINY-V2/resources/OLIMEX_MSP430-DLL_drivers.zip

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

macskyver

I am using linux, so there are no .dll files to replace.  I have "libmsp430.so".  I don't know if someone has built a libmsp430.so that supports olimex devices... if so, I sure haven't been able to find it..

I did find instructions on the MSPDebug website to compile libmsp430.so using TI open source msp430.dll (http://mspdebug.sourceforge.net/tilib.html).  Maybe I could tweak the source code to work with my JTAG tiny and compile my own libmsp430?? 

Of course, I could be way off in left field and/or over-complicating a simple issue...

Any ideas??

jardag

I think for Windows You have to install the MSP430.dll as made by Olimex. This should be the starting point to port the code to Linux. Resulting library should be called libmsp430.so ( the Linux dll equivalent). There is one in TI's CodeComposerStudio called that name libmsp430.so, but it is for TI's JTAGs. What's needed is to write something along the lines of the TI's libmsp430.so but adapt it to Olimex's MSP-JTAG-TimyV2. I think only Olimex knows the internals of its MSP430.dll.

niallp

I'm going to guess from reading this thread that the Olimex MSP-JTAG-Tiny-V2 is not currently compatible with Linux (at least as a standin for a TI MSP-FET430UIF). Any progress on solving the problem ?

Has anyone used any other (non-TI) hardware that are equivalent to the MSP-FET430UIF ? Pointers appreciated, thanks.

LubOlimex

Hello niallp,

Both MSP430-JTAG-TINY-V2 and MSP430-ISO-MK2 (the MSP430 debuggers we currently manufacture) are supported under Linux. They have been tested with mspdebug. More information might be found here: http://mspdebug.sourceforge.net/ .

Something more - under Linux the MSP430-ISO-MK2 has a better support than under Linux, because Daniel Beer (mspdebug creator) wrote proper software for the "power profiling" feature of the ISO-MK2.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

jardag

I am having problems with TI-MSP430-FET-UIF. It connects successfully about 5 % of the time. Works OK only on old USB 1.1 machine.
I got the Olimex_Tiny_msp430_V2 working with mspdebug_22 after rebuilding it and changing product id to Olimex product id 0x0031 instead of mspdebug's product id 0002. The recommended connection for SpyByWire is different on the Olimex debugger than the TI one. I cannot get the TI-FET working with Rowley Crossworks after moving to brand new machine with USB 2.0. The Olimex TINY V2 works OK on the new machine. I would like to port the Olimex provided Window MSP430.DLL to libmsp430.so for linux. TI provides open source for their libmsp430.so which runs OK on linux. I would need to know the internals of the Olimex-TINY-V2 and have access to the source of the Olimex's MSP430.DLL.