This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can excessive/intensive serial flow cause stack overflow?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]