Storage explanations esp32 wroom specific

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Storage explanations esp32 wroom specific

Postby Duhjoker » Sat Sep 16, 2017 9:02 am

Hi guys

Ive been playing around with my esp32 for a few days now and just noticed a couple things in the uploading area.

First when i compile the white messages ar the bottom after compiling only show a million and five hundred some odd bytes. But the wroom chips are advertised as 4mb.

I also noticed that the data is being copressed before uploading.

Whats going on here? What are the true amounts of storage for each different component like flash ram and so on.

Whats actually happening on the upload?
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: Storage explanations esp32 wroom specific

Postby ESP_igrr » Sat Sep 16, 2017 9:42 am

Flash memory is split into several partitions, this is defined in the partition table. For ESP32-arduino, partition table is here: https://github.com/espressif/arduino-es ... efault.csv
There are two application partition slots, 0x140000 bytes each

Before uploading, data to be flashed is compressed to speed up transfer over UART. On the ESP32, the received data is decompressed and written into flash. So compression does not affect storage space available.

Who is online

Users browsing this forum: Vineethad and 244 guests