STLINK-V3MINI is not doing the full erasing the memory in the second programming cycle. In the test system, we have two steps of full erase the flash memory. In the first it works well, but in the second it isn't able to do the flash erase.
After this second trial, the only way that I'm able to program the MCU is using the JLINK, but I would really need the STLINK-V3MINI working as expect.