This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos application error- ASSERT FAIL : invalid priority
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Rohit Pandita <pandi008 at umn dot edu>
- Cc: ecos-discuss at sourceware dot org
- Date: Fri, 4 Aug 2006 09:08:35 +0200
- Subject: Re: [ECOS] eCos application error- ASSERT FAIL : invalid priority
- References: <44D2EE8D.7050202@umn.edu>
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