Note: for similar EVKs, see:
This article provides details using a J-Link debug probe with this EVK. There are two options: the onboard debug circuit can be updated with Segger J-Link firmware, or an external J-Link debug probe can be attached to the EVK. Using the onboard debug circuit is helpful as no other debug probe is required. However, the onboard debug circuit will no longer power the EVK when updated with the J-Link firmware. Appnote AN13206 has more details on this, and the comparison of the firmware options for the debug circuit. This article details the steps to use either J-Link option.
Using external J-Link debug probe
Segger offers several J-Link probe options. To use one of these probes with these EVKs, configure the EVK with these settings:
- Remove jumpers J9 and J10, to disconnect the SWD signals from onboard debug circuit. These jumpers or installed by default.
- Use default power selection on J40 with pins 5-6 shorted.
- Connect the J-Link probe to J2, 20-pin dual-row 0.1" header.
- Power the EVK with one of the power supply options. Typically USB connector J1 is used to power the board, and provides a UART/USB bridge through the onboard debug circuit.
Using onboard debug circuit with J-Link firmware
- Follow Appnote AN13206 to program the J-Link firmware to the EVK.
- Use jumper J12 to change the mode of the onboard debug circuit:
- Install J12 to force bootloader mode, to update the firmware image
- Remove J12 to use the onboard debugger
- Install jumpers J9 and J10, to connect the SWD signals from onboard debug circuit. These jumpers are installed by default.
- Plug USB cable to J1. This provides connection for J-Link debugger and UART/USB bridge. However, with J-Link firmware, J1 no longer powers the EVK
- Power the EVK with another source. Here we will use another USB port. Move the jumper on J40 to short pins 3-4 (default shorts pins 5-6)
- Connect a 2nd USB cable to J48 to power the EVK. The green LED next to J40 will be lit when the EVK is properly powered.