As the title says... Chat on...

User avatar
By brig
#5357 I tested a firmware version 0.9.2 build 2014-12-19 on the modified module.

1)

Firmware 512k-flash, 1M-flash and 2M-flash, recorded as one file, run and work. 2M-flash firmware and 4M-flash, recorded a set of files, do not work - via UART issued continuously:
ERROR in flash_read: r=1 at 40280000
ERROR in flash_read: r=1 at 40281000
ERROR in flash_read: r=1 at 40282000
ERROR in flash_read: r=1 at 40283000
.........
To write firmware used ESP8266Flasher and XTCOM_UTIL. The result is the same.

2)

To check how to write the files (on working firmware) i used these scripts:
Code: Select allfor j=1,50 do
  file.open("10K"..j..".txt", "w")
  for i=1,640 do
    file.writeline('0123456789ABCDE')
  end
  file.close()
end


THE RESULT:

Recording took place until the moment when the module is reloaded. After the reboot, the files can not be removed using "file.remove".

512k-flash firmware allows you to record a set of files with a total size of 100 KB:

10K6.txt size: 10240
10K2.txt size: 10240
10K4.txt size: 10240
10K8.txt size: 10240
10K1.txt size: 10240
10K10.txt size: 9984
10K7.txt size: 10240
10K9.txt size: 10240
10K3.txt size: 10240
10K5.txt size: 10240

1M-flash firmware allows you to record a set of files with a total size of 300 KB:

100K1.txt 102400 bytes
100K2.txt 102400 bytes
100K3.txt 101120 bytes

50K5.txt 51200 bytes
50K3.txt 51200 bytes
50K4.txt 51200 bytes
50K1.txt 51200 bytes
50K2.txt 51200 bytes
50K6.txt 50688 bytes

30K8.txt 30720 bytes
30K6.txt 30720 bytes
30K4.txt 30720 bytes
30K7.txt 30720 bytes
30K2.txt 30720 bytes
30K1.txt 30720 bytes
30K5.txt 30720 bytes
30K3.txt 30720 bytes
30K10.txt 28416 bytes
30K9.txt 30720 bytes

2M-flash firmware allows you to record a set of files with a total size of 773 KB:

100K5.txt 102400 bytes
100K4.txt 102400 bytes
100K8.txt 72192 bytes
100K7.txt 102400 bytes
100K1.txt 102400 bytes
100K6.txt 102400 bytes
100K2.txt 102400 bytes
100K3.txt 102400 bytes

50K8.txt 51200 bytes
50K15.txt 51200 bytes
50K3.txt 51200 bytes
50K4.txt 51200 bytes
50K16.txt 23040 bytes
50K2.txt 51200 bytes
50K6.txt 51200 bytes
50K7.txt 51200 bytes
50K12.txt 51200 bytes
50K5.txt 51200 bytes
50K11.txt 51200 bytes
50K13.txt 51200 bytes
50K1.txt 51200 bytes
50K10.txt 51200 bytes
50K14.txt 51200 bytes
50K9.txt 51200 bytes
User avatar
By zeroday
#5406
brig wrote:I tested a firmware version 0.9.2 build 2014-12-19 on the modified module.

1)

Firmware 512k-flash, 1M-flash and 2M-flash, recorded as one file, run and work. 2M-flash firmware and 4M-flash, recorded a set of files, do not work - via UART issued continuously:
ERROR in flash_read: r=1 at 40280000
ERROR in flash_read: r=1 at 40281000
ERROR in flash_read: r=1 at 40282000
ERROR in flash_read: r=1 at 40283000
.........
To write firmware used ESP8266Flasher and XTCOM_UTIL. The result is the same.

2)

To check how to write the files (on working firmware) i used these scripts:
Code: Select allfor j=1,50 do
  file.open("10K"..j..".txt", "w")
  for i=1,640 do
    file.writeline('0123456789ABCDE')
  end
  file.close()
end


THE RESULT:

Recording took place until the moment when the module is reloaded. After the reboot, the files can not be removed using "file.remove".

512k-flash firmware allows you to record a set of files with a total size of 100 KB:

10K6.txt size: 10240
10K2.txt size: 10240
10K4.txt size: 10240
10K8.txt size: 10240
10K1.txt size: 10240
10K10.txt size: 9984
10K7.txt size: 10240
10K9.txt size: 10240
10K3.txt size: 10240
10K5.txt size: 10240

1M-flash firmware allows you to record a set of files with a total size of 300 KB:

100K1.txt 102400 bytes
100K2.txt 102400 bytes
100K3.txt 101120 bytes

50K5.txt 51200 bytes
50K3.txt 51200 bytes
50K4.txt 51200 bytes
50K1.txt 51200 bytes
50K2.txt 51200 bytes
50K6.txt 50688 bytes

30K8.txt 30720 bytes
30K6.txt 30720 bytes
30K4.txt 30720 bytes
30K7.txt 30720 bytes
30K2.txt 30720 bytes
30K1.txt 30720 bytes
30K5.txt 30720 bytes
30K3.txt 30720 bytes
30K10.txt 28416 bytes
30K9.txt 30720 bytes

2M-flash firmware allows you to record a set of files with a total size of 773 KB:

100K5.txt 102400 bytes
100K4.txt 102400 bytes
100K8.txt 72192 bytes
100K7.txt 102400 bytes
100K1.txt 102400 bytes
100K6.txt 102400 bytes
100K2.txt 102400 bytes
100K3.txt 102400 bytes

50K8.txt 51200 bytes
50K15.txt 51200 bytes
50K3.txt 51200 bytes
50K4.txt 51200 bytes
50K16.txt 23040 bytes
50K2.txt 51200 bytes
50K6.txt 51200 bytes
50K7.txt 51200 bytes
50K12.txt 51200 bytes
50K5.txt 51200 bytes
50K11.txt 51200 bytes
50K13.txt 51200 bytes
50K1.txt 51200 bytes
50K10.txt 51200 bytes
50K14.txt 51200 bytes
50K9.txt 51200 bytes


1)
to flash firmware other than 512k, chose flash size in Flash tool.
1.jpg

23.jpg
23.jpg (6.56 KiB) Viewed 2750 times