cancel
Showing results for 
Search instead for 
Did you mean: 

Flash hex file to stm32f412 with uart using stm32cubeprogrammer

Vaishnavi
Visitor

Tried flashing stm32f412 custom controller using uart but facing error while going to boot mode.

I need to flash my hex file to custom stm32f412 board but unable to connect using uart and facing issue while erase memory

12 REPLIES 12

Better to open a new thread and share your schematics.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Vaishnavi wrote:

Can I flash my hex file with stlink 


Yes, of course that should work...

New thread on that:

https://community.st.com/t5/stm32cubeprogrammer-mcus/flash-hex-file-to-stm32f412-with-uart-or-stlink-using/m-p/729315

 

Hello

I'm using PA9-Tx and PA10-Rx for UART1 but couldn't able to flash

17:56:47 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...