Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By chris153002
#72135 hi i recently bought some esp8266 esp-01s module on ebay with the p25q80h flash chip on them. the datasheet of the chip clams it is an 8 mbit chip. upon testing the flash chip seems to always corrupt the upper half of the flash memory, bottom half is ok. seems as if the chip is only 4 mbit disguised as an 8 mbit. anyways has anyone else encounter this? or know of a way to test the flash chip?
also
ESP.getFlashChipRealSize()
does return that it is an 8 mbit chip.
User avatar
By chris153002
#72399 The IDE set size is in fact 1MB.
The sketch itself reports 1MB as well.
the issue is that when saving files in the SPIFFS file system ( which saved to the end of the flash chip) upon reboot these files are corrupt.
now the sketch that is coming up as corrupt is running on these esp01s with the p25q80H flash chip.
the same exact sketch runs on other esp01s modules (that have different brand flash chips i.e. winbond , etc.) without a problem ( running file on about 25 modules, all 1MB models)

does anyone know of any esp8266 sketches that are setup to test the flash chips for back blocks, etc....