__WFI causes SIGINT, program suspend

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

__WFI causes SIGINT, program suspend

668 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stuartreynolds on Mon Mar 26 14:21:46 MST 2012
I recently upgraded from LPCXpresso 3.5.x to 4.2.0 and CMSISv2p00 (with an LPC1313).

Now, whenever my code reaches a __WFI() call, the debugger freezes the program as if it hit a breakpoint. The program stack view lists

  "Suspended: Signal 'SIGINT' received. Description: Interrupt."

The Breakpoints view in the IDE show no breakpoints (I can still add, use and delete breakpoints as usual).

The Signals view shows SIGINT was triggered.

I get the same problem even with a brand new project generated through the New Project wizard.

1) should WFI cause SIGINT?
2) how to prevent this, or fix it so my program can continue (/not be suspended)?

Thanks.
0 Kudos
Reply
1 Reply

584 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Mar 26 14:50:39 MST 2012
See...

http://knowledgebase.nxp.com/showthread.php?t=3030

Regards,
CodeRedSupport
0 Kudos
Reply