This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCOS scheduler on MPC8240
- To: K Srinivas Aithal <ksaithal_ecos at yahoo dot com>
- Subject: Re: [ECOS] eCOS scheduler on MPC8240
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Sat, 03 Nov 2001 19:02:42 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- References: <20011103110807.4264.qmail@web14311.mail.yahoo.com>
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