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.
定义了全局变量没有问题,程序中引用此全局变量就会提示:failed to read one or more register values(busy),程序不能正常debug,程序跑飞,无法定位运行到那个位置。
用的是msp430f5438A,主频用16m,mspware运行没有问题,我去掉这个全局产量,改为局部变量就没有问题,但是我在debug复位也提示这个问题,此时程序可以运行。另外,我的程序用全局变量较多,这个会影响吗