About P4080 Srio NWrite and Nread

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

About P4080 Srio NWrite and Nread

1,834 Views
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?

Labels (1)
0 Kudos
Reply
6 Replies

1,648 Views
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 Kudos
Reply

1,648 Views
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 Kudos
Reply

1,648 Views
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 Kudos
Reply

1,648 Views
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 Kudos
Reply

1,648 Views
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 Kudos
Reply

1,648 Views
393002032
Contributor I

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

0 Kudos
Reply