Olimex MSP430-JTAG-TinyV2 and Launchpad and MSP-FET430UIF with CCS6

Started by kubiack, July 31, 2014, 06:43:20 PM

Previous topic - Next topic

kubiack

Hello

I have a bunch of computer with TI Code Composer Studio 6 installed as the only MSP430 IDE.

On these computer, I want to be able to use either Olimex JTAG-Tiny-V2 or Launchpad with CCS6. The problem is the following:
when I overwrite the DLL (MSP430.dll, HIL.dll) to make the JTAG-TinyV2 works with CCS6, this beaks the Launchpad and MSP-FET430UIF.
If I restore CCS6 original DLLs, then TinyV2 doesn't work anymore.

So I can use either TinyV2 OR Launchpad+FET430UIF depending on the DLL in use, but not both.

I really need to be able to use these three tools, did someone has a solution ?


WBat

SOS. I have this problem too. How to install and use Olimex JTAGs MSP430-JTAG-TINY-V2 with CCS v6. The Post "How to install and use Olimex JTAGs with CCS 4.x" dont work.

draksnov

I have the same problem (CCS6). I've replaced 3 dlls (new version of drivers contains only HIL.dll, MSP430.dll, olimex.dll). After that I was able to flash CC430 (JTAG)...but after some errors. It's not correct. Does anybody know how to do it correct?

LubOlimex

Hello guys,

To use the MSP430-JTAG-TINY-V2 debugger with any IDE you would need to re-place the original MSP430.dll file in the installation folders of the IDE with the MSP430.dll provided by Olimex LTD. The installation procedure for the tools in CCS6 is relatively simple – you would need to navigate to folder ...\ti\ccsv6\ccs_base\DebugServer\drivers and replace MSP430.dll with the one provided by Olimex in the driver's package. The driver's package is here: https://www.olimex.com/Products/MSP430/JTAG/MSP430-JTAG-TINY-V2/resources/OLIMEX_MSP430-DLL_drivers.zip

I now use CCS6 - please check the pictures below:













I noticed that newer CCS versions sometimes revert the replaced dlls to original ones if you chose to update automatically (when a small dialog at the bottom-right corner appears). If this happens just replace the dll with the ones provided in the drivers archive again.

If you still encounter problems then they are probably related to the project settings or the configuration of CCS. Make sure you are using the proper packages/examples/versions/settings.

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

Chester Gillon

Quote from: kubiack on July 31, 2014, 06:43:20 PMI really need to be able to use these three tools, did someone has a solution ?
Using CCS 6.1 I found that it possible to add new XML files to be able to select in CCS if a debug session uses the TI MSP430.dll or the Olimex olimex.dll by adding a new connection type.

The steps were:
1. Copy the olimex.dll file from the OLIMEX MSP430-DLL drivers 2.007 download into the CCS6.1 ccsv6\ccs_base\DebugServer\drivers directory. The MSP430.dll in this directory remains as the TI supplied MSP430.dll file.

2. In the CCS 6.1 ccsv6\ccs_base\common\targetdb\drivers directory take a copy of the existing msp430_emu.xml file, and name the copy msp430_olimex_emu.xml. In the msp430_olimex_emu.xml file change all instances of:
                                                <connectionType Type="MSP430"/>
                                                <property Type="hiddenfield" Value="msp430.dll" id="dllName" />

To:
                                                <connectionType Type="Olimex MSP430"/>
                                                <property Type="hiddenfield" Value="olimex.dll" id="dllName" />


3. In the CCS 6.1 ccsv6\ccs_base\common\targetdb\connections directory take a copy of the existing TIMSP430-USB.xml, and name the copy TIMSP430-Olimex-USB.xml. In the TIMSP430-Olimex-USB.xml file change the connection id and ConnectionType Type fields from:
<connection id="TI MSP430 USB1" XML_version="1.2" class="185076">

<connectionType Type="MSP430"/>

To:
<connection id="TI MSP430 Olimex USB1" XML_version="1.2" class="185076">

<connectionType Type="Olimex MSP430"/>


4. (Re-)start CCS 6. In the CCS Target Configuration there is a new Connection type of "TI MSP430 Olimex USB1", which if selected will cause CCS to use the Olimex olimex.dll file to connect to an Olimex emulator.

Selecting an existing connection type of "TI MSP430 USB1", "TI MSP430 USB2" or "TI MSP430 USB3" will cause CCS to use the TI MSP430.dll file to connect to a TI emulator.

I used this to test I could change CCS 6.1 to connect to a MSP-5438STK with either an Olimex MSP430-JTAG-ISO-MK2 or a TI MSP-FET4530UIF emulator.