As the title says... Chat on...
User avatar
By brig
#6299 I modified module for 32Mbit flash memory.

Image

Image

I do not know how to compile the firmware, so made a test nodemcu-firmvare 0.9.4 nodemcu_512k_latest.bin.

THE RESULT:

Now there is no spontaneous reboot the module while filling the available flash memory area. Probably, there is no destruction of the firmware. However, problems still exist ...

To write files used the following script:
Code: Select allfor j=1,50 do
  print("20K"..j)
  file.open("20K"..j..".txt", "w")
  for i=1,1280 do
    file.writeline('0123456789ABCDE')
  end
  file.close()
end

In a terminal window:

20K1
20K2
20K3
20K4
20K5
20K6
20K7
20K8
20K9
stdin:5: open a file first


Starting with the file "20K5", there is a significant slowdown in the recording process.

List of recorded files:

20K8.txt size: 768
20K6.txt size: 256
20K7.txt size: 1024
20K1.txt size: 20480
20K5.txt size: 19456
20K3.txt size: 20480
20K2.txt size: 20480
20K4.txt size: 20480


In contrast to the previous firmware (0.9.2), these files can be deleted. However, if you try again to write files, we have the following:

20K1
20K2
20K3
20K4
stdin:6: open a file first

20K3.txt size: 11776
20K2.txt size: 20480
20K1.txt size: 20480


Now not possible to delete these files.
User avatar
By moodgorning
#18803 Loving this approach, has anyone gotten further with it? I could use some extra space to store patterns for driving leds directly from the chip. I wonder if anyone tried it outside of the lua scope, as in compiling their own firmware for the ESP8266? That way you wouldn't be dependent on the lua limitations
User avatar
By carrotsync
#18968 It seems more memory is something many we would all like. I have been developing a custom ESP module which has more memory (16MB) , on-board volt regulation, level shifting, reset button and jumper to ground gpio0. I have not had any success flashing the firmware to it.

Writing at 0x00000000... (0 %)
Failed to write to target Flash

I have tried the various tools and read many posts on flashing the firmware ( after I built my prototype ) which claim 16MB is possible by changing the size in the header of the binary but has not been able to find how I can do that exactly. Some posts say it is not possible.

Here is the datasheet for the memory I am using.
http://www.microchip.com/mymicrochip/fi ... e=en550401

SD_CMD -> CE
3.3V ->VDD
SD_D0 -> SO
SD_D2 -> HOLD
SD_D3 -> WP
SD_CLK -> SCK
GND -> VSS

If anyone who could help shed some light on this it would be greatly appreciated. I would be willing to send prototypes and pay for any help in getting this working with 16MB and 32MB versions.