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.

Problem programming msp430fr5969

Other Parts Discussed in Thread: MSP430FR5969, MSP430F417, MSP-TS430RGZ48C, MSP430FR5739, MSP-EXP430FR5739, MSP-EXP430FR5969, MSP-TS430RHA40A, CC2530

Hi,

I have samples of msp430fr5969, put them on a proto pcb but not able to program them from CCS.

I am using MSP430 Launchpad programmer part, but I am unable to connect to device.

Tried both samples with no luck.

I am using 4 wires from Launchpad (GND, VCC, TEST, RST).

The GND and VCC are available on uC pins and

there is an activity (pulses) on RST and TEST pins visible on oscilloscope.

Is there anything special about msp430fr5969 programming, I don't know about?

Jan

  • Hello again,

    More info. I have tried 2 Launchpads, one MSP-FET430UIF with 2 msp430fr5969 micros on 2 different boards.

     Always getting the error:

    Error connecting to target. Unknown device

    Is it possible, that my samples were DOA?

    Can someone please give me a hint?

    Jan

  • More updates,

     After wasting 1 day+ I decided to download IAR EW and I am able to program my hardware with no problem.

    Conclusion: CCS5.3.0.00090 has a problem not recognising MSP430FR5969 d3evice (driver?, software?, ???)

    I still want to use CCS.

    If anyone was able to use it with new msp430FR... devices can I ask how?

    I am using software examples from here http://www.ti.com/product/msp430fr5969 

    Or maybe I am doing something wrong?

    Jan

  • I have been trying to upload sample code to the MSP430FR5969 Wolverine chip, and am having trouble as well. I keep getting the following error: 

    Error connecting to the target:
    Unknown device

    I thought my chips might be bad, but I ordered 2 new samples and get the same error with them. 

    I am using CCS 5.4.0.00091 and the MSP-FET430UIF programming interface. The programming interface does work with other MSP430 chips that I have tested.

    Thanks so much if anyone can help with this at all.

    -Jordan

  • Strange...

    with the same debug interface and MSP430F417, I Have no problem to detect it...

    did you check if the device is well recognized by the computer?

  • Same problem connecting to the device (FR5969). I have now tried 3 different sets of samples and 2 different USB FET programmers. Same issue on all of them. I most recently tried using CCS V5.4 (Windows 7). I have used the same CCS version and same programmers to program different MSP430s with no problem.

    I'm gonna try on an earlier version of CCS and see how that goes.

    Has anyone else resolved this issue yet?

    -Jordan

  • Hi Jordan,

    What revision of MSP430FR5969 do you have? You can find the revision letter in the markings on the top of the part.

    Are you using the MSP-TS430RGZ48C target board, or a custom board?

     Can you confirm what position the various jumpers are in on your FR5969 board? Specifically, if you are wanting to power the device from the FET tool, make sure that J1 is set to INT. If you want to power the device from an external source like a bench supply, make sure that J1 is set to EXT.

    In addition, if you ordered your parts in a MSP-TS430RGZ48C kit, please check the number on the kit box against the numbers in this post: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/254008/891069.aspx#891069 You are looking to see if you might have Date: 35/2012 or 38/2012.

    Regards,

    Katie

  • Thank you so much, Katie. I had left the jumper as it was when I received it (with Vcc set to ext). After setting the jumper to int, it worked. Finally! Thanks again!

  • Hello, how do you set J1 as int? Thanks!

  • Hi Fabio,

    Here is a picture of the MSP-TS430RGZ48C, with the J1 pins circled:

    Here you can see that in this picture, it is in the EXT position (where pins 2 and 3 are connected). To move to the INT position, move the jumper so that pins 1 and 2 are connected (you can see this is marked as INT on the silkscreening).

    Regards,

    Katie

  • Perfect, it works! Thank you!

  • Hello to all,

    I have similar problems in programming a self made board equipped with the MSP430FR5969 microcontroller.

    To program it I'm using the signals VCC, GND, RST, TEST coming from the MSP430FR5739 Experimenter board.

    Using IAR I have no problem to program the board. It works fine, while CCS (v 5.5.0) is unable to program the device. The pop-up message states: "unable to connect to the target". The error message in CCS console is "Power failure on target CPU".

    Can someone help me? I need to use CCS for my project.

    Thanks

  • Hi Danilo,

    Were you using the MSP-EXP430FR5739 board to program an MSP430FR5969 device? The problem is that this board does not support the FR5969 device. Please see table 1-1 on p. 11 of the hardware tools user's guide www.ti.com/lit/pdf/slau278 - for the MSP-EXP430FR5739 board it says: "Supports FR57xx, F5638, F6638" - so there is not support for your device.

    Are you sure that IAR was working? By default IAR runs code in a simulator instead of loading it on a board - maybe this is what was happening (in IAR right click on your project and go to Options > Debugger and make sure that on the Setup tab under Driver it has the FET Debugger selected in the dropdown, not Simulator). Even if it was working, it isn't designed for programming your device and so it isn't really guaranteed to work.

    You should instead use the MSP-FET430UIF tool (which has more features, like adjustable voltage if you want to run your target board at some other voltage level) or the new MSP-EXP430FR5969 launchpad.

    Regards,

    Katie

  • Hi Katie, thank you for your reply.

    Katie Pier said:

    Hi Danilo,

    Were you using the MSP-EXP430FR5739 board to program an MSP430FR5969 device? The problem is that this board does not support the FR5969 device. Please see table 1-1 on p. 11 of the hardware tools user's guide www.ti.com/lit/pdf/slau278 - for the MSP-EXP430FR5739 board it says: "Supports FR57xx, F5638, F6638" - so there is not support for your device.

    Are you sure that IAR was working? By default IAR runs code in a simulator instead of loading it on a board - maybe this is what was happening (in IAR right click on your project and go to Options > Debugger and make sure that on the Setup tab under Driver it has the FET Debugger selected in the dropdown, not Simulator). Even if it was working, it isn't designed for programming your device and so it isn't really guaranteed to work.

    I'm totally sure that code is running on board. I have selected the FET debugger in the project options. 

    Katie Pier said:

    You should instead use the MSP-FET430UIF tool (which has more features, like adjustable voltage if you want to run your target board at some other voltage level) or the new MSP-EXP430FR5969 launchpad.

    Both IAR and CCS can't program my device even using the MSP-FET430UIF. 

    Summarizing I have:

    _ the experimenter board (incompatible with FR5969) can program my FR5969 using IAR

    _ the MSP-FET430UIF (compatible) can't program my FR5969.

    I'm going crazy :-)

    P.S: I'm using the MSP430FR5969 marked with letter "E".

  • Hi Danilo,

    Thanks for providing the additional details, it is helpful to know that you have tested with the FET tool - it tells us that something else is going on.

    It sounds like you are using your own board for programming. Could provide the part of the schematic that shows the programming connections, and provide information on which pins of the FET tool you have connected to which connections on your board?

    Regards,

    Katie

  • Hi Katie,

    the following image shows the schematic of the on-board program connections and the related signals coming from the MSP-FET430UIF JTAG connector. As I'm using the Spy-by-Wire connection both uart Rx and Tx are not used.

  • Hi Danilo,

    Using an MSP-EXP430FR5969 board with a Rev. E device on it, I removed the programming jumpers and programmed it with an MSP-FET430UIF tool connected to the SBW connections as you noted without issue in CCS. So I was unable to reproduce your issue with CCS v 5.5.0.00077 on a known good board.

    The connections that you show in your schematic above look correct - the only thing I would question is the resistor that you have on your Vcc pin - I'm unsure why you have this. It is not part of the recommended connections from Figure 2-3 of the Hardware Tools User's Guide. What is the resistor on Vcc for?

    In addition, the error message that you reported was about not being able to provide power to the part. Is the FET tool Vcc connection supplying power to your whole board? Do you have other things on your board other than the MSP430? It could be that the total board is drawing more power than the FET tool can supply and this is causing the problem - I would recommend trying to remove everything but the MSP430 itself and just its required passives as a starting point to see if this improves.

    If it turns out that the problem is the rest of the board drawing too much for the MSP-FET430UIF tool to supply, you can instead power the board from an external power supply, and simply change the Vcc to connect to FET tool pin 4 instead of pin 2. When programming with this configuration, I recommend powering up your external supply to the board before plugging in your FET tool.

    Regards,

    Katie

  • Hi Katie,

    Katie Pier said:

    The connections that you show in your schematic above look correct - the only thing I would question is the resistor that you have on your Vcc pin - I'm unsure why you have this. It is not part of the recommended connections from Figure 2-3 of the Hardware Tools User's Guide. What is the resistor on Vcc for?

    This is a 0-ohm resistor. It doesn't affect the Vcc line.

    Katie Pier said:

    In addition, the error message that you reported was about not being able to provide power to the part. Is the FET tool Vcc connection supplying power to your whole board? Do you have other things on your board other than the MSP430? It could be that the total board is drawing more power than the FET tool can supply and this is causing the problem - I would recommend trying to remove everything but the MSP430 itself and just its required passives as a starting point to see if this improves.

    The error message related to the power supply has been given when programming the board using the FR5739 experimenter board.

    Using the MSP-FET430UIF the error message is: "Error connecting to the target: Unknown device". Obviously, I have checked that the MSP430FR5969 target is selected in the project options.

    Anyway, I'm sure that whole the board is powered. I tested two different boards, one with other components and one equipped with only the microcontroller. In both cases the message is "Error connecting to the target: Unknown device".

    Katie Pier said:

    If it turns out that the problem is the rest of the board drawing too much for the MSP-FET430UIF tool to supply, you can instead power the board from an external power supply, and simply change the Vcc to connect to FET tool pin 4 instead of pin 2. When programming with this configuration, I recommend powering up your external supply to the board before plugging in your FET tool.

    I tried this. I powered up my board using external supply and then connected the pin 4 in place of pin 2. There is no way, it doesn't work.

    Question: Is it possible that my prototypes are corrupted or defective?

    Thank you for yor help.

    Danilo

  • Hi Danilo,

    I haven't heard of Rev. E parts having debug problems. Since I had run a test with a Rev. E part myself without issue, let's try to rule out CCS and tools versions.

    You already said you have CCSv5.5, which is the same as what I have. However, there have been 3 different tools releases for CCSv5.5, and I tested with the latest one. In CCS, go to Help > Studio and then click the Installation Details button. Under Installed Software, scroll down to MSP430 Emulators and see what version it lists. The latest version, which I tested with successfully is 5.5.0.21. If you do not have this version, I'd recommend going to Help > Check for updates and allowing your CCS to update and seeing if this makes a difference.

    Please note, with MSP430 Emulators version 5.5.0.21 Rev D of Wolverine is no longer supported, so please double-check that you do not have Rev. D parts (I know you said you had Rev. E).

    Regards,

    Katie

  • Katie Pier said:

    Hi Danilo,

    I haven't heard of Rev. E parts having debug problems. Since I had run a test with a Rev. E part myself without issue, let's try to rule out CCS and tools versions.

    Ok, I can confirm that. I have replaced the old rev.E processor with another rev.E. I didn't solve my problems 

    Katie Pier said:

    You already said you have CCSv5.5, which is the same as what I have. However, there have been 3 different tools releases for CCSv5.5, and I tested with the latest one. In CCS, go to Help > Studio and then click the Installation Details button. Under Installed Software, scroll down to MSP430 Emulators and see what version it lists. The latest version, which I tested with successfully is 5.5.0.21. If you do not have this version, I'd recommend going to Help > Check for updates and allowing your CCS to update and seeing if this makes a difference.

    Please note, with MSP430 Emulators version 5.5.0.21 Rev D of Wolverine is no longer supported, so please double-check that you do not have Rev. D parts (I know you said you had Rev. E).

    I have updated CCS to the latest version but there is no way. I can't program my board. More precisely i have the same problems:

    _ I can program it using the FR5739 experimenter board combined with IAR 

    _ I can't program my board using the FET430UIF neither with CCS nor with IAR

    That's all very strange.

    Anyway, thank you for your support.

    Best regards

    Danilo

  • Hi Danilo,

    Very strange. I'm trying to think of anything else that might be different in our setups.

    Here are a few more ideas that you can look into:

    1. Try removing the 2.2nF cap on RST and see if you have any better luck trying to program with the MSP-FET430UIF tool. If you have long cables it may be that the capacitance of those cables is enough that you are having timing issues with the RST/SBWTCK line.

    2. The JTAG header that you show in the picture before has the connections in the orientation for if you were plugging into the plug end of the JTAG cable. However, if instead you are not using the JTAG ribbon cable and are connecting directly to the pins in the socket on the end of the MSP-FET430UIF tool, the orientation is mirrored (since one is the plug and one is the receptacle). If you have disconnected your JTAG ribbon cable from the FET tool and are connecting to the FET tool pins directly, the orientation for pin 1 is like this picture:

    See how this is mirrored from your diagram, which shows instead where pin 1 is if you look head on at the plug on the end of the JTAG ribbon cable:

    Basically what I'm getting at here is to check whether your connections to the FET tool may be flipped - it is a really easy thing to do and I usually have to catch myself and think about it depending on if I'm plugging directly into the socket on the FET tool vs plugging connections into the ribbon cable to make sure it is flipped correctly for the situation, since they are mirrored.

    3. Along with #2, a good test to do if you have any other type of MSP430 device at hand (sounds like you have an MSP-EXP430FR5739 board) is to try programming a different MSP430 with the MSP-FET430UIF tool in the same configuration as a sanity check. On your MSP-EXP430FR5739 board, if you remove all of the J3 jumpers, you can then use jumper cables to individually connect TEST, RST, VCC, and GND pins from your MSP-EXP430FR5739 board to your MSP-FET430UIF tool and program it. This would be a test to see like #2 if the connections are flipped, or if you could be having an issue with your FET tool.

    Regards,

    Katie

  • Hi Katie,

    I found out the error. I used a wrong TEST signal. I post a new picture with the correct connection to be used.

    Using the following setup I can program my board both with IAR and CCS.

    Some considerations:

    1) This connection topology is used in the MSP-TS430RHA40A target board. 

    2) The MSP-TS430RGZ48C (targeted for wolverine microcontrollers) features a different TEST signal (as shown in SLAU278Q, pp 73). Is this an error?

    Thank you again for the help

    Regards

    Danilo

  • Hi Danilo,

    I used the FR5969 Launchpad (MSP-EXP430FR5969) which does not have this additional connection like the MSP-TS430RGZ48C target board to do another test. I had no issue when simply connecting TCK on the FET tool to TEST/SBWTCK on the MSP430 (like your original setup).

    The MSP-TS430RGZ48C target board connection to FET tool TEST/VPP is something legacy there from the devices that had a physical fuse that would be blown by a voltage from the tools TEST/VPP pin  (see Figure 2-2 from the Hardware Tools User's guide www.ti.com/lit/pdf/slau278) -  whereas the FR5969 has an eFuse like the 5xx/6xx devices and so this connection is unnecessary (see Figure 2-3 from the Hardware Tools User's guide www.ti.com/lit/pdf/slau278 ). As you can see from the MSP-EXP430FR5969 schematic (found in the user's guide here www.ti.com/lit/pdf/slau535 ) this extra connection is not included on the launchpad, and I've not been able to reproduce your issue when using the launchpad with SBW connections to a FET tool in the configuration you had shown earlier. So I was unable to reproduce your issue unfortunately. There is likely something else going on with your board. Do you have very long cables and traces between your FET tool and your target device? Sometimes this can cause problems as well.

    This being said, while this extra connection should be unnecessary, I don't see any added risk from you having this extra connection.

    Regards,

    Katie

  • Hello,

       I have MSP-Exp430FR5969 and MSP430 FR5969 target Board. I have Done programming(Flasing and Debugging) to Target board using MSP430-FET. My question is, is it possible to flash/debug Target board using MSP-Exp430FR5969 (Development Board from TI)  as same as SmartRF board is used to flash and debug the cc2530/41.

**Attention** This is a public forum