This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2432: RPRC conversion from elf(.out) is incorrect

Part Number: AM2432

Tool/software:

Hello there,

We are trying to build our elf(.out) file using IAR tool chain and then we are converting that file to RPRC format.

This conversion was working fine as expected until we tried to add a post build operation to fill the empty sections in our binary image, using the utility tool of IAR(ielftool).

Before this fill operation, RPRC was generating 2 sections(1.separate section for IRAM,  2.separate section for DRAM), but after the fill operation RPRC is generating only 1 section(Combining both IRAM and DRAM).

And due to this, Bootloader is trying to load this single sections to IRAM region, but fails as the size of the section from RPRC is more than the allowed range of IRAM(0x30000).

How elf2rprc.js is creating different sections? 

Is it possible to create a 2 sections, one for IRAM with fixed size i.e 0x30000 and other section with remaining data for DRAM?

I have attached the elf dump and RPRC files. left side is "without fill" and right side is "with fill"