Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IAR IDE Error: "The C-SPY option "Run to 'main'" is enabled ..."

Other Parts Discussed in Thread: CC2540

Hi, this error recently popped up for no good reason:

I can't figure out what causes this to pop up.

What I do know:

  • This occurs on the IAR Workbench version 8.11.1 from February 2012 - the one that came with BLE Stack 1.2.1 (which I'm using)
  • Happens regardless of hardware and debugging method: Both on SmartRF05EB and KeyFob with CC2540, using either USB debugging or the TI CC Debugger. All boards have the latest EB firmware available burned. Reflashing them did not help.
  • Occurs regardless of optimization settings.
  • Occurs whether or not I set breakpoints through the IDE ("F9")
  • As expected, this has nothing to do with the code I'm building (reverting to previous versions did not do the trick)
  • Pressing Execute causes the workbench to hang and eventually crash (as the message contents might suggest)
  • Pressing Stop allows me to resume debugging, but the debugger driver won't allow me to set new breakpoints. However, memory monitoring and instruction stepping does work via the IDE.
I've searched the forum for previous mentions on this error to no avail.
Any help will be appreciated!
Thanks in advance.