Other Parts Discussed in Thread: MSP-FET
Hi
We are using this controller (MSP430F5358) and the MSP-FET Emulation tool.
when we tried to flash through JTAG via CCS, it gave the error of MSP430: Error connecting to the target: The Debug Interface to the device has been secured
So when we explored we came to know that the JTAG interface is locked and to unlock it we need the JTAG signature programmed with 0000_0000h/FFFF_FFFFh and this can be done by BSL UART.
Hardware Connection
MSP-FET | CONTROLLER |
UART_TXD(Pin no: 12) | P1.1(TX) |
UART_RXD(Pin no: 14) | P1.2(RX) |
RST(pin no: 11) | RST#/NMI/SBWTDIO |
TEST/VPP (Pin no: 8) | TEST/SBWTCK |
VCC = 3.3V | |
GND | GND |
NOTE : For MSP and FET the voltage is 3.3V but from the different power sources.
We tried running the script but got the error
---------------------------------------------------------
BSL Scripter 3.4.0.1
PC software for BSL programming
2022-Jul-16 13:03:28
---------------------------------------------------------
Input file script is : //home/ti/BSL-Scripter/ScriptExampleLinux/Flash_OpenJtag/script.txt
MODE 5xx family /dev/ttyACM1
[ERROR_MESSAGE]Protocol is set to the default: UART
Baud rate setup for UART is not given / wrong
It will be setup to the default 9600baud
MASS_ERASE
[ACK_ERROR_MESSAGE]Unknown ACK value!
RX_PASSWORD
[ACK_ERROR_MESSAGE]Unknown ACK value!
RX_DATA_BLOCK JTAG_UNLOCK.txt
Read Txt File : /home/ti/BSL-Scripter/ScriptExampleLinux/Flash_OpenJtag/JTAG_UNLOCK.txt
[ACK_ERROR_MESSAGE]Unknown ACK value!
Time elapsed of writing 4 bytes : 1 seconds
Speed of writing data :0.003904(kB/s)
Note: we tried two BSL scripter versions, BSL Scripter 3.4.0.1/BSL Scripter 3.4.0.2.
Note: We probe the TX and RX pins in MSP430 and in the RX pin we are getting the bits but in the TX pin we are getting continuous 3.3V but no bits is recorded.