SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   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 get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32

STM32L4: Debug is NOT possible when PCROP is activated

Dear all,

I am still waiting for an answer on this topic.
I moved on a bit on my side but could not solve the issue.

I retrieved the OpenOCD source code and modified it to ignore all flash sector erase error.

Nevertheless the flash write operation then fails. If I got correctly the OpenOCD process, the write algorithm creates a binary from the input linker and pads space between memory sections. The write is done from the start of the first section to the end of the last section in flash memory.
The write is always done on a continuous memory area and logically fails when the PCROP sections are reached.

Does anyone has a solution to solve this ? How could I use OpenOcd write algorithm to write section by section ? (all my attempts failed with various errors)

Thanks for your help,
Best regards,