ESP8266 download through Flash Download Tools by STM32F103

joezheng
Posts: 2
Joined: Fri Aug 11, 2017 6:22 pm

ESP8266 download through Flash Download Tools by STM32F103

Postby joezheng » Fri Aug 11, 2017 6:51 pm

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!

User avatar
pratik
Posts: 467
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

Re: ESP8266 download through Flash Download Tools by STM32F103

Postby pratik » Fri Aug 25, 2017 7:18 pm

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.
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

Who is online

Users browsing this forum: No registered users and 1 guest