Cannot program the MCU via the serial port USART1.
We are having a problem with programming the MCU via the serial port USART1. The pins used are TX: PA9 and RX: PA10.
The serial port works as expected when we the application is running.
BOOT0 ping seams to work. When low it boots our custom application. When high, it doesn't boot our custom application. If we break the execution we see that it seems to run the internal bootloader. The execution address are somewhere above 0x1ff00000.
E.g.
(gdb) bt
#0 0x1ff025d0 in ?? ()
#1 0x1ff006ce in ?? ()
But it does not answer on the 0x7F byte sent from STM32CubeProgrammer on the host PC. We have tried with different baudrates.
Can it be that the internal bootloader has triggered on some other communication mechanism. Is there a way to identify that? E.g. by the execution address.