ccs write_reg 'space' argument

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

ccs write_reg 'space' argument

跳至解决方案
1,718 次查看
vsiles
Senior Contributor I

Hi,

I'm learning how to use the ccs tool with a ls1021atwr board. I currently boot with no core running, and I use ccs to release core 0. In all the documentation and all the question on the forum I read, I see the following command to write to a memory mapped register:

ccs::write_mem <chain_pos> <addr> <size> 0 <data>

However this always returns me a "Scan timeout" error. If I use 1 instead of 0, the write seems to be correctly performed.

 

The 0 is named "space" in the documentation, but I can't find any information about it.

1) What is this argument for ?

2) Why is 0 failing ?

2) Can I safely use 1 instead ?

 

Best,

Vincent

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

ccs implements several memory space access:

0 virtual

1 physical_noncoherent

2 physical_coherent

3 virtual_ns

Adrian

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,491 次查看
addiyi
NXP Employee
NXP Employee

ccs implements several memory space access:

0 virtual

1 physical_noncoherent

2 physical_coherent

3 virtual_ns

Adrian

0 项奖励
回复