STM8L050J3 Bug?
Hi,
I am experiencing a serious problem with STM8L050J3.
Due to an unused pin configuration of port A (PA1..PA7) then excluding PA0 used as SWIM, in order to check for any difference in current consumption, I have configured Port A with the following command:
GPIO_Init(GPIOA, GPIO_Pin_1|GPIO_Pin_2|GPIO_Pin_4|GPIO_Pin_5|GPIO_Pin_6|GPIO_Pin_7, GPIO_Mode_Out_PP_Low_Slow);
As a result, the firmware uploaded now does not run, and it is no longer possible to access it with ST-LINK V2, neither for debugging nor for programming.
Since the RESET pin is missing on this micro, there is no way to reset this situation and recover the functionality of the micro, which is otherwise no longer usable.
Any suggestions for solving this?
Thank you for your attention.
Translated with www.DeepL.com/Translator (free version)
