This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Mail Box Timeout
"Chuck Chen" <ycchen@zcom.com.tw> writes:
> Hello,
>
> Thanks.
>
> I add the cyg_scheduler_start(), and the system seems to be hanged.
> I can't see any redboot messages from console.
>
> Besides, the real-time clock can't tick automatically.
> If modfied the alarm initial to be cyg_alarm_initialize(alarm_hdl,
> cyg_current_time()+10, 50), the alarm is never executed.
>
It looks like you are not getting clock interrupts. Check that the
kernel test programs like kalarm0 or tm_basic run. If they run then
it is likely that your application is doing something silly. If it
does not run then there is something wrong with the HAL -- you don't
mention what target you are using, so it is hard to be more specific.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss