Hi Andrew,

> I extended the patch a little. I added a ChangeLog entry and some CDL
> as i suggested to ensure the priorities are different between the
> serial ports.

Thank you.

> However if some other device is using the same priority
> this will not be detected. The correct place to fix that is in the
> HAL. Humm, interesting. If you have asserts enabled, which you should
> when developing, the function hal_interrupt_set_level() has:
>
>
>         CYG_ASSERT((reg_val == 0) || (reg_val == (vector | 0x20)),
>                    "Priority already used by another vector");

Yes - this was my starting point. I wonder that nobody else had this
error since eCos crashed with the two serial ports enabled. (And
IMHO the LPC2XXX serial driver is quite old.)


Greetings,
 Martin


Reply via email to