MSP340 (MSP-EXP340FR5994) debuging

Hello there,

Debuging MSP430 does not work. Debuging console:

Preparing firmware for debugging...
Processing lpmsp430fr5994 (platform: timsp430; board: lpmsp430fr5994)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/timsp430/lpmsp430fr5994.html
PLATFORM: TI MSP430 (2.4.0) > TI LaunchPad MSP-EXP430FR5994LP
HARDWARE: MSP430FR5994 16MHz, 4KB RAM, 256KB Flash
DEBUG: Current (mspdebug) On-board (mspdebug)
PACKAGES:
 - toolchain-timsp430 @ 1.40603.210219 (4.6.3)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in debug mode
Checking size .pio/build/lpmsp430fr5994/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.0% (used 2 bytes from 4096 bytes)
Flash: [          ]   0.2% (used 472 bytes from 262144 bytes)
========================= [SUCCESS] Took 0.25 seconds =========================
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
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.
undefinedUnknown driver: dslite. Try --help for a list.
Reading symbols from /home/edi/Dokumente/PlatformIO/Projects/Serial/.pio/build/lpmsp430fr5994/firmware.elf...
done.
PlatformIO Unified Debugger -> https://bit.ly/pio-debug
PlatformIO: debug_tool = mspdebug
PlatformIO: Initializing remote target...
.pioinit:11: Error in sourced command file:
:2000: Die Wartezeit für die Verbindung ist abgelaufen.

Terminal:

*  Task wird im Ordner Serial ausgeführt: platformio debug 

Processing lpmsp430fr5994 (platform: timsp430; board: lpmsp430fr5994)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/timsp430/lpmsp430fr5994.html
PLATFORM: TI MSP430 (2.4.0) > TI LaunchPad MSP-EXP430FR5994LP
HARDWARE: MSP430FR5994 16MHz, 4KB RAM, 256KB Flash
DEBUG: Current (mspdebug) On-board (mspdebug)
PACKAGES: 
 - toolchain-timsp430 @ 1.40603.210219 (4.6.3)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in debug mode
Compiling .pio/build/lpmsp430fr5994/src/main.o
Linking .pio/build/lpmsp430fr5994/firmware.elf
Checking size .pio/build/lpmsp430fr5994/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.0% (used 2 bytes from 4096 bytes)
Flash: [          ]   0.2% (used 472 bytes from 262144 bytes)
Building .pio/build/lpmsp430fr5994/firmware.hex
======================================================================== [SUCCESS] Took 0.34 seconds ========================================================================

Any ideas?

Thanks, Edi

MSP430 (MSP-EXP430FR5994) debuging does not work · Issue #31 · platformio/platform-timsp430 · GitHub is already the right place for that discussion.

@maxgerhardt unfortunately no one answered in github issues, so I wanted to ask if you might re-open this issue here? Or should all issues be discussed on github?
Thanks

Well if the error is

Unknown driver: dslite. Try --help for a list.

Then on a PlatformIO CLI, what does

pio pkg exec -p tool-mspdebug --call "mspdebug --help"

show?

pio pkg exec -p tool-mspdebug --call "mspdebug --help"

gives me following output:

Using tool-mspdebug@1.2400.190926 package
Usage: mspdebug [options] [command …]

-q
    Start in quiet mode.
-d device
    Connect via the given tty device, rather than USB.
-U bus:dev
    Specify a particular USB device to connect to.
-s serial
    Specify a particular device serial number to connect to.
-j
    Use JTAG, rather than Spy-Bi-Wire (UIF devices only).
-v voltage
    Set the supply voltage, in millivolts.
-n
    Do not read a configuration file on startup.
-C <file>
    Load an alternative configuration file.
--long-password
    Send 32-byte IVT as BSL password (flash-bsl only)
--help
    Show this help text.
--fet-list
    Show a list of devices supported by the FET driver.
