ARMinARM / stm32flash

Open source flash program for the STM32 ARM processors using the ST serial bootloader over UART or I2C
223 stars 81 forks source link

Initialization sequence fails when device sends 0x00 0x79 i.s.o. 0x79 #3

Open wolfc01 opened 6 years ago

wolfc01 commented 6 years ago

stm32_send_init_seq sends a 7F to the stm processor and expects an 0x79 (ACK). Sometimes the serial port receives a 0x00 prior to the 0x79.

The FLASHER-STM32 code from STM (http://www.st.com/en/development-tools/flasher-stm32.html) contains above workaround. in file STUARTBLLIB.cpp, line 743 as downloaded from STM.