When debugging a SAMD21 mini on IDE 2.0 what extra hardware is required.
Can this be done with extra wiring or does IDE2.0 require some kind of serial comms device to use the SAMD21 mini.
Can I make a custom board that will do this without any external debugging device by putting suitable wiring or a chip serial I.C. chip on board it?
It looks like you can use serialUSB SAMD21 Mini/Dev Breakout Hookup Guide - SparkFun Learn for some debugging.
Ahh .....Yes that's a good method.
Thank you very much, I didn't find that web page when I searched, but I have got it now.
It depends on what you mean by "debugging".
If you mean using the integrated debugger that opens when you click the "Debug" button on the toolbar, then you will need either a CMSIS-DAP compliant debug probe or else a J-Link (but note the J-Link requires some fairly complex additional configuration)
Traditionally, the Arduino community has mainly just used serial print statements strategically placed in the sketch code for debugging. In this case, you would not use the Arduino IDE integrated debugger at all, but instead the Serial Monitor. No extra hardware whatever will be needed to do that. You do not need an FTDI breakout or serial display as shown in the linked tutorial. You can use the SerialUSB
port shown there.
Thanks, aware of this serial method and the LED flash and the CRO on a port method.
Was interested in debugging as I described it.
As above, asyork has taken the time to understand the question and provided one good way of doing it.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.