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

uploading a SPIFFS partition corrupt existing firmware and/or wifi configs #58

Closed
martinayotte opened this issue Aug 17, 2015 · 2 comments

Comments

@martinayotte
Copy link

I have a firmware that is using SPIFS already uploaded. If I'm uploading a 64K SPIFFS partition at 0x6B000 using esptool.py, the firmware is not able to connect to Wifi wihout crashing.
If I upload the same partition with IGRR esptool, it is working fine.

Using esptool.py (crash at Wifi connection) :
esptool.py --port /dev/ttyUSB0 write_flash 0x6B000 spiffs_part.bin

Using IGRR esptool (working fine) :
esptool -vv -cd ck -cb 115200 -cp /dev/ttyUSB0 -ca 0x6B000 -cf spiffs_part.bin

I presume that esptool.py is touching/erasing some other parts of the flash that should not be accessed ...

@projectgus
Copy link
Contributor

Hi Martin,

Thanks for reporting this. I think it was fixed just now in #53, the longstanding SPI erase bug.

I'm going to close the issue but please reopen if you get the latest esptool.py and it's still broken.

Angus

@martinayotte
Copy link
Author

Yes, it seems to work now !
Thanks !

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