Hi,
I am really struggling to get Segger working with PlatformIO and VSCode.
I ave a number of different projects written in C++ using Platform IO / VSCode and I can’t seem to get it all working correctly, I am at a complete loss of what to do and where the problem may be. I have been struggling for a number of days with very little I can do to try and get it working.
I was originally going to post about the debugger stuck at ’Starting Target CPU’ but now I can’t even get that far. I get a 'Failed to open listener port 2331’ which after a few more moments of messages I end up with ‘Command Aborted’.
I have no idea where to how to resolve it, I’ve tried different software and redoing everything again, but I can’t make progress.
Can somebody give me any clues as to what to do, where I can find debug info and any idea how to configure it.
Thanks for reading may post
Mac OS: Catalina
VSCode: 1.51.0
PlatformOI: Core 5.0.2, Home 3.3.1
undefinedFailed to open listener port 2331
Reading symbols from /Users/matthew/Documents/PlatformIO/Projects/arduino_jlink/.pio/build/mkrwan1310/firmware.elf...
done.
PlatformIO Unified Debugger -> bit.ly/pio-debug
PlatformIO: debug_tool = jlink
PlatformIO: Initializing remote target...
0x0080d800 in ?? ()
Select auto target interface speed (2000 kHz)
Resetting target
Loading section .text, size 0x3974 lma 0x2000
Loading section .ramfunc, size 0x5c lma 0x5974
Loading section .data, size 0x90 lma 0x59d0
Start address 0x3ef8, load size 14944
Transfer rate: 119552 bits in <1 sec, 4981 bytes/write.
Temporary breakpoint 1 at 0x4054: file /Users/matthew/.platformio/packages/framework-arduino-samd/cores/arduino/main.cpp, line 34.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak main`
PlatformIO: More configuration options -> bit.ly/pio-debug
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x4054
Command aborted.
I am really struggling to get Segger working with PlatformIO and VSCode.
I ave a number of different projects written in C++ using Platform IO / VSCode and I can’t seem to get it all working correctly, I am at a complete loss of what to do and where the problem may be. I have been struggling for a number of days with very little I can do to try and get it working.
I was originally going to post about the debugger stuck at ’Starting Target CPU’ but now I can’t even get that far. I get a 'Failed to open listener port 2331’ which after a few more moments of messages I end up with ‘Command Aborted’.
I have no idea where to how to resolve it, I’ve tried different software and redoing everything again, but I can’t make progress.
Can somebody give me any clues as to what to do, where I can find debug info and any idea how to configure it.
Thanks for reading may post
Mac OS: Catalina
VSCode: 1.51.0
PlatformOI: Core 5.0.2, Home 3.3.1
undefinedFailed to open listener port 2331
Reading symbols from /Users/matthew/Documents/PlatformIO/Projects/arduino_jlink/.pio/build/mkrwan1310/firmware.elf...
done.
PlatformIO Unified Debugger -> bit.ly/pio-debug
PlatformIO: debug_tool = jlink
PlatformIO: Initializing remote target...
0x0080d800 in ?? ()
Select auto target interface speed (2000 kHz)
Resetting target
Loading section .text, size 0x3974 lma 0x2000
Loading section .ramfunc, size 0x5c lma 0x5974
Loading section .data, size 0x90 lma 0x59d0
Start address 0x3ef8, load size 14944
Transfer rate: 119552 bits in <1 sec, 4981 bytes/write.
Temporary breakpoint 1 at 0x4054: file /Users/matthew/.platformio/packages/framework-arduino-samd/cores/arduino/main.cpp, line 34.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak main`
PlatformIO: More configuration options -> bit.ly/pio-debug
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x4054
Command aborted.
They tell me I’m a grown up, I just want to play.