Hello @tomrix.,
There is a workaround to fill the stack with known values.
Please refer to the attached test project.
In the .prm linker file, there are two RAM sections.
The MY_STACK section is used for the Stack and it is filled with 0xED.
While the rest of RAM is filled with 0xAB.
The STACKTOP is then placed at the end of MY_STACK section.
danielmartynek_0-1747054985589.png
Regards,
Daniel