Hi Grant,
A small update on this subject.
I found I did not have any optimisation on in the release version.
When I added -Os or -O3 most of the problems disappeared.
I'm planning to try to isolate which section of code makes the
difference and then look at optimising how it works.


Thanks again.                   ...Laurie:{)

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Grant
> Edwards
> Sent: Tuesday, 29 January 2008 5:36 AM
> To: [EMAIL PROTECTED]
> Subject: [ECOS] Re: Uart missing chars when in Release
> 
> 
> On 2008-01-28, Grant Edwards <[EMAIL PROTECTED]> wrote:
> 
> > The way I usually do that is to instrument all the DSRs so that
> > they set a spare port pin high at entry and low at exit.
> 
> Though I usually just put instrumentation code into individual
> DSR's, you could probably accomplish the same thing by adding
> some code the the DSR dispatcher that sets/clears port pins
> when dispatching DSRs.  You could also do the same thing with
> ISRs.
> 
> -- 
> Grant Edwards                   grante             Yow! 
> TAILFINS!! ... click
>                                   at               ...
>                                visi.com            
> 
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 

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

Reply via email to