--fet-force-id string
    Override the device ID returned by the FET.
--fet-skip-close
    Skip the JTAG close procedure when using the FET driver.
--usb-list
    Show a list of available USB devices.
--force-reset
    Force target reset in initialization sequence.
--allow-fw-update
    Update FET firmware (tilib only) if necessary.
--require-fw-update <image.txt>
    Require FET firmware update. The required image format depends
    on the driver.
--version
    Show copyright and version information.
--embedded
    Run in embedded mode.
--bsl-entry-sequence <seq>
    Specify a BSL entry sequence. Each character specifies a modem
    control line transition (R: RTS on, r: RTS off, D: DTR on, 
    d: DTR off).
--bsl-gpio-rts
    On some host (say RaspberryPi) defines a GPIO pin# to be used as RTS
--bsl-gpio-dtr
    On some host (say RaspberryPi) defines a GPIO pin# to be used as DTR

Most drivers connect by default via USB, unless told otherwise via the
-d option. By default, the first USB device found is opened.

If commands are given, they will be executed. Otherwise, an interactive
command reader is started.

Available drivers are:

    rf2500
        eZ430-RF2500 devices. Only USB connection is supported.
    olimex
        Olimex MSP-JTAG-TINY.
    olimex-v1
        Olimex MSP-JTAG-TINY (V1).
    olimex-iso
        Olimex MSP-JTAG-ISO.
    olimex-iso-mk2
        Olimex MSP430-JTAG-ISO-MK2.
    sim
        Simulation mode.
    uif
        TI FET430UIF and compatible devices (e.g. eZ430).
    uif-bsl
        TI FET430UIF bootloader.
    flash-bsl
        TI generic flash-based bootloader via RS-232
    gdbc
        GDB client mode
    tilib
        TI MSP430 library
    goodfet
        GoodFET MSP430 JTAG
    pif
        Parallel Port JTAG
    gpio
        /sys/class/gpio direct connect
    load-bsl
        Loadable USB BSL driver (USB 5xx/6xx).
    ezfet
        Texas Instruments eZ-FET
    rom-bsl
        ROM bootstrap loader

No mention of “dslite” in the possible drivers. Maybe PlatformIO wanted to use a different version or argument.

What’s the output of

pio pkg exec -p tool-mspdebug --call "mspdebug --usb-list"

and

pio pkg exec -p tool-mspdebug --call "mspdebug --fet-list"

pio pkg exec -p tool-mspdebug --call "mspdebug --usb-list"

Using tool-mspdebug@1.2400.190926 package

Devices on bus 000:
    000:004 2047:0013  [serial: 47B3B46F1C002E00]
    000:003 0bda:8153  [serial: 001000001]
    000:002 05e3:0626 
    000:001 05e3:0610 
Devices on bus 002:
    002:004 0461:4e90 
    002:003 0bda:1101 
    002:001 0bda:5411 
    002:002 0bda:0411

pio pkg exec -p tool-mspdebug --call "mspdebug --fet-list"
Using tool-mspdebug@1.2400.190926 package

