AnsweredAssumed Answered

Fill memory with pattern on linker

Question asked by lucas_embraer on Jan 29, 2015
Latest reply on Mar 20, 2015 by jobo23

Hello,

 

I'm trying to setup a pattern to fill all the memory available in the stack to execute a watermark analysis later . It is possible to do this directly in the ldf file?

 

My stack regions are declared as follow:

 

kstack

    {

      RESERVE(_KBottom, _KSzWords = 16K)

      _KTop = (_KBottom + _KSzWords) & 0xFFFFFFFC;

    } > IRAM8

 

I need to use the reserve because what is left of the section is later set a a data section.

 

Best regards,

Outcomes