Note: for similar EVKs, see:
This article provides details using a J-Link debug probe with either of these EVKs. 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. 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 J6 and J7, to disconnect the SWD signals from the onboard debug circuit. These jumpers or installed by default.
- Power the EVK: the default option is connecting the power supply to barrel jack J43, and setting power switch SW5 to On position (3-6). The green LED D16 next to SW5 will be lit when the EVK is properly powered.
- Connect the J-Link probe to J1, 20-pin dual-row 0.1" header.
Using onboard debug circuit with J-Link firmware
- Disconnect any USB cables from the EVK
- Power the EVK: the default option is connecting the power supply to barrel jack J43, and setting power switch SW5 to On position (3-6). The green LED D16 next to SW5 will be lit when the EVK is properly powered.
- Short jumper J22 to force the debug circuit in DFU mode
- Connect a USB cable to J11, to the on-board debugger
- Follow Appnote AN13206 to program the J-Link firmware to the EVK
- Unplug the USB cable at J11
- Remove the jumper at J22
- Plug the USB cable back in to J11. Now the on-board debugger should boot as a JLink.
- Install jumpers J6 and J7, to connect the SWD signals from onboard debug circuit. These jumpers or installed by default.
- Note: with the JLink firmware loaded, USB J11 is no longer an option to power the EVK. Another option is connecting the power supply to barrel jack J43, and setting power switch SW5 to On position (3-6). For this power option, jumper J38 needs to short 1-2, which is the default setting.