Devices supported by FET driver:
    CC430F5123               MSP430F5357              
    CC430F5125               MSP430F5358              
    CC430F5133               MSP430F5359              
    CC430F5135               MSP430F5418              
    CC430F5137               MSP430F5418A             
    CC430F5143               MSP430F5419              
    CC430F5145               MSP430F5419A             
    CC430F5147               MSP430F5435              
    CC430F6125               MSP430F5435A             
    CC430F6126               MSP430F5436              
    CC430F6127               MSP430F5436A             
    CC430F6135               MSP430F5437              
    CC430F6137               MSP430F5437A             
    CC430F6143               MSP430F5438              
    CC430F6145               MSP430F5438A             
    CC430F6147               MSP430F5500              
    F20x1_G2x0x_G2x1x        MSP430F5501              
    F20x2_G2x2x_G2x3x        MSP430F5502              
    MSP430AFE220             MSP430F5503              
    MSP430AFE221             MSP430F5504              
    MSP430AFE222             MSP430F5505              
    MSP430AFE223             MSP430F5506              
    MSP430AFE230             MSP430F5507              
    MSP430AFE231             MSP430F5508              
    MSP430AFE232             MSP430F5509              
    MSP430AFE233             MSP430F5510              
    MSP430AFE250             MSP430F5513              
    MSP430AFE251             MSP430F5514              
    MSP430AFE252             MSP430F5515              
    MSP430AFE253             MSP430F5517              
    MSP430F11x1              MSP430F5519              
    MSP430F11x1A             MSP430F5521              
    MSP430F11x2              MSP430F5522              
    MSP430F12x               MSP430F5524              
    MSP430F12x2/F11x2        MSP430F5525              
    MSP430F12x2/F11x2        MSP430F5526              
    MSP430F133               MSP430F5527              
    MSP430F135               MSP430F5528              
    MSP430F147               MSP430F5529              
    MSP430F148               MSP430F5630              
    MSP430F149               MSP430F5631              
    MSP430F155               MSP430F5632              
    MSP430F156               MSP430F5633              
    MSP430F157               MSP430F5634              
    MSP430F1610              MSP430F5635              
    MSP430F1611              MSP430F5636              
    MSP430F1612              MSP430F5637              
    MSP430F167               MSP430F5638              
    MSP430F168               MSP430F5658              
    MSP430F169               MSP430F5659              
    MSP430F169               MSP430F6433              
    MSP430F20x3              MSP430F6435              
    MSP430F2112              MSP430F6436              
    MSP430F2122              MSP430F6438              
    MSP430F2132              MSP430F6457              
    MSP430F21x1              MSP430F6458              
    MSP430F2232              MSP430F6459              
    MSP430F2234              MSP430F6630              
    MSP430F2252              MSP430F6631              
    MSP430F2254              MSP430F6632              
    MSP430F2272              MSP430F6633              
    MSP430F2274              MSP430F6634              
    MSP430F233               MSP430F6635              
    MSP430F2330              MSP430F6636              
    MSP430F235               MSP430F6637              
    MSP430F2350              MSP430F6638              
    MSP430F2370              MSP430F6658              
    MSP430F2410              MSP430F6659              
    MSP430F2418              MSP430F6700              
    MSP430F2419              MSP430F6701              
    MSP430F247               MSP430F6702              
    MSP430F2471              MSP430F6703              
    MSP430F248               MSP430F6720              
    MSP430F2481              MSP430F6721              
    MSP430F249               MSP430F6722              
    MSP430F2491              MSP430F6723              
    MSP430F2618              MSP430F6724              
    MSP430F2619              MSP430F6725              
    MSP430F4132              MSP430F6726              
    MSP430F4152              MSP430F6730              
    MSP430F41x               MSP430F6731              
    MSP430F423               MSP430F6732              
    MSP430F4230              MSP430F6733              
    MSP430F423A              MSP430F6734              
    MSP430F425               MSP430F6735              
    MSP430F4250              MSP430F6736              
    MSP430F425A              MSP430FE423              
    MSP430F427               MSP430FE4232             
    MSP430F427A              MSP430FE423_N            
    MSP430F42x0              MSP430FE423_P            
    MSP430F43x               MSP430FE423A             
    MSP430F43x               MSP430FE425              
    MSP430F44x               MSP430FE425_N            
    MSP430F47166             MSP430FE425_P            
    MSP430F47167             MSP430FE425A             
    MSP430F47176             MSP430FE427              
    MSP430F47177             MSP430FE4272             
    MSP430F47186             MSP430FE427_N            
    MSP430F47187             MSP430FE427_P            
    MSP430F47196             MSP430FE427A             
    MSP430F47197             MSP430FE42x2             
    MSP430F477               MSP430FG4250             
    MSP430F478               MSP430FG42x0             
    MSP430F4783              MSP430FG43x_F43x         
    MSP430F4784              MSP430FG4618             
    MSP430F479               MSP430FG4619             
    MSP430F4793              MSP430FG477              
    MSP430F4794              MSP430FG478              
    MSP430F5131              MSP430FG479              
    MSP430F5132              MSP430FR5720             
    MSP430F5151              MSP430FR5721             
    MSP430F5152              MSP430FR5722             
    MSP430F5171              MSP430FR5723             
    MSP430F5172              MSP430FR5724             
    MSP430F5212              MSP430FR5725             
    MSP430F5213              MSP430FR5726             
    MSP430F5214              MSP430FR5727             
    MSP430F5217              MSP430FR5728             
    MSP430F5218              MSP430FR5729             
    MSP430F5219              MSP430FR5730             
    MSP430F5222              MSP430FR5731             
    MSP430F5223              MSP430FR5732             
    MSP430F5224              MSP430FR5733             
    MSP430F5227              MSP430FR5734             
    MSP430F5228              MSP430FR5735             
    MSP430F5229              MSP430FR5736             
    MSP430F5255              MSP430FR5737             
    MSP430F5304              MSP430FR5738             
    MSP430F5308              MSP430FR5739             
    MSP430F5309              MSP430FR5969             
    MSP430F5310              MSP430FW429              
    MSP430F5324              MSP430FW42x/F41x         
    MSP430F5325              MSP430G2xx2              
    MSP430F5326              MSP430G2xx3              
    MSP430F5327              MSP430L092               
    MSP430F5328              Preliminary_MSP430F12x2  
    MSP430F5329              Preliminary_MSP430F16x   
    MSP430F5333              Preliminary_MSP430F413   
    MSP430F5335              Prototype_MSP430F11x1    
    MSP430F5336              TMS430EMU                
    MSP430F5338              TMS430FCAS001            
    MSP430F5340              TMS430FCAS003            
    MSP430F5341              TMS430ROMSHUTTLE         
    MSP430F5342              XMS430F5438              

