Difference between revisions of "Arduino MKR WiFi 1010"
(→Preparing for J-Link) |
(→Preparing for J-Link) |
||
Line 13: | Line 13: | ||
[[File:MKR_Close.png|400px]] |
[[File:MKR_Close.png|400px]] |
||
+ | To this pads a 2x3 SMD pin header can be soldered. Then e.g. flying wires can be used for connection. |
||
The following table describes the pinning and how it should be connected to the [https://www.segger.com/products/debug-probes/j-link/accessories/adapters/segger-flying-wire-adapter/ SEGGER Flying Wire Adapter]. |
The following table describes the pinning and how it should be connected to the [https://www.segger.com/products/debug-probes/j-link/accessories/adapters/segger-flying-wire-adapter/ SEGGER Flying Wire Adapter]. |
||
{| class="wikitable" |
{| class="wikitable" |
Revision as of 16:56, 30 September 2020
This article describes how a J-Link probe can be used together with an Arduino MKR WiFi 1010 board.
Contents
Minimum requirements
- Any J-Link
- J-Link software V6.86a or later
- Embedded Studio Version 5.10b or later
- SEGGER Flying Wire Adapter
Preparing for J-Link
The Arduino MKR WiFi 1010 board does not come with an external debug interface connector, but the required pins are exposed on the back side as follows:
To this pads a 2x3 SMD pin header can be soldered. Then e.g. flying wires can be used for connection. The following table describes the pinning and how it should be connected to the SEGGER Flying Wire Adapter.
Arduino Board | Flying wire adapter |
---|---|
1 | GND |
2 | RESET |
3 | VTREF |
4 | NC |
5 | SWCLK |
6 | SWDIO |
In this example we are using a J-Link Plus Compact. The resulting connection will then look like this:
- Power the board via the USB-Mini port
- Verify the Connection with e.g. J-Link Commander. The output should look as follows:
Debugging in SEGGER Embedded Studio
Example projects for SEGGER Embedded Studio
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the Arduino MKR WiFi 1010 board. It is a simple Hello World sample and can be downloaded here: