why openocd using padding between two split image sections

Open source ARM Debugger

Moderator: phalanx

Post Reply
wjzhang
Posts: 3
Joined: Thu May 11, 2017 2:44 am

why openocd using padding between two split image sections

Post by wjzhang » Thu May 11, 2017 2:57 am

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!

Post Reply