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.

[参考译文] J722SXH01EVM:观察窗口和 memroy 浏览器中的值

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1621070/j722sxh01evm-the-value-in-watch-window-and-memroy-browser

器件型号: J722SXH01EVM

我在 CCS12.8 中调试了 J72SS 的 C7000。

watch window 中 m_nNumber 的值为–1、但实际上是 8。代码可以插入 for()、i 的值是正确的。如果我使用 CacheP_Wb(&m_nNumber、4、CacheP_type_all);watch window 中的值是正确的。此外、我在 watch window 中键入值来更改 CacheP_Wb(&m_nNumber、cacheP_type_all) 的值也需要 CacheP_Nall(&nnumber_4、cache_nWb_type_all)。

24b269d19c52a6aacfd513e967fa4fb0.png

我想知道 CCS 中是否有一组或工具 可以使缓存无效。每次添加额外的代码来检查数据是非常繁琐的。