AnsweredAssumed Answered

PCIE INTx issue

Question asked by yang yang on Aug 20, 2017
Latest reply on Aug 22, 2017 by yang yang

env: p2041--rc;
        p1011-ep;

step:
1. p2041 connect the intx;
intConnect((VOIDFUNCPTR *) (0x2a), isrPCIE, 0);
intEnable(0x2a);
2. p1011 send intx message to 2041
p1011 mem32Addr=0xa0000000;
PEXOWAR0[WTT] = 0x5.
*(unsigned int*)0xa0000000 = 0x20040000;

3. p2041 cannot come int the isrPCIE ?
would you please give me some suggestions?

 

p2041--access the p1011 as follow:
vendor ID = 0x1957-
device ID = 0x0108
command register = 0x0006-
status register = 0x0010
revision ID = 0x11
class code = 0x0b
sub class code = 0x20
programming interface = 0x01
cache line = 0x10
latency time = 0x00
header type = 0x00
BIST = 0x00
base address 0 = 0xc4000000
base address 1 = 0xc0000008
base address 2 = 0xc4100004
base address 3 = 0x00000000
base address 4 = 0x00000000
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x0000
sub system ID = 0x0000
expansion ROM base address = 0x00000000
interrupt line = 0x2a
interrupt pin = 0x01
min Grant = 0x00
max Latency = 0x00
Capabilities - Power Management
Capabilities - PCIe: Endpoint, IRQ 0
Device: Max Payload: 256 bytes, Extended Tag: 5-bit
Acceptable Latency: L0 - <64ns, L1 - <1us
Errors Enabled: Relaxed Ordering No Snoop
Max Read Request 512 bytes
Link: MAX Speed - 2.5Gb/s, MAX Width - by 4 Port - 0 ASPM - L0s
Latency: L0s - <2us, L1 - >64us
ASPM - Disabled, RCB - 64bytes
Speed - 2.5Gb/s, Width - by 1
Ext Capabilities - Advanced Error Reporting. 0x100. Version 1. AER Control: 0xa0
Uncorrectable : Mask 0x0. Severity 0x62010
Uncorrectable Status:
Correctable : Mask 0x0.
Correctable Status:
HeaderLog:
Error Source Identification: 0x0 0x0
Capabilities - Message Signaled Interrupts: 0x70 control 0x88 Disabled, 64-bit, MME: 0 MMC: 4
Address: 0000000000000000 Data: 0x0000
Per-vector Mask: Unsupported

value = 0 = 0x0

Outcomes