[ECOS] Re: uSTL how to use it?

oliver munz @ s p e a g munz@speag.ch
Thu Mar 4 10:30:00 GMT 2010


In the moment i think it's possible that the crashes come from a RAM 
shortage... I looked at the stack usages, and they look ok, but i don't 
know how to check the stack-usage of the interrupt-stack and i have no 
idea how to check the heap-usage. Can You give me some hints on this?

Thanks Oliver

John Dallaway schrieb:
> Hi Oliver
>
> oliver munz @ s p e a g wrote:
>
>   
>> It looks like there is only a problem whit the fstreams. If i use
>> ostringstreams and strinngs in conjunction whit fprinf()/fgetc() and
>> avoid any cout/ofstream usw, then it works great...
>>     
>
> Are you saying that fstreams do not work unless you use them from the
> 'main' thread? Try comparing behaviour between the use of fstreams from
> main() and from other threads by stepping down into the uSTL code
> itself. If you are convinced that there's a bug here, please do raise a
> report in Bugzilla and attach a minimal test case:
>
>     http://bugs.ecos.sourceware.org
>
> Thank you
>
> John Dallaway
> eCos maintainer
>
>
>
>   


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list