STM8L001J3 and SWIM pin
I was using STM8SVLDISCOVERY in a small project because it was the evaluation board that I had, but in a more final stage I would like to use an stm8sl001j3 as uC.
For that, I got a STM8-SO8-DISCO to be able to use the same uC that I want in the final product. After "converting" my project to use stm8l instead of stm8s, I tried to deploy it in the new board but something looked strange.
After looking at the documentation I realized I should have put a 5s delay in the beginning of the code as I was using SWIM pin as an IO too, otherwise I would brick the CPU.
As I am getting SWIM errors in the IDE, I suppose I already bricked the CPU, and after some research I couldn't find if there is a way to undo this situation.
That's why I'm here, is there any way to do that or I lost the uC?