This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: eCOS scheduler on MPC8240


K Srinivas Aithal wrote:
> 
> The eCOS scheduler was working on my board after doing the followoing
> 1. replacing all the calls to cyg_thread_delay() to cyg_thread_yield()

You shouldn't need to do that...

> 2. using the priorities of all  the threads equal

.. or that.

> 3. the scheduler used was the MLQueue scheduler
> I will sometimes be able to ping and send SNMP queries to the board.
> But sometimes nothing happens, ping response will also be slow
> (1800ms-3000ms). This happens if do ONLY PING or ONLY SNMP (which
> timeout). If I do both of it; things looks fine, but gradually PING
> response increases.

Compare your HAL with an existing HAL and check you're not doing something
they don't or vice versa.

But perhaps you haven't set CYGNUM_HAL_RTC_PERIOD correctly?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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