ARM/ Thumb exception
2006-05-25 by ³³«æµ¦³ñÌX
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. Strange... Does anyone encounter..the above problem? Please advise me what is the next best step to do.. (:-|) Thank you. Best regards, Octavius