Open JJeng opened 4 years ago
Having the same issue (Remote register badly formatted) with an msp430g2230, using the following platformio.ini configuration:
[env:msp430g2230]
platform = timsp430
board = lpmsp430g2231
board_build.mcu = msp430g2230
board_build.f_cpu = 16000000L
debug_tool = mspdebug
debug_build_flags = -O0 -g3 -ggdb -gdwarf-2
home: 3.1.0-rc.2, core: 4.1.1b9 (on vscode)
It's been a while, but I wanted to add this similar thread in case anyone's still having similar issues.
https://community.platformio.org/t/badly-formatted-error-during-debug/13916/2
It seems Platformio doesn't launch mspdebug
automatically, as I experienced at https://github.com/platformio/platform-timsp430/issues/17#issuecomment-813002528.
However, Platfomio doesn't launch
mspdebug
automatically. I have to open a Terminal window and run./mspdebug tilib gdb
manually.
Ran into the same issues mentioned in community post here PIO versions: Home 3.0.1 Core 4.1.0 on Visual Studio Code 1.41.1 for Windows Modification made to piomisc.py:324 to allow debug mode to compile.
debug_flags = ["-O0", "-g3", "-ggdb", "-gdwarf-2"]
Debug Console Output: