Memory browser vs mem command with Debugger Shell

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Memory browser vs mem command with Debugger Shell

跳至解决方案
1,737 次查看
klm78
Contributor I

Hi,

We have some doubt concerning the memory browser window in CW 10.1.8 for StarCore.

Our Configuration is ADS8156

If we open this browser at a memory adress in DDR > 0x40000000 and look at the same adress  with Debugger Shell mem command

The result is the same.

If we modify  a value memory cell in the browser, there's no change observed with mem command in Debugger Shell

 

 

Which way is the most accurate for dumping memory in Debug Mode ?

 

Is this issue could be due to CACHE management ?

 

Thanks in advance

 

BR. klm78

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,350 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi klm78,

 

Seems to be indeed a cache related behavior. I'll check this and return with details as soon as I'll have access to a board.

 

Nonetheless, the preferred way of dumping memory are Target Tasks/Import-Export memory.

Also, please be aware that there are two types of Memory views supported in CW - one of them is the Memory Browser view with a reduce set of features and the other one is Memory view. 

 

I advice you to use the Memory view, where you can place a monitor (for example at 0x40000000) and in the same time you can specify which type of memory is used (physical, virtual for data or virtual for program)

 

Hope this helps.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,351 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi klm78,

 

Seems to be indeed a cache related behavior. I'll check this and return with details as soon as I'll have access to a board.

 

Nonetheless, the preferred way of dumping memory are Target Tasks/Import-Export memory.

Also, please be aware that there are two types of Memory views supported in CW - one of them is the Memory Browser view with a reduce set of features and the other one is Memory view. 

 

I advice you to use the Memory view, where you can place a monitor (for example at 0x40000000) and in the same time you can specify which type of memory is used (physical, virtual for data or virtual for program)

 

Hope this helps.

0 项奖励
回复