Hi,
is there simple possibility to disable stack zero-init at startup (Keil MDK-ARM)? I'm trying to find some stack issues in the program, so I have filled the stack memory areas (multiple stacks for all modes on ARM7TDMI) with predefined patterns in startup.s, but the _scatterload_zeroinit wiped it out before jumping to main.
I could add explicit section to the linker scatter file, but this would be valid until the stack sizes are changed, which is not very clean solution.
Thanks for any info/tips.
Regards Pavel Faltynek