-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
support flash > 16MB (IDFGH-5984) #7670
Comments
Here is proof of concept:
|
@chegewara Thank you for the investigation! If possible, you may create a pull request for the bootloader. |
Actually its not possible yet. There is something odd with file system which does not allow to read/write properly flash that with that bootloader. I have no explanation for it yet, since there are no logs at all about any problems with file system. I can eventually prepare patches, so espressif could investigate it further. I mean patches, because it is small update in |
That would be great. |
That part is very simple: |
did you format the filesystem? ( further )
also how looks your menuconfig setup for sectore size .. i am sure now you can complet it :) best wishes |
Yes, i am using the same procedure to format 15MB partition and 31MB partition. With standard bootloader i can format partitions up to 15MB using ubuntu OS and with this modified bootloader i cant format even 1MB partition. |
@chegewara Are you able to run the The patches I'm using are basically the same as yours: By the way, which flash chip are you using? |
hi @igrr From PCB i can tell it is When i built hello_world example i can see whole 32MB used and i can assign all space to factory partition, but like i said, there is something odd with USB MSC even when i create only 1MB FFAT partition. With regular bootloader it is working, but flashing upgraded bootloader cause problems. btw, is there any chance to have S3 devkit with 1GB flash and/or PSRAM from espressif any time soon? |
@igrr i think all is good with our patches I believe it is some problem on my side and compatibility with arduino rather FS or esp-idf. From patch i see we will have 32 and 64MB support, now we are awaiting new devkits Thanks |
@chegewara 1Gb Flash W25Q01JVZEIQ NOR was sold out in 24h at Mouser (1.964) and near sold out other stock holder ( 1.600 ) who ever this did :) 1Gb NAND works well as second SPI Flash too. But for this i think it is to expensive cause there are cheap SD CARD / SOIC's / SDIO with 32Gb on market and better to handle it for this i think. yes patches looks good. |
@chegewara |
@ESP32DE good for you, but i am asking about official devkit that i can buy
|
@chegewara sure 1GB ? "GB is short for Gigabyte - and is equivalent to 1024 megabytes (MB) or 1,048,576 kilobytes (KB)." no not for sale, sry, i am not a seller :) |
1GB means to me exactly the same as to any programmer or person with IT knowledge (which im not) Since in official espressif TRM it is And honestly, there is also post on forum, so i dont see the point to continue this discussion in the issue/feature request |
@chegewara
sure, but you talked about and i answered :) edit:
25Q256JVEQ
nothing else i did say - i use 1G(b) on my mod - i did not say 1GB - did i? :)
64MB was allways in the esptool repo - 16MB and 32MB too, not only now in the patch but not enough usefull for me. cause only the half size of my used 1Gbit Winbond ( 512Mbit ( Mbit, M-BIT ) ) if it is true, of course, that the S2, S3 even supports 1 gigabyte, that would be heavenly Good luck with your problem. I'm out of here (your issues post) - too irritable mood @chegewara - you'll do it somehow - ciao ;-) |
We've just merged @ESP32DE's PR #7688 (sorry that it took a while!). The merge commit should appear on Github in the next few hours. Now the basic usage of 32MB and larger flash for data storage should work. Note that there are still some things which aren't supported, like placing the app itself outside of the lower 16MB area. See #8365 for a few more things which aren't working yet. We'll update that issue when support for large flash sizes is improved. |
@igrr said > Now the basic usage of 32MB and larger flash for data storage should work Could you please elaborate how to use SPI flash (external or internal) above 16MB? We are using the latest esp-idf and are able to detect 128MB flash (using Winbond W25Q01JVZEIQ SPI Flash), but when we are using esptool.py to map out partitions, we are still locked within the first 16MB? How can we create one large or multiple partitions of 16MB? Must we add custom driver code for Winbond to jump from 24-bit to 32-bit address space? Your help would be greatly appreciated! |
Can we expect in near future to have support for flash size > 16MB?
Withe very small effort i could build bootloader that support 32MB, but that is not the end.
The text was updated successfully, but these errors were encountered: