[ECOS] eCos application error- ASSERT FAIL : invalid priority

Andrew Lunn andrew@lunn.ch
Fri Aug 4 07:09:00 GMT 2006


On Fri, Aug 04, 2006 at 01:51:57AM -0500, Rohit Pandita wrote:
> Hi all,
> Have a couple of questions,
> 
> 1. While trying to execute/debug an eCos application in RAM I get ASSERT 
> FAIL: var_intr.h[2343]: void cyg_hal_interrupt_set_level() : Invalid 
> priority.
> Has it got anything to do with with eCos Kernel scheduler config? Any 
> solutions.

What priority are you passing? What priorities are valid?

> 2. My application requires I/O through both serial ports on the target 
> (Phy555). Is this permissible, given that RedBoot uses the serial ports 
> for CLI and debug/diagnostic purposes? If not, what changes would be 
> necessary.

You could use Ethernet for Redboot/gdb so leaving the second ethernet
port free. Otherwise just don't use diag_printf and gdb and redboot
will keep quiet when your application is running.

     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