Thanks for your quick response, I try it ---------------------------------------- > Date: Thu, 20 Mar 2008 10:11:33 -0600 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: [email protected] > Subject: Re: [ECOS] data abort exception (SWI) > > trollepi jj wrote: >> Hi, >> I try to make a ecos project without Redboot for an atmel AT91M55800A >> (phycore). So it's a RAM project. I compile and debug an application without >> any problems. >> When i try to generate a SWI (with asm("swi")), the application reach the >> exeption handler that I define but the number of the exception is not >> CYGNUM_HAL_VECTOR_SOFTWARE_INTERRUPT (number 2 that i give on >> cyg_exception_set_handler) but CYGNUM_HAL_VECTOR_ABORT_PREFETCH (number 3) . >> Maybe I might modify vector.S to do the remap (like hal_platform_setup.h ). >> If anybody have an idea? I search on your mailing and nothing fit well. > > Why are you trying to use the SWI instruction? > > In any case, it looks like there is a typo in the SWI handler. > I'm pretty sure no one has ever actually used this path! > > Please try the attached patch and let me know if it fixes > your problem. > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------
_________________________________________________________________ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
