msptool icon indicating copy to clipboard operation
msptool copied to clipboard

Connection timed out

Open chenboshuo opened this issue 3 years ago • 3 comments

I'm using MSP430G2553 platform ubuntu 20.04

ls -l /dev/serial/by-id  

then I get

lrwxrwxrwx 1 root root 13 7月   1 20:51 usb-Texas_Instruments_MSP_Tools_Driver_721F896E22000100-if00 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 7月   1 20:51 usb-Texas_Instruments_MSP_Tools_Driver_721F896E22000100-if02 -> ../../ttyACM1

so I use the command

python msptool.py -f blinky.txt -p /dev/ttyACM0

but it not worked

msptool v0.3
Executing: ./mspdebug/mspdebug rom-bsl -d /dev/ttyACM0 "prog blinky.txt"
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

rom_bsl: bad ack character: 5
rom_bsl: bad ack character: 92
rom_bsl: sync failed
rom_bsl: failed on command 0x1e (addr = 0x0000, len = 0x0000)
warning: rom_bsl: failed to read version
Performing mass erase...
rom_bsl: bad ack character: 5
rom_bsl: bad ack character: 92
rom_bsl: sync failed
rom_bsl: failed on command 0x18 (addr = 0xfffe, len = 0xa506)
rom_bsl: initial mass erase failed
rom_bsl: failed to unlock
Resetting...

and I tried

python msptool.py -f blinky.txt -p /dev/ttyACM1

it failed,too

Executing: ./mspdebug/mspdebug rom-bsl -d /dev/ttyACM1 "prog blinky.txt"
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

rom_bsl: failed to receive reply: Connection timed out
rom_bsl: failed to receive reply: Connection timed out
rom_bsl: sync failed
rom_bsl: failed on command 0x1e (addr = 0x0000, len = 0x0000)
warning: rom_bsl: failed to read version
Performing mass erase...
rom_bsl: failed to receive reply: Connection timed out
rom_bsl: failed to receive reply: Connection timed out
rom_bsl: sync failed
rom_bsl: failed on command 0x18 (addr = 0xfffe, len = 0xa506)
rom_bsl: initial mass erase failed
rom_bsl: failed to unlock
Resetting...

Could you tell me how to connect? Thank you

chenboshuo avatar Jul 01 '21 13:07 chenboshuo