ESP-01S with W25Q128FVSG

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cccp79
Normal user
Posts: 34
Joined: 06 Nov 2023, 10:24
Location: RU

ESP-01S with W25Q128FVSG

#1 Post by cccp79 » 01 Feb 2025, 09:52

Hi! I replaced the flash chip on the ESP-01S board with a W25Q128FVSG, and so far it has only been identified as 16M. Can you tell me how to redefine it to the maximum possible memory, like 32M or more?
Attachments
Снимок экрана от 2025-02-01 11-51-47.png
Снимок экрана от 2025-02-01 11-51-47.png (96.56 KiB) Viewed 1803 times
Снимок экрана от 2025-02-01 11-49-11.png
Снимок экрана от 2025-02-01 11-49-11.png (429.56 KiB) Viewed 1803 times

User avatar
chromo23
Normal user
Posts: 1006
Joined: 10 Sep 2020, 16:02
Location: germany

Re: ESP-01S with W25Q128FVSG

#2 Post by chromo23 » 01 Feb 2025, 12:07

cccp79 wrote: 01 Feb 2025, 09:52 and so far it has only been identified as 16M
It's a 128MBit chip. So the maximum is 16MByte.

TD-er
Core team member
Posts: 9884
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP-01S with W25Q128FVSG

#3 Post by TD-er » 01 Feb 2025, 12:08

I am not sure if the ESP8266 is capable of addressing flash > 16MB.
The SPI flash access is done at quite a low level and if there isn't support for larger chips in the SDK/ROM, then it will be too much work to add support for it on ESP8266 platforms.
Also the detected flash size is done using a bitshift based on the reported module type by the flash, so unless it is hard-coded to be limited to 16M, it should detect the true size as reported by the flash.

cccp79
Normal user
Posts: 34
Joined: 06 Nov 2023, 10:24
Location: RU

Re: ESP-01S with W25Q128FVSG

#4 Post by cccp79 » 01 Feb 2025, 12:23

Did I understand correctly that 128Mbit is 16M maximum possible value? Well, for this chip it is quite so good result. I'am happy!)

User avatar
Ath
Normal user
Posts: 4330
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP-01S with W25Q128FVSG

#5 Post by Ath » 01 Feb 2025, 14:33

AFAICS, the ESP8266 doesn't support flash sizes > 16MB (128 MBit), see this Espressif documentation page
/Ton (PayPal.me)

TD-er
Core team member
Posts: 9884
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP-01S with W25Q128FVSG

#6 Post by TD-er » 01 Feb 2025, 16:26

cccp79 wrote: 01 Feb 2025, 12:23 Did I understand correctly that 128Mbit is 16M maximum possible value? Well, for this chip it is quite so good result. I'am happy!)
128 Mbit is (128 / 8 = ) 16 MByte.
So the detection is correct :)

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests