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.

Is there a patch for the MSP430F5418 for CCS5

Other Parts Discussed in Thread: MSP430F5418

  • Are there any patches for the MSP430F5418 for CCS v5?
    • if yes, then where / how do we get them and apply them?
    • if no, then do you know of a way to run the MSP430 tool chain version 4.1.x with CCSv4?

Here is some additional info:

According to the TI support forums there are known issues with CCSv5 and some MSP430 devices (one of which is the MSP430F5418, but I have not found a patch for our device yet).  Building seems fine, but the issue is with the debugger/connecting to the target so I haven't been able to confirm that the image resulting from the new tool chain actually works.  Apparently they redesigned their debug stack and didn't adequately test with all of their parts.  The upgrade comes with a new msp430 DLL that requires an update to the FET tool firmware and the issue is that the DLL no longer recognizes the device - someone speculated an enumeration mismatch.  Also, after the FET tool firmware update, the FET tool is no longer compatible with CCSv4 (or any CCS for that matter).  

The reason I attempted to upgrade was to gain some new linker command file support.  Actually, the support I needed was merely part of the latest version of the MSP430 tool chain 4.1, but that version of the tool chain was dependent on a class included in a plugin in CCS that was seen available in CCSv5.  

In summary, the loading of the firmware via the FET tool and debugger functionality is not functional with CCSv5. I'm hoping a patch for our device exists. 

THank you!

 

  • Amy,

    In CCs v5 you can go to Help >  Check for Updates and you will see all the updates available there. You can also configure CCS v5 for automatic updating and you can also select which sources will fetch updates to you.

    Have a look a this wiki page:

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

  • Hi Amy,

    I was able to duplicate the issue with a 5438 non-A part (which is another member of the same device family as the 5418.)  We were not previously aware of this issue in my team.  Let me investigate this and see what I can uncover.

  • Amy,

    Well, I was mistaken - I had another problem in my setup.  After straightening that out, my 5438 programs fine.

    Can you provide us some details on exactly what error you're seeing, what hardware you're using (is it a TI target board, or your board), and what version of the FET driver you have?  Also, if I understood you correctly, this same device will connect with CCS4, is that correct?

    John

  • HI John,

    Thanks for the follow up.  IF you were able to duplicate the problem, can you please let me know what you changed with your setup to get rid of the error?  Maybe the customer just has the wrong setup as well. IN the meantime, I will check for more details with the customer.


    Let me know!

    Thanks,

    Amy

  • Amy,

    I'm kind of embarassed to admit this, but I had the part installed in the socket wrong.  Pin 1 was in the wrong spot.  Flipping it around correctly makes it work better.

    John

  • John Walker said:
    I'm kind of embarassed to admit this, but I had the part installed in the socket wrong.  Pin 1 was in the wrong spot. 

    Did you too get one of these newer boards where the socket has a pin1 indicator on the wrong side?

    IIRC; some time ago the sockets didn't have an indicator at all (which didn't hurt as the socket is symmetrical). But then either the manufacturer was replaced by a cheaper one or the manufacturter has decided to add the marker - and the socket part in the TI layout library has a different orientation than the new physical part. I fell into this trap too - once. Now I trust the markers on the PCB more than the once on the socket :)

  • CCS Version: 5.3.0.00090

    MSP430 Compiler Tools Version: 4.1.5

    MSP-FET430UIF v1.4a Firmware Version: 3 (as prompted by the CCSv5 upgrade)

    TI Device: MSP430F5418 located on our custom board

     

    The following error message appears when attempting to connect to the target from the debugger in Eclipse.


    "error connecting to target

    unknown device"

    THanks!

  • Hi Amy,

    In my experience, usually this error indicates something wrong in the JTAG connections on the board. Can you please post the JTAG or SBW connections for your board? They need to match the connections from the Hardware Tools User's Guide Figure 2-1 or 2-3 (JTAG or SBW). You also need to make sure that you have connected the correct pin for Vcc depending on how you are powering your board - if you are powering from the FET tool, connect JTAG pin 2 to Vcc, and if powering it externally, connect pin 4 to Vcc.

    Regards,

    Katie

  • To add to what Katie said, do you have a TI test board for the 5418?  If so, and the MSP430 programs in the test board, that would definitively point to your hardware,

    John

  • Thanks John and Katie,

    From the customer:

    Have the hardware requirements changed between MSP-FET430UIF FET Tool Firmware v2 and v3?  We have been developing with the MSP-FET430UIF FET Tool Firmware v2 with CCSv4 on our boards.  

     Also, we do not have a TI test board.--I will order them one...is that just the EVM?

    Take care,

    Amy

  • Hi Amy,

    To confirm they are able to successfully communicate with CCSv4, but not CCSv5? The hardware requirements should be the same, but if your board wasn't exactly matching the hardware requirements, it could be that it works with one and not the other. Could you please provide a schematic of your JTAG connections so that we can check for mistakes? Do you power your board from the FET tool or from some external source?

    In addition, I'm curious - with CCSv5 does it always give you that same error, or only after you have already programmed the part once using CCSv5?

    John's suggested test is a good one. You'd need this target board: http://www.ti.com/tool/msp-ts430pz5x100 Alternately, if you have an MSP-EXP430F5438 socketed board that would work as well. People often use these for initial development before going to their own custom boards so I was hoping you might have one you can try with an F5419.

    Regards,

    Katie

  • HI Katie,

    Yes, target communication is OK with FET tool firmware v2 and CCSv4.  FET tool firmware v3 is not compatible with CCSv4, but still v3 and CCSv5 yield that error message I previously sent. The error is always the same and I have never been able to connect to the target after the FET tool firmware update.  Just to cover all the combinations, CCSv5 also appears to be incompatible with FET tool firmware v2.

    Thanks,

  • Hi Amy,

    That is pretty interesting - I am wondering, how are you powering the MSP430 while you program it? Are you providing power from the FET tool?

    If so, could you try the following test:

    1. power the board externally from a bench supply at the correct voltage for your application (and at a high enough voltage for programming the FLASH per the datasheet spec), say 3.3V

    2. Connect pin 4 of the FET tool to Vcc on your board, and make sure that pin 2 of the FET is not connected to anything.

    If you do this, can you now program with CCSv5 and v3 FET firmware?

    I'm wondering if your board is requiring more current than the FET can supply with v3 - v3 has stricter overcurrent protection than v2: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/190503/683416.aspx#683416

    Regards,

    Katie

  • HI Katie,

    Just checked the schematic and pin 4 is already wired to 3.3V and pin 2 is left unconnected.  Perhaps this isn't an overcurrent protection issue.  The FET tool power LED is ON (green) when plugged in which appears to be different from the problem description on the support page link provided by TI.

    Thanks,
    Amy

**Attention** This is a public forum