About P4080 Srio NWrite and Nread

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

About P4080 Srio NWrite and Nread

1,734 次查看
393002032
Contributor I

I have a P4080DS board ,I want to use SRIO Nwrite and Nread to transmit data ,I have already config the register as below:

1.LAW window as LAWBARH10\LAWBARL10\LAWAR10,

2,DMA config as channel 0

3.when I use Nwrite  to transmit data ,SRIO register goto Channel busy status all the time,but i cann't send data out.

can you tell me how to config Nwrite and Nread?

whether i can  config LAW window  at any window?

is there any other point should me take notice?

标签 (1)
0 项奖励
回复
6 回复数

1,548 次查看
393002032
Contributor I

I'm able to read and write SRIO memory window,

The LAW、SRIO and DMA register areas are all same as your value,but it can't work well

0 项奖励
回复

1,548 次查看
ufedor
NXP Employee
NXP Employee

Please attach textual hexadecimal dumps of the initialized CCSR registers areas:

1) LAW: 0x00_0000 - 0x00_0FFF

2) SRIO: 0x0C_0000 - 0x0D_FFFF

3) DMA: 0x10_0000 - 0x10_1FFF

0 项奖励
回复

1,548 次查看
393002032
Contributor I

I have already initialized CCSR registers areas as:

1) LAW: 0x00_0000 - 0x00_0FFF

2) SRIO: 0x0C_0000 - 0x0D_FFFF

3) DMA: 0x10_0000 - 0x10_1FFF

but when i use Nwrite ,,SRIO register goto Channel busy status all the time

0 项奖励
回复

1,548 次查看
ufedor
NXP Employee
NXP Employee

To check the settings please attach textual hexadecimal dumps of the initialized CCSR registers areas:

1) LAW: 0x00_0000 - 0x00_0FFF

2) SRIO: 0x0C_0000 - 0x0D_FFFF

3) DMA: 0x10_0000 - 0x10_1FFF

0 项奖励
回复

1,548 次查看
ufedor
NXP Employee
NXP Employee

Are you able to read/write the SRIO memory window using core instructions or by means of a debugger?

Please attach textual hexadecimal dumps for the initialized CCSR registers areas:

1) LAW: 0x00_0000 - 0x00_0FFF

2) SRIO: 0x0C_0000 - 0x0D_FFFF

3) DMA: 0x10_0000 - 0x10_1FFF

0 项奖励
回复

1,548 次查看
393002032
Contributor I

my problem is still exist,can you tell me more info about how to config Nwrite and Nread?

0 项奖励
回复