| Author | beginning argument ( Replies received: 1 ) |
| SK |
Posted 27-05-2008 at 10:59   |

Registered on : 12-06-2006
From Israel
Messages : 14
OFF-Line
|
I worked with STR751, IAR compiler and have problem with some device to exit from stop mode (LP_PARAM15) .
I found that the device wake up from interrupt (EXTIT_ITLine15 (wake up) or EXTIT_ITLine4 (external interrupt line 4)), But it didn’t return to the program from the interrupt and it go to PrefetchAbortHandler in some devices or to SWIHandler in others.
It seems like the lr or the pc registers are damaged.
Do you have any suggestion what wrong?
How I handle with Prefetch Abort, SWI Interrupt, (is there an example).
Thanks in advance.
|
|
|
Profile
Quote
|
| coucou |
Posted 05-06-2008 at 15:15   |


Registered on : 10-03-2003
Messages : 202
OFF-Line
|
you can add a code in the PrefetchAbort handler to recover as generate a system reset or other code for debugging. You can refer to STR75x Low Power Application note AN2476 which provides example of Stop mode configuration in case of miss configuration
|
|
|
Profile
Quote
|