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.

[参考译文] TMS320F2800137:RAM

Guru**** 2484835 points
Other Parts Discussed in Thread: TMS320F2800137

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1437811/tms320f2800137-ram

器件型号:TMS320F2800137

工具与软件:

尊敬的  TI 支持人员:

   我在使用 tms320f2800137芯片时遇到此类问题。 我按如下方式定义了一个结构:
typedef 结构

uint16_t a;
uint32_t b[8];
uint16_t c;
uint16_t d;
uint16_t e;
uint16_t f;
}数据;
在程序中、我为​​结构成员 e 和 f 分配了值、但运行程序的结果是为​​结构成员 c 和 d 分配值
然后我检查了结构成员的地址。 通过 调试直接查看的结构成员的地址和 通过变量获取的结构成员的地址是不同的。 通过变量获得的结构成员 e 和 f 的地址完全是结构成员 c 和 d 的地址。为什么会发生此地址不匹配问题?
我们在这个问题上花了很多时间。 我希望您能帮助我们解决这个问题。 非常感谢!