IAR调试CC2530程序,出现The stack plug-in failed to set a breakpoint on "main". The Stack window will not be able to display stack contents. (You can change this setting in the Tool>Options dialog box.)的警告,程序能烧进去,但不能调试。
网上看到如下步骤:
1. iar->options->linker->output->format;
选择 Debug information for c-SPY选项
2. iar->Tools->options->stack->去掉选项“stack pointer(s) not valid until program reaches”
问题可以解决,如果是想运行到main,则第2步不用操作。
网上看到如下步骤:
1. iar->options->linker->output->format;
选择 Debug information for c-SPY选项
2. iar->Tools->options->stack->去掉选项“stack pointer(s) not valid until program reaches”
问题可以解决,如果是想运行到main,则第2步不用操作。