-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using all 16MB of flash in PlatformIO #41
Comments
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. $HOME/.platformio/packages/framework-arduinoespressif32/tools/partitions/default_16MB.csv
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 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 platformio/platform-espressif32#486 |
It is probably a bug in esptool.py. Opened Issue is here |
@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. 🙏
The text was updated successfully, but these errors were encountered: