ESP Flash Download Tool, Combine Functionality
Posted: Fri Jun 19, 2020 6:35 pm
Hey all
There are some questions:
I want to combine the generated bin-files (bootloader.bin, application.bin, partition-table.bin) into 1 bin-file.
Therefore the flash-download-tool has a functionality: combine
Is it possible to have the algorithm of this combine functionality?
The reason is:
I tried to get this combine functionality with this python script:
https://github.com/vtunr/esp32_binary_merger
and unfortunately the bin-file of the esp32_binary_merger and the flash-download-tool have different size. Both are working.
I would like to know why there is the difference
In brief there is the functionality of the esp32_binary_merger:
Store the bin-files at given address and fill up the remaining data with 0xFF.
For example:
address: 0x1000, size: 0x100, bootloader
address: 0x10000, size: 0x100, application
address 0-0x1000: 0xFF
address 0x1000-0x1100: data bootloader
address 0x1100-0x10000: 0xFF
address 0x10000-0x10100: data application
Maybe someone can help me.
Thank you.
There are some questions:
I want to combine the generated bin-files (bootloader.bin, application.bin, partition-table.bin) into 1 bin-file.
Therefore the flash-download-tool has a functionality: combine
Is it possible to have the algorithm of this combine functionality?
The reason is:
I tried to get this combine functionality with this python script:
https://github.com/vtunr/esp32_binary_merger
and unfortunately the bin-file of the esp32_binary_merger and the flash-download-tool have different size. Both are working.
I would like to know why there is the difference
In brief there is the functionality of the esp32_binary_merger:
Store the bin-files at given address and fill up the remaining data with 0xFF.
For example:
address: 0x1000, size: 0x100, bootloader
address: 0x10000, size: 0x100, application
address 0-0x1000: 0xFF
address 0x1000-0x1100: data bootloader
address 0x1100-0x10000: 0xFF
address 0x10000-0x10100: data application
Maybe someone can help me.
Thank you.