Page 1 of 1

ESP8266 download through Flash Download Tools by STM32F103

Posted: Fri Aug 11, 2017 6:51 pm
by joezheng
backgroud:
my ESP8266-12 was welded on my stm32 board ,connecting by usart2.
and i want to update the firmware of ESP8266,so I program STM32 to transmit DownloadTool data for me,at the same time forward 8266 data to DownloadTool ,like this:
Image

i finished the program and log from ESP Flash download tool V3.4.9.2:
Image
Image

download setting:
Image
the tool can read the info of 8266 through stm32,and erase the flash,but can't download the program.
so is there any chance that the data transmited wrongly when passing through the STM32?is there any way to check?

thanks!

Re: ESP8266 download through Flash Download Tools by STM32F103

Posted: Fri Aug 25, 2017 7:18 pm
by pratik
It might be a bug with your STM32 code to pass data through.
The best way to debug this is to simple hook up logic analyzer between PC-STM32 and STM32-ESP.
When you see that the streams are exactly similar with slight time shifting, you know that your STM32 is behaving well with passing data on.