From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Skov To: ecos-discuss@sources.redhat.com Subject: [ECOS] forwarded message from ilya kovnatsky Date: Thu, 09 Aug 2001 23:38:00 -0000 Message-id: <15219.33098.385864.147492@zoftcorp.adsl.dk> X-SW-Source: 2001-08/msg00293.html To : "Jesper Skov" Subject : Re: 22781 >From : "ilya kovnatsky" Date : Thu, 9 Aug 2001 17:42:00 -0400 References : <15214.33231.491898.183690@zoftcorp.adsl.dk> Thanks for the help, it was a not properly setup TLB. New problem: The code start running ( 2 threads each has a counter in a loop with a delay) the counters get to 1 and then it sits in the idle loop. There are no interupts occuring. I manualy enabled the decrementer interupt and then both the counters got to 2 and stopped. which interupt does the scheduler use ? where in the code does it init the interupts to be used by the scheduler / task switching? thanks in advance. Ilya ----- Original Message ----- From: Jesper Skov To: ; Sent: Monday, August 06, 2001 7:38 AM Subject: Re: 22781 > > >I have a board I developed which is almost identical to the FADS > >board. I have build the toolset and ecos. When ecos is triing to > >setup the interupt vectors and reads from the SIMASK register, I get > >a 1200 exception (tlb) eventhough all of the mapping registers are > >disabled. Note: the excepton occurs in the cyg hal when it calls the > >UNMASK_INTERUPT routine as soon as it tries to read from the SIMASK > >register > > Maybe because the IMM base is not 0xff000000 as eCos expects. You can > tell by the value in register 638 (only the 16 MSB bits). > > Otherwise I have no idea, sorry. Try asking on the mailing list. > > Jesper