cancel
Showing results for 
Search instead for 
Did you mean: 

How, recover from and prevent wrong (?) definition of BOOT0/SWCLK after first firmware download.

JHerw.1
Associate

Hi,

I am using the STM32G071KBU6N. It has the BOOT0 and SWCLK (PA14) on the same pin. Defined the pin as SWCLK in STM32CubeMX. So I assume that the SYS registers are set right in the software generation. However after the first download of the first firmware I can't reach the device any. Not via the UART1 nor via SWCLK (PA14) and SWDIO (PA13).

1. How can I reach the device again.

2. What should I change in the code to be able to reach the device next time.

Thanks.

0 REPLIES 0