About P4080 Srio NWrite and Nread

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About P4080 Srio NWrite and Nread

1,859件の閲覧回数
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,673件の閲覧回数
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,673件の閲覧回数
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,673件の閲覧回数
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,673件の閲覧回数
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,673件の閲覧回数
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,673件の閲覧回数
393002032
Contributor I

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

0 件の賞賛
返信