Program Flash Size vs Flash Size

494 views
Skip to first unread message

Peggy Schafer

unread,
Jan 1, 2023, 9:53:29 PM1/1/23
to TasmotaUsers
In the tasmota web gui, if you click on Information from the main screen, you'll get about a couple dozen lines of information.

Near the very bottom you'll see a couple of lines, such as:

Flash Size    4096 KB
Program Flash Size    1024 KB

Now, for Flash size you'll usually see either 1024 kb or 4096 kb (1 mb or 4 mb).  This is the size of the flash memory on the board that Tasmota is running on.

Program Flash size is, I believe, the size of the flash that the compiler created or targeted when it created the .bin file that was flashed to the device.

I've been using the Benzino Tasmocompiler, selecting the ESP8266 with the Wemos/NodeMCU varient.  This is supposed to use the 4MB linker script so the file system is enabled (and indeed the SD card/LittleFS is automatically selected).

I add the sensors package and the displays package.  Then I compile it.

The file that is created is tasmota4M.bin.  I didn't give it that name.  Note the "4M" in the name.

I flash the bin to the device (lolin nodemcu connected via USB) using Tasmotizer (tasmotizer_x86-1.1b.exe).  The option to "erase before flashing" is on by default.

After flashing and re-booting the device, what do I see?

Program Flash Size    1024 KB

Is that relavent?

You tell me, because I do not see the option to "Manage File System" from the web GUI.

I believe that for that to work, the Program Flash Size should be 4096 kb.  

So, is seeing a Program Flash Size of 1024 kb relavent here?



Peggy Schafer

unread,
Jan 1, 2023, 10:35:18 PM1/1/23
to TasmotaUsers

I've just downloaded what looks like the most current version of Tasmotizer:

tasmotizer_x86-1.2.exe

Which seems to have been created Sept 21 / 2020.  What I was using was tasmotizer_x86-1.1b.exe (Sept 12 / 2020).

Using v 1.2 seems to have made a difference.  Flashing the exact same tasmota4M.bin file I now see this:

Flash Size    4096 KB
Program Flash Size    4096 KB

and I also see this from the serial logging port on device boot:

UFS: FlashFS mounted with 1992 kB free

And yes, I now see "Consoles" (instead of Console) on the main web GUI page, and yes in there I now see "Manage File System".

So, the older version of Tasmotizer seems to have been the problem, no idea why.  Just don't use it I guess is the answer here.

Philip Knowles

unread,
Jan 2, 2023, 1:07:13 AM1/2/23
to Peggy Schafer, TasmotaUsers
Far better to use ESP-Flasher because it can cope with ESP8266 and ESP32 but, to be honest, I now use the Web Installer to to flash a basic bin. After flashing it automatically connects to the device on the new IP address and then I use OTA to upload my own bins. 


From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Peggy Schafer <peggyg...@gmail.com>
Sent: Monday, January 2, 2023 3:35:18 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Program Flash Size vs Flash Size
 
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/29b3b968-1704-4387-94fe-d27231b08796n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages