[ECOS] cyg_mempool problem?

Fredrik Hederstierna fredrik@wespot.com
Wed Oct 10 01:56:00 GMT 2001


Hi,

Question regardning cyg_mempool:

When I'm creating a cyg_mempool using 4 megabytes everything works fine.
But if I increase the size of the mempool eCos crashes in the kernel
(scheduler, mutex etc) which seems like memory trashing in the kernels
stack space (?). I've tried to increase LIBC-malloc stack size but it
had no effect. I've also tried to MMU-protect parts of the RAM to see if
there's any trashing by my application, but without effect.

Is there any limit on size of cyg_mempool, or are there any special
issues when using sizes approx. > 4 MB?

Best Regards,
Fredrik Hederstierna







More information about the Ecos-discuss mailing list