ccs write_reg display direct?

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

ccs write_reg display direct?

Jump to solution
459 Views
jasonhendrix
Contributor V

When we use the read_reg script in CCS to display register values - are the values displayed coming directly from the proc, or could they be cached somewhere, such as in the emulator?

Hi,

We're trying to bring up our custom board based on the LS1020a.  We're having trouble debugging via JTAG.  We have a bare board with unprogrammed QSPI flash.  So we're trying to override the rcw source with 0x9A and write in our own RCW values.  The problem is we can't "reset_to_debug".  We can write to the RCW register using CCS.  We can then read back the values we just wrote.  Can I now be certain that we actually wrote to and read from processor registers?  Or is it possible that the values we read back were cached somewhere?

Labels (1)
1 Solution
343 Views
addiyi
NXP Employee
NXP Employee

The values are read from CPU, but without a correct reset these are not applied.

Make sure hreset and treset are tied together and also are tied to jtag pin 10.

Adrian

View solution in original post

1 Reply
344 Views
addiyi
NXP Employee
NXP Employee

The values are read from CPU, but without a correct reset these are not applied.

Make sure hreset and treset are tied together and also are tied to jtag pin 10.

Adrian