I’ve been tryuing to use a Segger J-Link Base to connect to the micoair 405v2 flight controller with no success to report. I’ve got the J-Link Base connected to a Segger Flying wire adapter wich is in turn wired to the flight controller (using a connector with jumpers). I’ve got it wired as follows:
MA405 => Adapter
SWCLK => Pin 9
SWDIO => Pin 7
GND => GND
3V3 => VTREF
When I try to issue the connect command on the J-Link base, I get the series of failure messages see below.
J-Link>connect
Please specify device / core. : STM32F405RG
Type ‘?’ for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>S
Specify target interface speed [kHz]. : 4000 kHz
Speed>
Device “STM32F405RG” selected.
Connecting to target via SWD
InitTarget() start
SWD selected. Executing JTAG → SWD switching sequence.
Error: Failed to initialized DAP.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG → SWD switching sequence.
Error: Failed to initialized DAP.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 310ms
Connect failed. Resetting via Reset pin and trying again.
InitTarget() start
SWD selected. Executing JTAG → SWD switching sequence.
Error: Failed to initialized DAP.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG → SWD switching sequence.
Error: Failed to initialized DAP.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 311ms
Error occurred: Could not connect to the target device.
For troubleshooting steps visit: wiki.segger.com/J-Link_Troubleshooting
Jlink command version is V7.96t and the DLL is V7.96t
Any hints or help would be appreciated - Thanks