Problem connecting to a Micoair 405v2 flight controller

  • I've been trying to connect my J-Link Base to a Micoair 405v2 flight controller with no luck. The MA405 has a connector for SWD and I am using a Flying Wire Adapter. The connections are:

    MA405 Adapter
    SWCLK Pin 9
    SWDIO Pin 7
    GND GND
    3V3 VTREF

    When I try and connect using the JLink software, I get the following messages:


    J-Link>connect
    Please specify device / core. <Default>: STM32F405RG
    Type '?' for selection dialog
    Device>
    Please specify target interface:
    J) JTAG (Default)
    S) SWD
    T) cJTAG
    TIF>S
    Specify target interface speed [kHz]. <Default>: 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: https://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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!