Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI've got to confess that I always test eCos on hardware, rather than through the ISS. However after a cursory glance through the code, it seems that there is an assumption that all memory is initialised to zero within the stack checking part of this test. This is what's probably causing the problem in the ISS, because it's (rightly) saying that the memory is actually uninitialised.
It looks like you might be able to solve the problem by turning on CYGFUN_KERNEL_THREADS_STACK_CHECKING. This should make sure that the stack contents are explicitly initialised. The code to look at is contained in stackmon.h.