This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what is PAD memory area?

Hi all,

I'm writing a program and until now the RO-data size wa around 2000 bytes.. Now, after some changes in the code, I saw the RO-data size is 33758 bytes... in the MAP file the compiler uses around 30000 bytes in the PAD area.. what's this?...

Thanks

Parents
  • The linker can add a "pad" block to fill up first RAM region before continuing to place new variables in the second RAM region.

    It's most common when you have some very large variables that can't fit in one RAM region and are then moved to next region, leaving a unused hole at end of first RAM region.

    Have you added any variables with absolute address, or specified that one or more source files should have their variables in a different RAM region? Or have you added one really large variable that can't fit together with all other variables in the first RAM region?

Reply
  • The linker can add a "pad" block to fill up first RAM region before continuing to place new variables in the second RAM region.

    It's most common when you have some very large variables that can't fit in one RAM region and are then moved to next region, leaving a unused hole at end of first RAM region.

    Have you added any variables with absolute address, or specified that one or more source files should have their variables in a different RAM region? Or have you added one really large variable that can't fit together with all other variables in the first RAM region?

Children