STM32G031J6 stuck in non programmable mode
Hi there,
during the development I have accidently flashed (via ST-LINKv2 SWD) two chips (stm32g031j6) with program which sets PA13 as INPUT, PC14 PWM OUTPUT and initiated hardware SPI (pins PA12, PA11, PA1). After flashing this program, chip does not respond to SWD command (no device found), it is due to internal rewirings of pins. Also to note - prior I have disable RST pin (option 2) and set it as GPIO so only software reset is available. I have tried to enter the BOOTLOADER and communicate on pins 8&1 (UART1) and 8&4(UART2) but was unable (8-th pin, which is also a BOOT0) since it is tied to PWM output which is 0 at the program start. Is there any other possibilities to reprogramm the chip without throwing it to trashbin, i.e. to catch the moment of bootloader in this situation?
Thanks.
