I am trying to flash a STM32L053 Nucleo using UART pins and so far,
I pull boot 0 high by adding a jumper across boot 0 and VDD
I power the controller with E5V optin and connecting an external poer supply to the E5v and GND
If I connect the USB to the Nucleo, both the STFlash utility and STM32Cube programmer (I select UART) work fine with the COM port associated with the USB to the default USB port of the Nucleo.
But when I connect them through an FTDI to the UART pins (I have tried both PA9, Pa10 (UART1) for tx, rx and PA2 and PA3 (UART2) for tx, rx along with GND), neither the STFlash or STM32Cube Programmer work (they get no response and timeout).
I have checked the FTDI and UART pins on a general program that receives and prints on UART ports (both UART1 and UART2) on a main program and they work complete;y fine and receive and print data.
So the boot configuration seems correct as it works fine witht the USB connected UART2
and the UART connections through FTDI seem fine as well,
But I end up getting a timeout error and am asked to check the boot configurations and the UART configurations if I try to do both at the same time,
I am very confused, could somebody explain me a solution?