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