Page 1 of 1

Is compression during flash programming just for the transfer?

Posted: Sun May 17, 2020 11:35 pm
by jsam589
When programming my device, I have a 2 MB partition allocated. Is the programming message below saying that 1495920 bytes of flash were consumed? And the data was compressed to 908774 only for transfer? Or is it stored compressed? This matters because I want to properly size my partition and leave reasonable room for the application to grow without changing the partitions in future.

Code: Select all

Compressed 1495920 bytes to 908774...
Wrote 1495920 bytes (908774 compressed) at 0x00010000 in 21.6 seconds (effective 553.1 kbit/s)...
Hash of data verified.

Re: Is compression during flash programming just for the transfer?

Posted: Sun May 17, 2020 11:51 pm
by ESP_Angus
Hi jsam,

Correct, compression is just for the transfer over UART. In this case, 1495920 bytes have been written to flash.

Angus