[ECOS] Can excessive/intensive serial flow cause stack overflow?

Andrew Lunn andrew@lunn.ch
Thu Jul 3 14:05:00 GMT 2008


On Thu, Jul 03, 2008 at 03:47:25PM +0200, Alexandre wrote:
> On Thu, Jul 3, 2008 at 12:10 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> > LPC2106 is an ARM right?
> 
> It is indeed.
> 
> > First off, i would enable asserts in the INFRA package. It adds some
> > CPU overheads, but that might actually help in your situation....
> 
> My software does not start anymore when I do that. Do I have to add
> something ? I read on the documentation that the execution of code can
> be halted by asserts if a condition is not met. Is it the problem ?

Where is debug output going? Given your serial port setup, would you
see it? If you have a jtag debugger, set a breakpoint in
cyg_assert_fail and see if it hits.

      Andrew

-- 
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