Devices supported by Olimex FET driver:
    CC430F5123               MSP430F5358              
    CC430F5125               MSP430F5359              
    CC430F5133               MSP430F5418              
    CC430F5135               MSP430F5418A             
    CC430F5137               MSP430F5419              
    CC430F5143               MSP430F5419A             
    CC430F5145               MSP430F5435              
    CC430F5147               MSP430F5435A             
    CC430F6125               MSP430F5436              
    CC430F6126               MSP430F5436A             
    CC430F6127               MSP430F5437              
    CC430F6135               MSP430F5437A             
    CC430F6137               MSP430F5438              
    CC430F6143               MSP430F5438A             
    CC430F6145               MSP430F5500              
    CC430F6147               MSP430F5501              
    F20x1_G2x0x_G2x1x        MSP430F5502              
    F20x2_G2x2x_G2x3x        MSP430F5503              
    MSP430AFE220             MSP430F5504              
    MSP430AFE221             MSP430F5505              
    MSP430AFE222             MSP430F5506              
    MSP430AFE223             MSP430F5507              
    MSP430AFE230             MSP430F5508              
    MSP430AFE231             MSP430F5509              
    MSP430AFE232             MSP430F5510              
    MSP430AFE233             MSP430F5513              
    MSP430AFE250             MSP430F5514              
    MSP430AFE251             MSP430F5515              
    MSP430AFE252             MSP430F5517              
    MSP430AFE253             MSP430F5519              
    MSP430F11x1              MSP430F5521              
    MSP430F11x1A             MSP430F5522              
    MSP430F11x2              MSP430F5524              
    MSP430F12x               MSP430F5525              
    MSP430F12x2/F11x2        MSP430F5526              
    MSP430F12x2/F11x2        MSP430F5527              
    MSP430F133               MSP430F5528              
    MSP430F135               MSP430F5529              
    MSP430F147               MSP430F5630              
    MSP430F148               MSP430F5631              
    MSP430F149               MSP430F5632              
    MSP430F155               MSP430F5633              
    MSP430F156               MSP430F5634              
    MSP430F157               MSP430F5635              
    MSP430F1610              MSP430F5636              
    MSP430F1611              MSP430F5637              
    MSP430F1612              MSP430F5638              
    MSP430F167               MSP430F5658              
    MSP430F168               MSP430F5659              
    MSP430F169               MSP430F6433              
    MSP430F169               MSP430F6435              
    MSP430F20x3              MSP430F6436              
    MSP430F2112              MSP430F6438              
    MSP430F2122              MSP430F6457              
    MSP430F2132              MSP430F6458              
    MSP430F21x1              MSP430F6459              
    MSP430F2232              MSP430F6630              
    MSP430F2234              MSP430F6631              
    MSP430F2252              MSP430F6632              
    MSP430F2254              MSP430F6633              
    MSP430F2272              MSP430F6634              
    MSP430F2274              MSP430F6635              
    MSP430F233               MSP430F6636              
    MSP430F2330              MSP430F6637              
    MSP430F235               MSP430F6638              
    MSP430F2350              MSP430F6658              
    MSP430F2370              MSP430F6659              
    MSP430F2410              MSP430F6700              
    MSP430F2418              MSP430F6701              
    MSP430F2419              MSP430F6702              
    MSP430F247               MSP430F6703              
    MSP430F2471              MSP430F6720              
    MSP430F248               MSP430F6721              
    MSP430F2481              MSP430F6722              
    MSP430F249               MSP430F6723              
    MSP430F2491              MSP430F6724              
    MSP430F2618              MSP430F6725              
    MSP430F2619              MSP430F6726              
    MSP430F4132              MSP430F6730              
    MSP430F4152              MSP430F6731              
    MSP430F41x               MSP430F6732              
    MSP430F423               MSP430F6733              
    MSP430F4230              MSP430F6734              
    MSP430F423A              MSP430F6735              
    MSP430F425               MSP430F6736              
    MSP430F4250              MSP430FE423              
    MSP430F425A              MSP430FE4232             
    MSP430F427               MSP430FE423_N            
    MSP430F427A              MSP430FE423_P            
    MSP430F42x0              MSP430FE423A             
    MSP430F43x               MSP430FE425              
    MSP430F43x               MSP430FE425_N            
    MSP430F44x               MSP430FE425_P            
    MSP430F47166             MSP430FE425A             
    MSP430F47167             MSP430FE427              
    MSP430F47176             MSP430FE4272             
    MSP430F47177             MSP430FE427_N            
    MSP430F47186             MSP430FE427_P            
    MSP430F47187             MSP430FE427A             
    MSP430F47196             MSP430FE42x2             
    MSP430F47197             MSP430FG4250             
    MSP430F477               MSP430FG42x0             
    MSP430F478               MSP430FG43x_F43x         
    MSP430F4783              MSP430FG4618             
    MSP430F4784              MSP430FG4619             
    MSP430F479               MSP430FG477              
    MSP430F4793              MSP430FG478              
    MSP430F4794              MSP430FG479              
    MSP430F5131              MSP430FR5720             
    MSP430F5132              MSP430FR5721             
    MSP430F5151              MSP430FR5722             
    MSP430F5152              MSP430FR5723             
    MSP430F5171              MSP430FR5724             
    MSP430F5172              MSP430FR5725             
    MSP430F5212              MSP430FR5726             
    MSP430F5213              MSP430FR5727             
    MSP430F5214              MSP430FR5728             
    MSP430F5217              MSP430FR5729             
    MSP430F5218              MSP430FR5730             
    MSP430F5219              MSP430FR5731             
    MSP430F5222              MSP430FR5732             
    MSP430F5223              MSP430FR5733             
    MSP430F5224              MSP430FR5734             
    MSP430F5227              MSP430FR5735             
    MSP430F5228              MSP430FR5736             
    MSP430F5229              MSP430FR5737             
    MSP430F5304              MSP430FR5738             
    MSP430F5308              MSP430FR5739             
    MSP430F5309              MSP430FR5969             
    MSP430F5310              MSP430FW429              
    MSP430F5324              MSP430FW42x/F41x         
    MSP430F5325              MSP430G2955              
    MSP430F5326              MSP430G2xx2              
    MSP430F5327              MSP430G2xx3              
    MSP430F5328              MSP430L092               
    MSP430F5329              Preliminary_MSP430F12x2  
    MSP430F5333              Preliminary_MSP430F16x   
    MSP430F5335              Preliminary_MSP430F413   
    MSP430F5336              Prototype_MSP430F11x1    
    MSP430F5338              TMS430EMU                
    MSP430F5340              TMS430FCAS001            
    MSP430F5341              TMS430FCAS003            
    MSP430F5342              TMS430ROMSHUTTLE         
    MSP430F5357              XMS430F5438

