\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u60b5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0303X\ufffdE\ufffdB\ufffd[\ufffd\ufffd\ufffd[ wrote: >Hi All, > >Recently, I have encountered a funny issue. >Currently, I have enabled support call between ARM & >thumb instruction & complie thumb code & enable >ARM/ Thumb inter-working for the LPC2138 code. > >When the LPC2138 run for 10~20 minutes, I would encounter >exception. If I used the same code & select compile >thumb code for some of the source files, >LPC2138 will not encounter the above exception. >(I have checked the stack, it seems to be ok. > The exception is caused by accessing illegal data > area) > >After adding some routines to the above code, I start >to get run time exception again, this time I disable the >"compile thumb code" for the above source files. >The exception will not occur. > > > I think the first question is what compiler are you using, what version, are you using any optimization (compile for speed, optimize for size)? TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] ARM/ Thumb exception
2006-05-25 by Tom Walsh
Attachments
- No local attachments were found for this message.