Target connection fails with "Cannot identify target as a stm32x" (although STM32L053 works)
No, you should not replace files, they are ok.
The error you get in both config is when it tries to start the PLL to be faster.
So, it is weird, either there is an error on PLL register (i checked on F030 Ref Manual, it is ok) or there is a mistake on analog part of schematic ? (VSSA & VDDA to check)
There is no VREF nor Vbat pin.
Or the Reset is not released ?
Can you check with an osciloscope the reset signal ?
I checked on a Nucleo F030, it is ok, the PLL doesn’t fail and debugging is ok.
Or is it the clone that has an issue, can you try with the stlink (normally, stlink V2 or V2-1 is no more an issue for cfg).
Regards,
Laurent