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.

CCS/MSP-FET: Having problems uploading firmware with MSP-FET

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

Tool/software: Code Composer Studio

Hello,

I am attempting to upload firmware to a MSP430F5529 chip on my custom PCB using the MSP-FET Flash Emulation Tool. I connected 4 of the MSP-FET's 14 pins (TDO/TDI, TCK, GND and VCC_TARGET) to a 4-pin female header on the board, which is wired to the SBWTDIO and SBWTCK pins of the MSP430F5529 and the ground plane and power rail of the board.

When the VCC pin of the header is connected to VCC_TARGET of the MSP-FET, I get the following error: "MSP430: Error initializing emulator: The voltage 1379 value is not correct/allowed for the USB FET". My PCB is powered by a 9V battery. Regardless of whether the battery is plugged into the PCB, the voltage value in the error message remains the same. Using a multimeter, I checked the voltage difference between pins VCC and GND of the female header, and it measured to 1.379 V. This means that when the MSP-FET is configured to allow an external supply (9V battery) to power the programming of the chip, the only recognized voltage comes from the MSP-FET.

When the VCC pin of the female header is connected to VCC_TOOL, I get the error, "Error connecting to the target: Unknown device". In this case, the power supply should come from the MSP-FET, but CCS isn't able to recognize the MSP-FET after the pin is switched from VCC_TARGET to VCC_TOOL.

I also tried to program the MSP430F5529 chip with the MSP-EXP430F5529LP, to no avail. I connected each of the pins of the 4-pin female header to their respective pins on the right side (debug interface) of the launchpad and connected the launchpad to my computer. Upon debugging the program, I receive this error: 

"MSP430: File Loader: Verification failed: Internal error while writing 0x04400
MSP430: GEL: File: C:\Users...xxxx.out: Load failed."

How can I fix these errors and successfully upload my program to the PCB? Any help would be greatly appreciated!

Thank you,

Yamen

  • Hi Yamen

    VCC_TARGET is monitor the target board Vcc. VCC_TOOL is MSP-FET provide 3.3V to the target board.

    On VCC_TARGET connection case, please check if the board Vcc is 3.3V when powered 9V battery and disconnected (w/o) MSP-FET. after confirm the board voltage is normal (~3.3V) without MSP-FET, try connect FET with user board in these 4 pins. and you can test only connect TDO/TDI, TCK, GND (3 pins).

    On VCC_TOOL connection case, please ensure there is no other power supply on the user board. and test if board Vcc is 3.3V after MSP-FET is connected.

    Thanks!

**Attention** This is a public forum