Esp8266 erase flash. #6007
Replies: 1 comment
-
Posted at 2018-02-02 by Alexander After flashing to 512kb
wifi.save() - works Posted at 2018-02-02 by ClearMemory041063 Try using the files in this directory \espruinoEsp8266Flash\espruino_1v95_esp8266 not this directory \espruinoEsp8266Flash\espruino_1v95_esp8266_4mb" You might want to switch to ESPtool.py (Linux or windows) One gotcha is the ExpressIF tool flash size is given in bits, ESPtool.py uses bytes. Which ESP8266 chip are you trying to flash? Posted at 2018-02-02 by Alexander ESP12F Attachments: Posted at 2018-02-02 by Alexander ESP12F. Posted at 2018-02-02 by Alexander 0x000000 0 4KB Bootloader with flash type/size header I think I deleted all the data from memory. For firmware ESP12F on 4mb I used nodemcu flasher. Since using esp flash download tool ESP12F on 4mb is recorded and does not work at all. Esp flash download tool records only at 512kb. Posted at 2018-02-02 by ClearMemory041063 I just flashed the same type of chip using this batch file a couple of days ago.
Give that a try. require("ESP8266).getFreeFlash() and then process.env Posted at 2018-02-02 by Alexander
Posted at 2018-02-02 by Alexander After downloading the 4mb memory module works. I cannot auto reconnect after downloading the code via the console and reboot the console. Reconnect only works manually. And when I give the command Wifi.save () esp12f die completely. Attachments: Posted at 2018-02-02 by DrAzzy The issue with wifi.save() happens when you use flashsize 4MB or 32m - on 4MB flash, you need to do 4MB-c1 or 32m-c1 The readme needs to be corrected. Posted at 2018-02-03 by Alexander The issue with wifi.save() happens when you use flashsize 4Mb on 4MB flash. Posted at 2018-02-03 by @MaBecker If flashing files from espruino_1v95_esp8266_4mb than @drazzy created PR for README_flash.txt Posted at 2018-02-04 by Alexander Ie can be I'm downloading 4mb to 32mb, in this bug? Posted at 2018-02-04 by @MaBecker Yes, if you did this: Posted at 2018-02-04 by Alexander Well, tomorrow I will try to fix it, thanks Posted at 2018-02-05 by Alexander Finally got to flash. Thanks for the help! Looks firmware so: Attachments: Posted at 2018-02-05 by @MaBecker Well, you can make this more speedy: Posted at 2018-02-05 by Alexander Great! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-02-02 by Alexander
After endless problems, did the clear memory (erase flash). Worked through the program: flash download tools v3.6.3.
Then I uploaded the firmware. The module is triggered. Save() and Reset() work. After I do wifi.save(), lit a blue light, and the module does not connect. What does the function wifi.save? Is there a problem?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions