Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Stévanovich
#41788
martinayotte wrote:Because, effectively, if you have a 512K, you can not do OTA with sketch of that size.


I currently use ESP-07 .
How can i test memory to know how many i can use ?
Thank
Best regards
User avatar
By martinayotte
#41799 You can use esptool.py to read the flashID :

Code: Select allesptool.py --port /dev/ttyUSB0 flash_id

or you can write a small sketch to print it :

Code: Select allSerial.println(ESP.getFlashChipId(), HEX);

If the ID looks like 1640e0, it is a 4M.
If the ID looks like 1340e0, it is a 512K.
User avatar
By jwarnes71
#43606 Well im a bit lost too. What kind of file is it asking for? A bin file? I compiled a sketch in arduino ide to load into it from the http webupdate page but i dont even know where arduino stores the bin file after its compiled and before uploading to the device.
I have some working init.lua files which i tried to browse the web page to and upload but nothing seemed to happen.
Not really needing this feature but find it could be a handy feature in the future.
Is there a how to page anywhere?
User avatar
By Stévanovich
#43608
jwarnes71 wrote:Well im a bit lost too. What kind of file is it asking for? A bin file? I compiled a sketch in arduino ide to load into it from the http webupdate page but i dont even know where arduino stores the bin file after its compiled and before uploading to the device.
I have some working init.lua files which i tried to browse the web page to and upload but nothing seemed to happen.
Not really needing this feature but find it could be a handy feature in the future.
Is there a how to page anywhere?


Hi, i can't help you, but i think you have to tell which esp you use.
what i know is about ESP-07 model , wich is not a lua version.
I had to make a bin file with arduino compiler . But it had to be less bigger than half of total esp memory size to be updated .
i hope you will find some example for your lua version.
best regards.