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

User avatar
By tytower
#22028 I got to prizing the cap off one of these newer modules (pretty easy to do and probably non destructive) and I see that the above flash chip is alongside the ESP8266 chip. Looking for a datasheet the only ones I can find are 25Q32BV from 2014 which says it is a 32Megabit flash which I take then to be a 4Megabyte EEPROM (8bits to the byte). All others with the same 25Q32 markings are also stated to be 32 Megabit.
Here is a typical datasheet but for BV not FV
http://www.datasheet4u.com/datasheet-pd ... ?id=791015
I'm just looking to confirm this with someone in the know.

My ESP8266 chip had a neat little burn hole about centre and right a bit of the emblem so they sure push some power.

On a new one I set the flash size at 4MB and the upload speed at the max 921,600 baud and uploaded a small program
It went up very quickly and I got this as a report
Sketch uses 203,813 bytes (38%) of program storage space. Maximum is 524,288 bytes.
/root/.arduino15/packages/esp8266/tools/

So I'm wondering which is right 4MB or 512KB
Last edited by tytower on Tue Jun 30, 2015 3:48 am, edited 1 time in total.
User avatar
By tytower
#22042 This is the output when compiled and uploaded
v0.4.3-5-g6ce9b16 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 921600
setting port from /dev/ttyUSB0 to /dev/ttyUSB0
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat /tmp/build4172530665269256898.tmp/EasyTransfer_TX_Example.cpp_00000.bin success
opening port /dev/ttyUSB0 at 921600
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 31760 bytes from /tmp/build4172530665269256898.tmp/EasyTransfer_TX_Example.cpp_00000.bin to flash at 0x00000000
erasing flash
size: 007c10 address: 000000 (007c10=172104)
first_sector_index: 0
total_sector_count: 8
head_sector_count: 8
adjusted_sector_count: 4
adjusted_size: 004000 (004000=16384)
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 10000
setting character timeout 100
done
setting timeout 1
setting character timeout 1
done
espcomm_send_command: receiving 2 bytes of data
writing flash
................................
setting address from 0x00000000 to 0x00010000
espcomm_upload_file
stat /tmp/build4172530665269256898.tmp/EasyTransfer_TX_Example.cpp_10000.bin success
espcomm_open
Uploading 172104 bytes from /tmp/build4172530665269256898.tmp/EasyTransfer_TX_Example.cpp_10000.bin to flash at 0x00010000
erasing flash
size: 02a048 address: 010000 (02a048=172104)
first_sector_index: 16
total_sector_count: 43
head_sector_count: 16
adjusted_sector_count: 27
adjusted_size: 01b000 ( 01b000 =110592)
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 10000
setting character timeout 100
done
setting timeout 1
setting character timeout 1
done
espcomm_send_command: receiving 2 bytes of data
writing flash
.........................................................................................................................................................................
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader