-
Notifications
You must be signed in to change notification settings - Fork 119
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
Arduino IDE v2 debuging suport #346
Conversation
though menu selection does not seem to work with debug script. Though this is probably IDE issue.
…uld cause questions
I am trying it out, but unclear of the best way to force the M4 to use the 0.11.0 openOCD. I do have that version installed but it is not finding the config file.
Will debug more tomorrow |
Quick update. @mjs513 - tested on the M0, and showed his changes to platform.txt to force using OpenOCD 0.11, which I did and it now work on my Feather M4 express. For what it is worth, I am using an Raspberry Pi Pico as the CMIS-DAP using a free-dap image. |
@KurtE thank you for testing, another daplink can be used with pico is https://github.com/raspberrypi/picoprobe , which is the firmware running on pi debug probe. It has an advantage that implement multidrop and can also be use to debug another pico. |
debug_custom.json
in the sketch folder https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger#j-link and 2 template json are also include for user convenience at https://github.com/adafruit/ArduinoCore-samd/tree/ide2-debug/scripts/jlink/samd21 & samd52itsybitsy M4
Note: Metro M4 mux swd pin with neopixel or so, and is difficult to test with