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.

linker command file - Memory pages



Hello,

I observed that program memory has been allocating in PAGE 0 itself  in linker command files of some applications running on c55x and c64x+ platforms.

Is it mandatory to allocate all program memory sections in PAGE 0 itself ?

What is the concept behind different pages of memory ? Is it only for readability sake ?

Thanks in advance.

Thanks and Best regards,

Rajanikanth.

  • rajanikanth g said:
    What is the concept behind different pages of memory ? Is it only for readability sake ?

    Please see this wiki article.

    rajanikanth g said:
    Is it mandatory to allocate all program memory sections in PAGE 0 itself ?

    The most common case, by far, is to not specify any PAGE at all.  In that case,  PAGE 0 is used.

    rajanikanth g said:
    I observed that program memory has been allocating in PAGE 0 itself  in linker command files of some applications running on c55x and c64x+ platforms.

    I have seen use of PAGE 0 and PAGE 2 on some c55x systems.  That's because most (or all?) C55x devices have address space dedicated to I/O ports.  In the link command file, that range of addresses is modeled on PAGE 2.  I have not seen a C64x+ link command file use PAGE.

    Thanks and regards,

    -George