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.

MSP430FR2476: Flashing MSP430 using Launchpad

Part Number: MSP430FR2476

Hello,

I am using the MSP430FR2476 on a custom PCB and I am trying to flash it using the debugger portion of the LP-MSP430FR2476, but I get an "Unknown Device" error in CCS when doing this. I have the SBWTCK, SBWTDIO, RX, TX, and VCCTARGET (3V3) from the Launchpad headers connected to the corresponding pins on the custom PCB, this is basically what the Launchpad does with a few jumpers. This process worked when I tried programming the MSP430 from another Launchpad (Launchpad 2) using the programmer from Launchpad 1 (the Launchpad I am using now).

I have verified that the signals arrive on the MSP430 pins on the custom PCB and I have attached a screenshot of these signals. The TX and RX signals did not change so they are not included in the screenshot.

I have tried powering the MSP430 using both the 3V3 line from the debugger and an external 3V3 power supply with no change. 

I have also supplied the schematic of the MSP430 in the custom PCB I am building. It is basically the same as the Launchpad without the LEDs and the external oscillator.

Thanks in advance for any help.

  • Don't know if there is any capacitor on target device RESET pin? If it is, than max value for working TI SBW interface should be 1nF. TX / RX lines are irrelevant for SBW interface.

  • Thank you for responding. I do not have a cap on the RESET pin. I read that Tx and Rx are not part of the SBW interface, but when monitoring the signals on the Launchpad I saw activity on Tx and Rx while programming so I included pins to them just in case. 

    The issue was resolved however. I am not sure what was causing the target to not be recognized, but I was able to program the target a few times. It is not completely reliable though. Occasionally I do get the Unknown Device error which is solved by retrying or powering off the programmer and powering it back on. 

    Is it safe to power the target device using a power supply external to the programmer if the ground lines are shared? I have been doing this to some success so far, but I am wondering if this is the reason programming is not reliable.

  • Hi,

    Is it safe to power the target device using a power supply external to the programmer if the ground lines are shared?

    Re: Yes. But remember just connect the GND and don't connect 3V3 from programmer.

    SBW is much more critical than JTAG. From hardware side, I advice you to follow the Target board. From software side, you can try to decrease the download speed.

    Eason

**Attention** This is a public forum