AnsweredAssumed Answered

STM32 bootloader issue

Question asked by hermansson.mikael on Oct 28, 2015
Latest reply on Oct 28, 2015 by Clive One

At our company we are using STM32F205 in as a USB module. Connecting the USART3 to an FTDI converter. The MCU is then regulated to 3v and the FTDI is powered direcly from USB 3.3v. BOOT pins are set to stay in bootloader on startup.

But the problem is we sometime can not communicate with the bootloader and get stuck. The only way to make it work is to powercycle our module. 

I have  checked withan Logic Analyser and when we get this problem it seems stm respons with an, uknown to me, byte.

AFAIK when stm32 bootloader get a syncbyte it should answer with 0x79 ACK or 0x1F on NACK. But the thing is it response with 0x9D. If I try second time it will not respond. A third try I get 0xF9 and repeat from there seems to always return 0xF9

We have used 115200 and 230400 and the signals seems good.