请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS570LC4357 尊敬的 TI 支持:
是否可以在 堆栈存储器区域的特定地址进行写入、并在运行时定期读回该地址?
此致、
M·塞尔瓦拉伊
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.
尊敬的 TI 支持:
是否可以在 堆栈存储器区域的特定地址进行写入、并在运行时定期读回该地址?
此致、
M·塞尔瓦拉伊
尊敬的 Manoraj Selvaraj:
您可以这样做、只需声明一个指针并指向相应的栈地址。
例如:

您可以看到堆栈是从地址 0x08000000启动的。
因此、 我只需按如下所示编写一个程序即可访问堆栈中的一个地址。

您可以这样做。
我附上我的项目供您参考:
e2e.ti.com/.../Stack_5F00_Memory_5F00_Write_5F00_Test_5F00_LC4357.zip
--
谢谢。此致、
Jagadish。