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.

AM2612: xip file programming question

Part Number: AM2612
Other Parts Discussed in Thread: UNIFLASH

Hi experts,

 

I am asking for customer.

The XIP file generated after compilation should contain both actual data and packaging information. Is it possible to write only the actual data without the packaging information? Because the mcelf_xip write interface first caches the delivered data in RAM and then writes it all at once, which requires a very large RAM space.

 

Best Regards

Kita

  • Hi Kita, 

    Can you please explain what does packaging information and mcelf_xip write interface mean here?

    You always have the option to flash the xip image using uniflash, in this method you can flash files or huge sizes

    Thanks & Regards,

    Aswin

  • Hi Aswin,

    let me explain in this way: hello_world demo will generate .mcelf_xip file, what's included in this file? Does it only include .text, .rodata which will be programmed into flash? Or it will include other data besides .text and .rodata? If xip file has other data, in which address will these data be stored?

    Best Regards

    Kita

  • Hi Kita,

    The mcelf_xip file will have all the contents which is to be kept is flash. This is determined by the linker script.

    If in linker script, we mention .text and .rodata to be in flash, then both will be present in the mcelf_xip file. This entirely depends on how linker script is defined.

    Thanks & Regards,

    Aswin