In addition I want to say that I use the MSP-EXP430FR2433 board, which is not listed above. So my device isn’nt supported by FET driver? What does this mean?

Hmmm let’s go the other route. The board JSON says

So it looks to me like it should just execute mspdebug gdb.

What’s the output of just

pio pkg exec -p tool-mspdebug --call "mspdebug gdb"

?

Hi @maxgerhardt, thanks again for your response!

I got following result:

pio pkg exec -p tool-mspdebug --call "mspdebug gdb"

Using tool-mspdebug@1.2400.190926 package
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
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.

Unknown driver: gdb. Try --help for a list.

A more general question: Does the mspdebug work on my system? I use OSX 13.3.1 and according to the official documentation mspdebug is supported on following systems:

The MSP Debug Stack is officially supporting the following operating systems:
  * Windows Vista, 32- and 64-bit
  * Windows 7, 32- and 64-bit
  * Windows 8, 32- and 64-bit
  * Windows 10, 32- and 64-bit
  * Linux Ubuntu 12.04, 32- and 64-bit
  * Linux Ubuntu 14.04 32- and 64-bit
  * Linux Ubuntu 16.04 32- and 64-bit
  * Linux Suse 10.3
  * OS X 10.9 (Mavericks) 64-bit
  * OS X 10.09.5 (Yosemite) 64-bit
  * OS X 10.11.4 (El Capitan) 64-bit
  * OS X 10.12.x (Sierra) 64-bit

