Documentation suggestion: write_flash sometimes needs argument 0x00 instead of 0x1000 #16417
Replies: 3 comments 3 replies
-
If you had downloaded the firmware from the official download site, you could have seen the correct instrucion as follows:
|
Beta Was this translation helpful? Give feedback.
-
I did download from that page, and it does have the correct write_flash address ... yes. But I was following the official website instructions for deploying the firmware - which I am supposed to have known is incorrect ? Saying "you should have known" is nowhere as helpful to newbies as providing the correct information in one place where users can find it. So I come back to suggesting an amendment to the Getting started with MicroPython on the ESP32 page. As well as my first suggestion, maybe also change from |
Beta Was this translation helpful? Give feedback.
-
Thanks very much for pointing this out, @donburch888. This docs page dates from the "original" ESP32 chip and haven't been updated for the newer chips in the ESP32 family which have a different flash address. I had a "todo" list item to clean up some of the esp32 flashing steps in other ways, and I've incorporated a fix for this in that work: #16535 |
Beta Was this translation helpful? Give feedback.
-
In the "1.4 deploying the firmware" section on "Getting started with MicroPython on the ESP32" page the write_flash command uses an argument of "0x1000".
Following this command I tried several versions of the ESP32-S3 firmware, each time resulting in a continual "invalid header 0x0FFFFFFF" message when I rebooted after connecting minicom serial.
It took some time before I discovered a post (I don't remember where) which suggested to try 0x0 - which worked for me.
I suggest adding to the Troubleshooting section a little further down that page:
Beta Was this translation helpful? Give feedback.
All reactions