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.
Hi team,
When writing using MSP-GANG with the BSL setting with the TEST/SBWTCK pin and RST/NMI/SBWTDIO pin connections reversed, the write operation failed when using an external power supply and succeeded only when power was supplied from MSP-GANG.
When the connection was returned to the original state, writing succeeded with either power supply.
I would like to know the reason why writing succeeded only when power was supplied from MSP-GANG, even when the connection was reversed.
Is there anything I can think of?
The power supply circuit is appropriately changed between the external and internal power supplies.
Sincerely.
Ryu
Hi Jace,
Thanks for your reply.
Schematic attached.
There is no circuit around the power supply, but 3.3V is connected to the MCU power supply.
Sincerely.
Ryu
Hello,
If utilizing just BSL connection, with power being supplied by the board (not MSP-GANG), then you would need the following connections for proper BSL invocation and communication. These connections are different than typical SBW or JTAG connections.
Hello,
The attached schematic also has them all connected.
My question is why the write was completed only when power was supplied from the MSP-GANG, even though the TEST and RST pins are connected backwards.
What are the possible causes?
When the TEST and RST pins are reversed, the "Err 23 "MCU Device init."" error occurs when supplied from the circuit, but not when supplied from the MSP-GANG.
When the TEST and RST pins were connected correctly, writing was completed without error on either pin.
What are the criteria for a successful write in MSP-GNAG?
Sincerely.
Ryu
Hello Ryu,
I can't comment on the possible MSP-GANG behavior with wrong connections. You must have the correct corrections for proper operation. Keep in mind, if powering the device via the MSP-GANG, the connection to the header changes versus if its powered via the target. Those two pins are VCC_TOOL and VCC_TARGET. See note A in Figure 2-1 in the MSP430 HW User Guide for more information on how that pin must be connected.
For the proper BSL connections when powering device from board (local), see my diagram above. It seems you already have the proper connections from your comments it does program correctly when connected properly.
**Attention** This is a public forum