Part Number: MSP430FR5738
Other Parts Discussed in Thread: MSP430FR6989, MSP-TS430RHA40A
Tool/software: Code Composer Studio
I want to use a MSP430FR6989 Launchpad to program an external target, an MSP430FR5738 located on its own, separate PCB with its own local power supply of 3V. I have used this same launchpad EZ-FET to program external targets dozens of times in the past without problems. Nevertheless, when I press the DEBUG button in CCS v7.2, I get an error message "Target must be connected before calling the function" In essence, it seems the EZ-FET programming/emulation is not recognizing my FR5738 target. Let me describe some empirical observations as well as my setup.
First, connectivity:
**PC --> USB Cable --> FR6989 Launchpad
**Removed all jumpers between the FR6989 Launchpad EZ-FET side and the included on-board processor.
**Tie GND pin on EZ-FET side to local GND on target PCB.
**Tie SBWTCK on EZ-FET side to SBWTCK on target PCB.
**Tie SBWTDIO on EZ-FET side to SBWTDIO on target PCB.
**Leave 3.3V supply on the Launchpad open between the two PCB's because my target PCB has its own local 3.0V supply.
**Tied !RST to VCC by 47k resistor to my local 3.0V rail.
** Using an 8MHz crystal oscillator connected to XIN/XOUT, with proper load capacitors.
Every connection has been verified 3x by continuity test.
Next, empirical observations:
**AVCC & DVCC measures 3.08V at the device pins. There are 0.1uF caps to GND on both supply pins.
**VCORE measures 1.51V at the device's VCORE pin. There is a 0.68uF cap to GND here too.
**After wrestling with no communication for 6 hours, I desoldered the existing MCU and replaced with a fresh MCU, re-ran all continuity checks. This was just to be sure it isn't a bad part or an ESD failure.
** !RST pin idles at 3.08V when EZ-FET is connected or not connected. However, as soon as the debug session is started on my PC and the "Target must be connected before calling the function" error appears, the !RST pin drops to GND level. When I exit the (failed) debug session, !RST is pulled back up to 3.08V.
** I used this FR6989 Launchpad/EZ-FET to program another device, an FR4133, with its own local power supply as well and this worked the first time, leading me to conclude the EZ-FET I am using is functional on the local Launchpad PCB, as well as with an external FR4133 device.
** Firmware was updated/downloaded to EZ-FET when I plugged in the Launchpad and started CCS v7.2. CCS is also up to date with the latest version.
I've been stuck on this problem for a full day now. Any ideas as to what might I can try to get this up and running?