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.

上位机读不到CLA输出结果值



#pragma DATA_SECTION(Val,"CpuToCla1MsgRAM");
float Val;
#pragma DATA_SECTION(Vbl,"CpuToCla1MsgRAM");
float Vbl;
#pragma DATA_SECTION(ExpRes,"Cla1ToCpuMsgRAM");
float ExpRes;

我想用CLA计算:Val+Vbl的值,最后通过变量ExpRes输出结果。及

                            ExpRes=Val+Vbl

 

现在算出的结果可以用ccs观察到 可是上位机却读不出变量 ExpRes的值
难道是变量的定义有问题吗,也没有吧 我彻底蒙了