STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32

error while uploading : open ocd child process termination reason:unplugged target or stlink already in use or stlink usbdriver not installed

What do you mean by “i have already installed stlink drivers as they are automatically installed when we make new project”. On Linux, the ST-Link is supported by libusb but you need udev rules.

Check if you have the following files in /etc/udev/rules.d :
- 49-stlinkv2.rules
- 49-stlinkv2-1.rules
- 49-stlinkv3.rules
These files are created automatically if you have installed System Workbench with the Installer (Installing System Workbench for STM32 with installer)
You can also install them manually, please find the link on this page (Installing System Workbench for STM32 from Eclipse, in the section STLink Driver > on Linux)

Hope it helps,