Closed KamranAghlami closed 1 year ago
First you need to look at a chip with eight pins next to the chip. Check whether the silk screen inside is 25Q128. If so, it is 16MB FLASH. I have no clue as to how to fix the problem you raised.
Thanks for your reply,
The flash chip is 16MB as advertised, and with my board file the compilation and uploading takes place successfully, even the esp api call returns 16MB as flash size.
My issue is that the "Upload Filesystem Image" option doesn't work anymore.
Please check whether the space size of the file system meets your needs. Whether it is possible to modify the partition table appropriately to increase the space of the file system. When you compile it should show you how much space it takes up.
So I figured a way around the problem. This used to be the content of partitions file:
$HOME/.platformio/packages/framework-arduinoespressif32/tools/partitions/default_16MB.csv
# Name, Type, SubType, Offset, Size, Flags,
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x640000,
app1, app, ota_1, 0x650000, 0x640000,
spiffs, data, spiffs, 0xc90000, 0x370000,
I reduced size of spiffs partition by 1 (from 0x370000 to 0x36ffff).
Now it works as if It was overflowing from end of flash, I was expecting the default partitions file coming from PlatformIO to be tested many times by now and to work by default since it uses the same calculation on other 16MB partition files as well.
If any one were to shed some light on the issue I'd be relived.
The only options I've found for 16mb in the arduino ide were for FATFS not spiffs. This is the offering under Partition Scheme if I am using an S3 with 16MB flash selected
and these are the partition files from platformio:
Maybe try large_spiffs_16MB.csv instead, it's contents are:
You also want to increase the ram size, 8mb if it's the chip I've got, but not sure if that maximum_ram_size is same as PSRAM, I've been copying the Espressif ESP32s3-Box as I think it's the 16mb S3 N8R8 or whatever with 16mb flash and 8mb ram.
-- Edit -- Max_ram_size is fine https://github.com/platformio/platform-espressif32/issues/486
@Jason2866 Thanks for referencing the issue on esptool side, glad to see it being investigated. π
I'm closing this since it doesn't seem to be a misconfiguration on LilyGO's side.
Bug in esptool.py is solved. You can use 16MB when using latest development version from github.
Excellent! Thanks for letting me know. π
Hi,
I made the board definition file for T-Display-S3 with following contents:
$HOME/.platformio/platforms/espressif32/boards/t-display-s3.json
And this is my project configuration file:
$PROJECT_ROOT/.platformio.ini
Everything seems to work fine but notice that the flash size is defined as 8MB, so I tried making following changes:
Now the flash size is recognized as 16MB but "Upload Filesystem Image" option fails with following output:
Does any one know what is going on here? Any kind of help is sincerely appreciated. π