3

Just bought a couple of NodeMCU from vendor on AliExpress. They were advertised as "v2" and having 4M flash.

How can I verify the flash size? The board says "Ver 0.1", but don't know if that means anything.

cc young
  • 18,939
  • 31
  • 90
  • 148
  • 3
    "NodeMCU" as a term normally refers to the NodeMCU firmware. Do you mean you bought the NodeMCU devkits V2/1.0? See [my comparison](http://frightanic.com/iot/comparison-of-esp8266-nodemcu-development-boards/) if you're not sure. – Marcel Stör Sep 22 '16 at 07:32

2 Answers2

22

You have basically two options: install a firmware (NodeMCU, Arduino, etc.) and use their functions or extract the flash ID and look it up.

Install NodeMCU

  • Build and flash the NodeMCU firmware.
  • Run print(node.flashsize())

Chip ID

Marcel Stör
  • 22,695
  • 19
  • 92
  • 198
3

As Marcel Stor said before in this comment, the esptool.py may be used to find the flash size.

  • Just run python esptool.py -p <serial_port> flash_id
  • Flash size is output like this Detected flash size: xx

Output sample

enter image description here

Dorin
  • 1,016
  • 1
  • 11
  • 15