ccs write_reg 'space' argument

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ccs write_reg 'space' argument

Jump to solution
1,006 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
778 Views
addiyi
NXP Employee
NXP Employee

ccs implements several memory space access:

0 virtual

1 physical_noncoherent

2 physical_coherent

3 virtual_ns

Adrian

View solution in original post

0 Kudos
1 Reply
779 Views
addiyi
NXP Employee
NXP Employee

ccs implements several memory space access:

0 virtual

1 physical_noncoherent

2 physical_coherent

3 virtual_ns

Adrian

0 Kudos