Is compression during flash programming just for the transfer?

jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

Is compression during flash programming just for the transfer?

Postby jsam589 » Sun May 17, 2020 11:35 pm

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.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Sun May 17, 2020 11:51 pm

Hi jsam,

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

Angus

Who is online

Users browsing this forum: Bing [Bot] and 334 guests