I'm trying to connect to an Arduino Zero (ABX00003) via JTAG but I'm getting a "target voltage too low" error. I have the Arduino connected to power via the native USB port, and I have the JTAG cable connected from the Arduino to a Segger J-Link EDU Mini. I'm using JLinkExe from the macOS CLI with these steps:
J-Link>connect
Device>ATSAMD21G18A
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>J
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
JTAGConf>0,0
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>400
Device "ATSAMD21G18A" selected.
Connecting to target via JTAG
Target voltage too low. Please check https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU#Target_connection.
Error occurred: Could not connect to the target device.
For troubleshooting steps visit: https://wiki.segger.com/J-Link_Troubleshooting
I have tried using the default position and speed. I have tried plugging the USB cable into multiple different chargers/computers to see if it needs more power. I even plugged it into my 22.5 watt Anker 735 Charger but still get the same error. Also, the Arduino has 2 LEDs on and the J-Link has 1. Can anyone help?