This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

upgrade to CCS5 - Error connecting to the target: Unknown device

Other Parts Discussed in Thread: MSP430F4784, MSP430AFE253, MSP-TS430PW24, MSP430BT5190

I'm attempting to upgrade to CCS5 from CCS4. But after I do, CCS5 can no longer connect to my MSP430BT5190.

My setup: Windows XP -> USB -> FET430UIF connected through JTAG to the MSP. With CCS 4.2.4 it works fine. CCS5 requires a firmware upgrade to the FET which seems to work but then when attempting to debug CCS5 can not connect:

MSP430:  Error connecting to the target: Unknown device

If I downgrade the FET firmware and use CCS4 it is able to connect and debug without a problem.

I've tried powering my hardware via the FET and externally both with same results. (With CCS4 either power configuration works.)

Are there any differences between FET/JTAG settings between CCS4/CCS5 that may cause this? How can I troubleshoot?

  • Hi Carl,

    CCSv5 uses msp430 dll v3 and CCSv4 uses v2.  There is a major difference between these two as the FET is enumerated as a completely different device in both cases.

    It is odd that accepting the upgrade in v5 still causes problems.

    Please check the following

    - that you have the latest version of CCSv5.1

    - that you have read and followed the upgrade procedures and information here

    http://processors.wiki.ti.com/index.php/MSP_Debug_Stack 

    Please keep us informed.

    Best Regards,
    LIsa

  • Hi

    I have the same issue with my custom MSP430F4784 board.

    What's checked:

    - the same project and the same board with CCS4 - it does works well (tried more times switching between versions)

    - does not works with CCS5 (FETUIF firmware upgraded automatically by the latest CCS5.1 as described at http://processors.wiki.ti.com/index.php/MSP_Debug_Stack#Upgrade_process_to_MSP430.DLLv3)

    - tried another MCU (MSP430AFE253 in a TI devboard - MSP-TS430PW24) - works in both JTAG and SBW mode on both CCS4 and 5.1 

    My board has the same setup as the TS430PW24 except the TEST/VPP pin on the JTAG 8 which is not connected since there is no such pin on the F4784. Same drawing is present in the SLAU278f.pdf on page 25 where it does confirms the missing TEST pin on some MSP variants.

    The hint from here: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/147826.aspx?PageIndex=2 does not works in my case.

    best regards,

    B.

  • Forgot to mention: FET-UIF is V1.4a - automatic firmware upgrade worked 1st try and the CCS5 can communicate with it after upgrade.

    Also programming the MSP430AFE253 worked well so it shouldn't be a driver issue (I guess).

  • Tried one more thing - installed the latest FET-Pro430 Lite from Elprotronic (3.0) which can deal with v2 and v3 firmwares of the FET430UIF

    Results for a flash read (same MSP430F4784 board)

    Firmware 2.04.08.002

    JTAG communication initialization....	 OK
    Verifying Security Fuse .................... OK
    Verifying Flash Memory ................... OK
    -------- D O N E --- ( run time = 0.2 sec.)

    Firmware 3.02.01.009 (from CCS5.1 downloaded yesterday)

    JTAG communication initialization....	 failed
    Verifying Security Fuse .................... failed
    --------------- FAILED !!! -----------------
    Firmware 3.02.03.002 (from FET-Pro430 Lite)
    JTAG communication initialization....	 failed
    Verifying Security Fuse .................... failed
    --------------- FAILED !!! -----------------
    
    
    The fuse is not blown for sure (since it works with v2 firmware) - so it must be something else.
    
    
    Last time when I had this issue it was with the C1 from the Jtag 8 RST pin which changes how the RST signal works. 
    I tried none, 2.2nF, 10nF, 0,1uF there (I'we seen those values on different application notes and TI devboards)
    All are working with v2 firmware. None with the v3.
    Is there a real JTAG diagram in any documentation which describes exactly the timing of the JTAG pins? 
    
    
    regards,
    Brown
  • Hi Brown,

    can I suggest you post the issue to the MSP forum?  The reason I say this is that if you can program other devices and TI hardware fine, then it seems the problem might be a sensitivity or something related to your hardware.   The FET seems to be upgrading/downgrading without issue as well.

    Best Regards,
    Lisa

  • Hi Lisa,

    It is possible that it is a hardware issue on my system too. But it is clearly related to the new FET firmware that CC5 uses.  What changed in hardware interface requirements or settings between CCS4 and CCS5? Can you point us to a JTAG requirements document?

    Carl

  • Hi Carl,

    ok first one thing to try.  I has just come to my attention that there is a bug in dll v3 where there JTAG power is not connected through the FET when it is connected to the PC.  A fix is being worked on, hopefully for a coming release.

    Could you test this?

    As far as documentation etc, as mentioned this is the MSP430 team (which is why I suggested their forum)  HOwever this wiki page is a good start.

    http://processors.wiki.ti.com/index.php/MSP_Debug_Stack

    Please keep us informed.

    Best Regards,
    Lisa

  • Sure I can test. Please send me the test procedure. Is there bug description that I can access (as dll v3 is open source)?

    Carl

  • Sure I can test. Please send me the test procedure. Is there a bug description that I can access (as dll v3 is open source)?

    Carl

  • Hi Carl,

    Basically what to do is to, if possible, configure you setup for external power (if it is not already set up not to be powered from the FET) and give it a try.  You may need to have a look at page 25 and page 26 in particular of the following guide.

    http://www.ti.com/lit/ug/slau278h/slau278h.pdf

    I understand it may not be possible for you but keep us informed.

    Best Regards,
    Lisa

  • It might be hardware related but it is also firmware related (might be that the new firmware is checking something what the old doesn't).

    For me is kind-a clear that the hardware works with the old firmware and it does not with the new so I (hoping with TI's help) have to figure out what is happening - what changed in the firmware which makes this happen. If it's hardware related we still would need to know what is additional checking (or timing or sensitivity) in v3 different from v2 which causes this. 

    External power: already tried both external and internal power, the results are the same - not working with v3 firmware.

    Posted on the MSP forum and the results are kinda same - other people are joining my post with the same complaint and no result:

    http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/155784.aspx

    So please help if You can since I am not the only one with this issue ...

    Best regards,

    Brown

  • Please see below thread for a solution for using MSP430BT5190 devices with the current version of CCSv5.1 :
    http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/155784.aspx