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.

MSP430F5438A: 4-wire JTAG, Device not supported (IAR)

Part Number: MSP430F5438A
Other Parts Discussed in Thread: MSP430F5438

I try to use Debug mode on IAR using the FPA FlashPro430. I'm facing some difficulties with the device recognition.

Here are the logs of my issue : 

Wed Jul 31, 2019 10:32:12: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, Baseline Edition 6.10
Wed Jul 31, 2019 10:32:12: Firmware version 20408002
Wed Jul 31, 2019 10:32:12: Interface dll version 2.4.8.2
Wed Jul 31, 2019 10:32:12: Invalid parameter(s) : (Configure) , mode=0xf, value=0x1
Wed Jul 31, 2019 10:32:14: Could not find device (or device not supported) : (OpenDevice) , Device=MSP430F5438A, PwLength=0x0
Wed Jul 31, 2019 10:32:31: Fatal error: Could not find device (or device not supported) Session aborted!
Wed Jul 31, 2019 10:32:31: Failed to get device
Wed Jul 31, 2019 10:32:31: Unknown device : (SetEEMSequencer)
Wed Jul 31, 2019 10:32:33: Fatal error: Closing debug session Session aborted!

I checked several times the wire connections since it seems to be one major mistake with this this kind of issue but I didn't find anything. I am using the experimenter board (MSP-EXP4305438) with the MSP430F5438.

Here are the different documentation for the JTAG interface I found :

FlashPro430 pinout (soldering side)

 

Signal Connections for 4-Wire JTAG Communication


My interface (red wires are power supply) If you can't see, the Vcc/sense of the flasher goes on the bottom-right of the JTAG connector on the photo

Note that I tried with USB and FET Power supply mode. I also checked the power supply output of the flasher with a multimeter and I checked the GND pin of the JTAG connector of the board to be sure to be in the good orientation.

I can't be sure it doesn't come from my interface but I did a lot of checks.

EDIT : I have been able to enter the debugguer mode ONCE. But can't do it again with the SAME configuration

  • Hello,

    sorry for the trouble you're experiencing. It is not possible for me to trace down your debugger - F5438 board connections. Just from the impression of the photo, you seem to have too many connections, means there must be some unnecessary. At the same time you seem to have the USB connector connected too. Please try to check the JTAG connections with the MSP-EXP430F5438 documentation, and try the setup first without the USB connection.

    Please check also the proper insertion of the device in the target socket.

    IAR also tends to lockup the USB debug connection, if there is a disconnect for whatever reason and then you need to disconnect the debug tool, restart IAR and connect the tool again.

    In addition, please keep in mind you're using a non-TI debug tool. Thus if the issues should be related to either IAR or the Elprotronic tool, you need to get in touch with their support.

    Best regards

    Peter

  • Hi Clement,

    did you manage to get the device up and running? Please let us know in case you still need support on this related to MSP430.

    Best regards

    Peter

  • As it is said in the edit section of my first post, YES I did manage to get the device up but only once. On the "successful" test, I cleared all the useless wires which could cause some bugs. 

  • Hi Clement,

    I very well saw your initial statement about the one successful attempt. My question was not related to this point, but asking you kindly for the latest status. I assume, as you not stating this in your last post, you've not yet managed to resolve the problem.

    Now please let me summarize the situation from my point of view:

    1. You're still experiencing issues with connecting to the MSP430F5438A device (actually here your post is already not perfectly clear, as in the headline you're mentioning the F5438A version, while in your post you speak about the non-A version), which you once have been able to access and I assume to program. Thus I would assume the device has been functional at that point of time.

    2. You're using IAR as IDE.

    3. You're using the FPA FlashPro430 from Elprotronic as debug interface.

    Now as you could download code once, the Experimenter's Board HW should be fine. As you have been able to download code once to the MSP430, the MSP430 can be assumed of initially having been functional. At further attempts it does not work anymore.

    Thus my conclusion on this would be, either, the MSP430 device has been damaged in some way, or the code you have downloaded for some reason blocks the JTAG communication. This could be ESD damage, this could be erroneously blowing the JTAG fuse, this could be resulting from a code, which generates repeatedly resets quickly after release. This could be expiry of the WDT or other reasons.

    Thus my recommendation is, to get a new MSP430F5438A sample. Try downloading a tested most simple code example from us, like the blinking LED, to verify once again your setup. With this code example the repeated downloads and debugging should work. In case you will experience the same issues, I would recommend starting to search for the issues in an other area. If e.g. for whatever the Elprotronic tool is applying wrong signals or voltage levels, it might be damaging the MSP430. That might be an explanation, why after 1st download your setup does not work any longer.

    Best regards

    Peter

  • Flashing the MCU with FlashPro430 just before using the debug mode on IAR seems to fix the issue. 

**Attention** This is a public forum