From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Christoph Csebits Cc: ecos-discuss@sources.redhat.com, Linus Nielsen Feltzing Subject: Re: [ECOS] Enabling Interrupts Date: Wed, 02 May 2001 08:28:00 -0000 Message-id: References: <20010502163844.A25901@frequentis.com> X-SW-Source: 2001-05/msg00024.html On 02-May-2001 Christoph Csebits wrote: > On Thu, Apr 26, 2001 at 12:26:34PM +0200, Linus Nielsen Feltzing wrote: >> It looks like a problem with your interrupts. >> How are your vectors set up? Where are they located (interrupt prefix)? > > Due to using not the ecos gdb stub to upload my applications the > exception vector table is not initialized/set up. > > How can i configure eCos to set up the vector tables, and how > can i verify that they are put into the right memory location? > Set CYGSEM_HAL_POWERPC_COPY_VECTORS > And is there anything to manage after the vector table is set up? > (registering some isr routines, or is it done automatically) > >> It is probably the Decrementer interrupt that has triggered. > you are right, it was the Decrementer interrupt. > > prehistory: >> > Hi, >> > >> > i am working on an eCos port for a PowerPC MPC860T >> > based board. On the board is a simple "load and go" >> > bootstrapper doing simple board initialization. >> > >> > Serial ports under eCos are not yet working, but >> > i have blinking leds (based on simple hello.c). >> > >> > Then i started to try this with two threads. >> > My problem is, that enabling the interrupts >> > (in Cyg_Interrupt::enable_interrupts(); -> MSR[EE]=1) >> > never returns. >> > >> > Any idea, where to start? >> > >> > best regards >> > Christoph >> > > best regards, Christoph