Skip to content
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 NodeMCU ESP8266 - 32MB Flash #4762

Closed
laercionit opened this issue May 24, 2018 · 7 comments

Comments

@laercionit
Copy link
Contributor

@laercionit laercionit commented May 24, 2018

It recently hit NodeMCU V3 12-E with 32MB of Flash.

This allows you to use SPIFFS for more complex projects.
I think we need to adjust boards.txt to support this new Flash / SPIFFS modeling

Example:
https://pt.aliexpress.com/item/NodeMCU-WIFI-module-integration-of-ESP8266-extra-memory-32M-flash-USB-serial-CH340G/32739832131.html

I have some boards of this model, if they can guide me on how to change the boards.txt file I can do the tests for you.

@laercionit laercionit changed the title Suport NodeMCU ESP8266 - 32MB Flash Support NodeMCU ESP8266 - 32MB Flash May 24, 2018
@Deimos1994

This comment has been minimized.

Copy link

@Deimos1994 Deimos1994 commented May 24, 2018

Hmm.. 32MB? I thought it supports up to 16MB...
How can it be possible? quote from the datasheet:

ESP8266EX uses external SPI flash to store user programs, and supports up to 16 MB
memory capacity theoretically.

https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf

(update)

By the way on those pictures flash chip 25Q32 which is 32Mbit, not Mbyte, 32Mbits = 4Mbytes
Those are just regular 4Mbytes (32Mbits) esp8266 boards.
And in the description: Memory:32Mb (megabit) flash
Mb means Mbit
MB means Mbyte

@laercionit

This comment has been minimized.

Copy link
Contributor Author

@laercionit laercionit commented May 24, 2018

From what I saw the manufacturer is the robotdyn.
They make boards with upgrades.
https://robotdyn.com/catalog/arduino/boards/wifi-nodem-esp8266-32m-flash-ch340g.html

@Deimos1994

This comment has been minimized.

Copy link

@Deimos1994 Deimos1994 commented May 24, 2018

@laercionit It doesn't really matter who makes a board since the chip is designed by espressif, and espressif's datasheet says it supports only up to 16MB (128Mbits).
My opinion: I think sellers intentionally write it is 32MB (which is wrong should be 32Mb or 4MB) just to sell those boards to people that don't pay much attention.

@laercionit

This comment has been minimized.

Copy link
Contributor Author

@laercionit laercionit commented May 25, 2018

I have some cards from other models of this same company, they do some very well made things. They have an Arduino Mega with ESP8266 integrated.

Unfortunately using Generic Esp8266 I can not upload the code via USB.

This board follows the same NodeMCU reference. Selecting the NodeMCU only has version 1.0 that is limited to 4MB of memory.

To perform tests I will have to change the board.txt in NODEMCU to support 16MB equal to board generic.

Would someone have patience to guide me in how to make this change?

@devyte

This comment has been minimized.

Copy link
Collaborator

@devyte devyte commented May 25, 2018

Please be aware that with 16MB flash, spiffs is already in trouble wrt performance. Thinking of a 31MB spiffs makes me shiver.

@devyte devyte closed this May 25, 2018
@devyte devyte reopened this May 25, 2018
@WereCatf

This comment has been minimized.

Copy link
Contributor

@WereCatf WereCatf commented May 25, 2018

@laercionit It's 4MB flash, ie. 32 megabits, not 32 megabytes. Just look at the SPI-Flash on the board, it clearly says Winbond 25q32fvsig, which is a 32Mb-part ( https://www.winbond.com/resource-files/w25q32fv%20revi%2010202015.pdf )

The Chinaman either doesn't know or doesn't care about the difference between MB and Mb -- always keep this in mind when buying stuff like this.

@devyte

This comment has been minimized.

Copy link
Collaborator

@devyte devyte commented May 25, 2018

@WereCatf thanks for figuring that out!
Closing.

@devyte devyte closed this May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.