-
Notifications
You must be signed in to change notification settings - Fork 29
Debuging with Arduino IDE 2.3.0 fails #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also - this will be fixed in the newer releases so users won't have to change this manually. |
I tried this config for launch.json file: {
"version": "0.2.0",
"configurations": [
{
"configId": "SiliconLabs:silabs:thingplusmatter_matter:programmer=commander",
"cwd": "${workspaceRoot}",
"request": "launch",
"type": "cortex-debug",
"executable": "C:\\Users\\INTEL-N100\\AppData\\Local\\Temp\\arduino\\sketches\\3EAA7A8A625EA056DE8D67FA7B43AFE6/matter_lightbulb.ino.elf",
"toolchainPrefix": "arm-none-eabi",
"name": "SparkFun Thing Plus Matter (Matter) (commander)",
"servertype": "jlink",
"armToolchainPath": "C:\\Users\\INTEL-N100\\AppData\\Local\\Arduino15\\packages\\SiliconLabs\\hardware\\silabs\\1.0.0/../../../tools/gcc-arm-none-eabi/12.2.rel1/bin/",
"configFiles": [
""
],
"device": "MGM240PB32VNA",
"interface": "swd"
}
]
} I am getting this:
|
"in the config named Arduino change the servertype parameter to jlink. " When I click on debug, arduino puts the file back to what it was. |
@TomInIowa Did you try with Arduino IDE 2.3.1? |
See: arduino/arduino-ide#2363 (comment) |
Until the upstream fix is published I'll help you folks to work around the issue in the current release. If you do these steps you'll be able to debug with the newer 2.3.x IDEs. First close the Arduino IDE. Secondly you'll need to modify platform.txt in your core installation. It's located in the Arduino15 folder which is at different places on different OSs.
to
You can open your IDE back up. It's time to modify the debug_custom.json file. The new IDE version requires a new format which looks like this:
Change serverpath according to you platform and debugger install location. Change the Here's a table listing all the
Make sure you select Simplicity Commander as your programmer. |
Thank you silabs-bozont. Debugger is working. I am running Arduino IDE |
There is a bug in Arduino IDE >=2.3.0 that causes the values of certain keys in arduino/vscode-arduino-tools#48 The affected keys include the You can work around the bug by using these alternative key names:
With the workaround keys added, the [
{
"configId": "SiliconLabs:silabs:thingplusmatter_ble:programmer=commander",
"server": "jlink",
"servertype": "jlink",
"device": "MGM240PB32VNA",
"interface": "swd",
"server": "JLinkGDBServer",
"serverpath": "JLinkGDBServer"
}
] Even though the |
Hi @per1234! Thank you very much for the heads up and the workaround! |
You are welcome. Reviewing my previous comment, I see I made an error in the [
{
"configId": "SiliconLabs:silabs:thingplusmatter_ble:programmer=commander",
"server": "jlink",
"servertype": "jlink",
"device": "MGM240PB32VNA",
"interface": "swd",
"serverPath": "JLinkGDBServer",
"serverpath": "JLinkGDBServer"
}
] |
are there other Silicon Labs boards that support Arduino Debugging just like the MGM240 board? maybe the SparkFun Thing Plus - ESP32-C6??? |
The esp32-c6 is espressif not silicon labs. |
Yes, the SparkFun Thing Plus ESP32-C6 while being the same form factor - is not from us, it's from Espressif. EFR32 and ESP32 are just one letter off :) |
Debuging with Arduino IDE fails with this error even if I followed this guide:
https://github.com/SiliconLabs/arduino?tab=readme-ov-file#debugger-configuration-file
debug_custom.json
Env
The text was updated successfully, but these errors were encountered: