SWIs are sometimes used to handle the "OS specific" calls that live inside printf and other libc callsetc. If you are using these then you might be generating SWIs. Set a breakpt on the swi handler and do a backtrace when this goes off. Might give you some hints where it came from. On Tuesday 25 May 2004 05:27, Rob R wrote: > Hi, > > I'm using Keil & GNU to compile an example program that does simple GPIO > manipulation and sends some data through the UART, but for some reason, > there is a software interrupt (SWI_Handler??) for no apparent reason. > > This shows in the simulator, and on the board it just freezes. > > I don't know what could be causing this as I've just string together a load > of code that works individually (i.e. tested Uart stuff, tested the GPIO > stuff).. > > > > Just wondered if anyone had any ideas. > > > > Thanks > > Rob > > http://www.robs-projects.com/
Message
Re: [lpc2000] SWI Software Interrupt
2004-05-25 by Charles Manning
Attachments
- No local attachments were found for this message.