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.

MSP430FR2155: MSP-FET cannot be connected, depends on the programmed firmware

Part Number: MSP430FR2155
Other Parts Discussed in Thread: MSP-FET,

Hi Experts,

My customer is encountering the failure that there are some chances that MSP-FET cannot be connected to MSP430. This seems to depend on the programmed firmware. After trying to connect, they succeeded to connect the device. After reprograming it, MPS-FET can be connect as usual.

MSP430FR2155

MSP-FET

CCS 10.1.1

Is this known behavior? Are there any method to recovery form this situation?

Regards,

Uchikoshi

  • Hello,

    This sounds like a JTAG interface that doesn't match what's recommended in the MSP430 Hardware Tools User's Guide. I doubt the code matters here, but I could be wrong. If the code disabled the JTAG inputs, then the MSP-FET would not connect to the device no matter how many attempts to reconnect were made. Thus, this makes me suspect the JTAG circuitry.

    Regards,

    James

  • Hi James,

    They are following to below schematics on the datasheet. The capacitor between RST/NMI and GND is 1nF.

    Can you please investigate about the possibility that this issue occurs? Have you ever encountered the similar behavior?

    Regards,

    Uchikoshi

     

  • Hello,

    Thanks for confirming their JTAG circuitry.

    Hisao Uchikoshi said:
    Can you please investigate about the possibility that this issue occurs? Have you ever encountered the similar behavior?

    There could be several things that cause this behavior such as but not limited to:

    • Using a USB hub between the MSP-FET and PC.
    • Using longer-than-recommended wires or cables between the MSP-FET and target device.
    • Using a CCS workspace or project that's somehow corrupted.

    For the last bullet point, creating a new CCS workspace or project may help resolve this issue.

    If it's strictly related to the firmware, then they could remove code until the issue goes away which could indicate what's causing the issue.

    Regards,

    James

  • Hi James,

    Thank for your reply. Please let me ask the final question. When attempting to load the program, below GUI message appeared.

    What do you think cause this?

    Regards,

    Uchikoshi

  • Hi Uchikoshi,

    Thanks for sharing the latest screenshot. I suspect the code previously programmed on the device had IP encapsulation enabled that locked that area of the FRAM memory which could cause this error.

    Under your CCS project properties, go to "Debug" > "MSP430 Flash Settings" > "Erase Options" and select the "Erase main, information and protected information memory" option. Click "Apply and Close" and then try reprogramming the device.

    Hopefully that resolves the issue. If it doesn't, check out the Data Verification Errors guide.

    Regards,

    James

  • Hi James,

    Thank you for the information. The device is FR2155 and does not to support IPE. Even for FR2155, are there any chances to occur this phenomenon?

    Regards,

    Uchikoshi

  • Hi Uchikoshi,

    According to the FR2155 datasheet, the device has the SYSCFG0 register. Looking at Table 1-24 in the user's guide, the SYSCFG0 register contains fields including the FRWPPW bit which indicates this device features FRAM write protection. I suspect Section 1.12.4 MSP430FR23xx Configurations in the user's guide also covers the FR21xx devices since they're very similar (missing the SAC modules).

    Please try my earlier suggestion.

    Regards,

    James

**Attention** This is a public forum