Skip to main content
Visitor II
March 2, 2020
Question

How to solve target detection problem?

  • March 2, 2020
  • 1 reply
  • 1230 views

I have a STM32MP157A-DK1 board. I can't connect to it via ST-Link Utility. It says the target is not detected. Although if I select "Firmware Update" from ST-LINK menu, it updates the firmware of the board (the red-green led blinks etc). But can't connect otherwise.

I tried moving the BOOT0 and BOOT2 pins on-off in every combination, tried inserting and removing the SD Card, plugging and unplugging the USB-C power cable. I have installed all ST-Link drivers and reinstalled them, etc, etc... I even tried all the possible options at the target settings screen, but to no avail. Can anyone offer me a solution?0690X00000DYSMoQAP.png0690X00000DYSNSQA5.png

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 1, 2020

    Hi @obingol​ 

    Sorry for late reply.

    This is very usual confusion and error for people use to work with STM32 MCUs

    For STM32MP1 you have to use STM32CubeProgrammer in USB DFU mode to program the device.

    Refer to Getting Started section here :

    https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2

    Hope it help,

    Olivier

    obingolAuthor
    Visitor II
    April 2, 2020

    Thanks for the reply.

    I understand, but that's really bizarre. Because there's no mention of this nuance in the documentation. I see the ST-LINK pins and connection information, the drivers and installation of the Utility software etc. but STM should have just put a red box somewhere with a warning that read 'you won't be able to flash this board as you did our other boards' :)