Thata’s weird because when I execute that, I get at least the attempt to startup up.

>pio pkg exec -p tool-mspdebug --call "mspdebug gdb"
Using tool-mspdebug@1.2400.190926 package
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------- NOTE ------------------
Modified version of mspdebug for Energia
            Do not use standalone
-----------------------------------------
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

Using new (SLAC460L+) API
MSP430_GetNumberOfUsbIfs
No unused FET found.

Can you spin up a vritual Linux machine using VirtualBox or something and test the command inside a VM with the USB device for the dev boad forwarded?

I can try this later.
What is the difference between gdb and gdbc?
For me I get these results:

$ mspdebug gdbc
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
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.

gdbc: no remote target specified

$ mspdebug gdb
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
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.

Unknown driver: gdb. Try --help for a list.

$ pio pkg exec -p tool-mspdebug --call "mspdebug gdb"
Using tool-mspdebug@1.2400.190926 package
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
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.

Unknown driver: gdb. Try --help for a list.

$ pio pkg exec -p tool-mspdebug --call "mspdebug gdbc"
Using tool-mspdebug@1.2400.190926 package
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com>
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.

gdbc: no remote target specified

In addition I installed mspdebug via homebrew. I also have the binary under Users/jp/.platformio/packages/tool-mspdebug/mspdebug