Page 1 of 1

why openocd using padding between two split image sections

Posted: Thu May 11, 2017 2:57 am
by wjzhang
Hi: we want use high end address flash to stored some data, so create a custom elf section. it'll create image two parts. one is text/data section, another is our custom section.
like below:
-------------- <-- start of flash
text code
--------------
data
--------------



---------------
custom section
-------------- <-- end of flash

why the openocd add padding data between these two image sections as one flash image? it waste time, what's purpose?

Thanks for your help!