ee_gary wrote: >Hello, > >I'm having a problem where my code goes into the bushes after ~10 >seconds. Running it in the simulator results in a "Non-aligned >Access" error, ARM Instruction at 00000200H, Memory Access at >40000241H. Any idea what that means? Simple code, just an interrupt >driven timer and interrupt driven SPI\ufffd > > > You can run into this when mixing Thumb with ARM code. When interrupt routines are entered, the processor is in ARM mode, either write your handlers in ARM or switch to THUMB mode, process the interrupt, then exit THUMB mode and return from interrupt. FWIW, Thumb, and thumb-internetworking, is too much trouble to deal with, I run strictly ARM mode. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Non-aligned access?
2005-11-08 by Tom Walsh
Attachments
- No local attachments were found for this message.