Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash verification / MD5 for ESP8266/8285 #12

Closed
Hoel opened this issue Oct 3, 2020 · 2 comments
Closed

Flash verification / MD5 for ESP8266/8285 #12

Hoel opened this issue Oct 3, 2020 · 2 comments

Comments

@Hoel
Copy link

Hoel commented Oct 3, 2020

Hi,
Is there any plan to support flash verification / MD5 check for ESP8266/ESP8285 platform?
It is quite necessary to verify integrity after flashing, especially with UART and no flow control., in particular when used in production context (test jig).
Also is there any update to change current STM32 implementation from polling to DMA?

@MaValki
Copy link
Contributor

MaValki commented Oct 5, 2020

Hi Hoel,

First stage bootloader of ESP8266/ESP8285 does not support MD5 verification. esptool loads second stage bootloader (stub), adding MD5 check among other feature. Incorporating stub into esp-serial-flasher is on your to do list, however, original implementation from esptool cannot be used. Therefore, it most likely will not be supported in very near future. My rough estimation would be 2-3 months.

Please expect DMA implementation of STM32 port to be done in 3 weeks.

Hope this helps.

@Hoel
Copy link
Author

Hoel commented Oct 14, 2020

hello,
thank you for the prompt reply.
Oh yes i see, we will do without the MD5 for now.
As a side note, the problems encountered with STM32 non-dma UART implmentation were due to another MCU on the board, once this issue has been fixed the non-dma implementation works well at 921600bps (it still seems a little slow) the only problem is that connection is not fully reliable, ocasionally it fails or take quite a while to connect.

@MaValki MaValki closed this as completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants