ccs write_reg display direct?

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

ccs write_reg display direct?

跳至解决方案
692 次查看
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?

标签 (1)
标记 (3)
1 解答
576 次查看
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

在原帖中查看解决方案

1 回复
577 次查看
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