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.

MSP430FR4133: BSW programming problem on ~1% of units

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

Programming a production run of PCBs with an MSP430FR4133 on it. Programming is done over Bi-Spy-Wire using MSP Flasher 1.3.20. 

About 1% of units are failing with..

# Exit: 16
# ERROR: Unknown device

..followed by...

* Driver      : closed (Internal error)

Here is a screenshot showing a failed programming session...

Trying to manually program one of these failed units using CCS `Run->Load` similarly produces this similar error...

I have tried multiple MSP-FET and EZ-FET devices and always get this same failure mode for these failed units.

A signal trace of the TST and RST pins during one of these failed programming attempts shows that the chip is going into BSW mode and is responding with the correct JTAG ID (0x98) on TDO when a value is shifted into the IR, so I think this proves that the connections to those pins are good and and that the BSW & JTAG state machines are working. 

I get the same failure mode for all BSW operations I have tried, including reading and erasing memory. 

I have attached dumps of the decoded JTAG transactions when attempting to read the device information block from both a good unit and a bad unit using the command...

`msp430flasher -r [d.txt,0x1a04-0x1a07]`

(Unfortunately I can not further debug these decodes because they seem to include many instructions like 0x0d, 0x0c, 0x42, 0x87 that are not documented in SLAU320AJ Table 2-5)

Note that I am able to access these chips over the serial bootloader and read and write memory with no issues. 

Any ideas what could be different about these failed units that is causing these errors when attempting to access them over BSW, and how to prevent/resolve this issue?

Thanks!

-josh

good.csvfail.csv

**Attention** This is a public forum