CubeProgrammer UART Bootloader Error
Using STM32F412RGT6 on a board I've developed.
having a problem using bootloader via UART (using CubeProgrammer).
Following all described in AN2606.
In my application, I'm using bootloader via UART1 (PA9, PA10).
BOOT0 is High, BOOT1 is low while attempt to enter bootloader state.
Board powered on.
Choosing the UART in CubeProgrammer and selecting "connect"
Get error:
"Error activating device: KO.
Please verify the boot mode configuration and check the serial port configuration"
After disconnecting all other pins of the MCU, excluding power, SWD, RST, UART1 - CubeProgrammer works !!! :beaming_face_with_smiling_eyes:
Start reconnecting all the pins I've disconnected, one at a time, in order to figure out which pin is the problematic one.
Turns out that when PA12 is reconnected CubeProgrammer once again won't go into Bootloader.
In my board PA12 is used as a UART (UART6_RX) to an external device.
This external device is powered-off at the stage of trying to enter Bootloader.
How does PA12 influence the bootloader process?
Any suggestions?
