MSPM0G1105: MSP-GANG programming failure (ERROR 23) and UART communication question on MSPM0G1105

Guru 13285 points

Part Number: MSPM0G1105
Other Parts Discussed in Thread: MSP-GANG

Hi,

We would like to ask for your support regarding a programming issue we are experiencing.

  1. Programming failure during software write

When programming the device using MSP-GANG Programmer, the programming process fails with the following error, and the software cannot be written successfully:

ERROR 23: MCU device initialization failed

Once this failure occurs, some boards can no longer be programmed at all, even when retrying the programming process.

  1. UART communication with MSP-GANG

In addition, we would like to confirm the following regarding UART communication when using MSP-GANG:

  • Is it possible to perform programming via UART (BSL) using MSP-GANG?

  • If supported, could you please advise on the communication method, required signal connections (wiring), and any necessary settings in MSP-GANG Programmer?

We are currently using MSP-GANG Programmer as the programming software.

Background information

The target device is TI MSPM0G1105TPTR.

We have observed boards where, after a software programming failure, the device becomes permanently unprogrammable.

We suspect that this issue may be related to programming the device via SWD.

As background, we previously had a similar product with almost identical hardware configuration. In the previous generation, the CPU was TI MSP430F233TPMR, and the programming interface was JTAG.

With the previous device, this type of programming failure has never occurred. Additionally, the manufacturing process and production conditions have not changed between the previous and current products.

The main difference between the two designs is that the programming interface was changed from JTAG to SWD. Therefore, we suspect that this interface change may be related to the issue.

Any insight into the root cause of this behavior, as well as recommendations on programming interface usage or recovery methods, would be greatly appreciated.

Best regards,

Conor

  • Hello Conor,

    Could you please share the GUI interface figure when GANG show you "MCU device initialization failed", and the silk screen of the chip you used? I want to check whether the device ID is matched.

    Could you please share the "Setup-> secure device / protect setup -> NonMain Memory Options for MSPM0 MCU" configuration figure here, and does the file you want to program into M0 includes NONMAIN?

    About the failed chips, have you tried to do factory reset through CCS?

    BR,

    Janz Bai