TI中文支持网
TI专业的中文技术问题搜集分享网站

STK 下面的PCIE程序运行打印异常

我用自己做的板子跑PDK下面的PCIE,是可以的,证明板子硬件没有问题,跑STK下面的程序出现了异常,异常中断函数打印的信息如下所示:

我把STK的例程复制一份,RC跑一片的0核,EP跑另外一片的1核,对程序只有DDR进行了修改,修改为2GB的初始化,对PCIE输入时钟,我们板子是100M,故感觉只需要修改这些,但是RC端的程序跑过建立连接后,就会出现异常,而EP端则在入站地址配置的地方死循环,这里的EP死循环估计是因为RC端的原因。

////////////////////////////////////////////////////////////////////////////////

External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 2
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803010
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3ae7d42
B3=0x8097e0, A4=0x21803010, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 0
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803010
Supervisor Read violation
NRP=0x8093cc, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3af8e15
B3=0x8097e0, A4=0x0, B4= 0x818098, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 1
Timeout error
NRP=0x8096e8, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b09d14
B3=0x8096c8, A4=0x1fe, B4= 0x5, B14= 0x8193c8, B15= 0x818060
outbound only has 32 regions, more region request is ignored!
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 7
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803014
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b17b40
B3=0x8097e0, A4=0x21803014, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 2
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803014
Supervisor Read violation
NRP=0x8093cc, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b28a7d
B3=0x8097e0, A4=0x0, B4= 0x21803014, B14= 0x8193c8, B15= 0x818078
no free PCIE address sapce for allocation!
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 11
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803018
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b39fe7
B3=0x8097e0, A4=0x21803018, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 3
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803018
Supervisor Read violation
NRP=0x8093cc, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b4af8c
B3=0x8097e0, A4=0x0, B4= 0x8180c8, B14= 0x8193c8, B15= 0x818078
no free PCIE address sapce for allocation!
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 15
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x2180301c
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b5c460
B3=0x8097e0, A4=0x2180301c, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 1
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803020
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b6d3fe
B3=0x8097e0, A4=0x21803020, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 4
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803020
Supervisor Read violation
NRP=0x8093cc, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b7e34c
B3=0x8097e0, A4=0x0, B4= 0x8180e0, B14= 0x8193c8, B15= 0x818078
no free PCIE address sapce for allocation!
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA read status error detected
XID (Transaction ID)= 5
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803024
Supervisor Read violation
NRP=0x809376, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3b8f81f
B3=0x8097e0, A4=0x21803024, B4= 0x0, B14= 0x8193c8, B15= 0x818078
External exception happened. MEXPFLAG[3]=0x4004000.
Event 110: MDMAERREVT XMC VBUSM error event
MDMA write status error detected
XID (Transaction ID)= 5
Timeout error
Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
memory protection exception caused by local access at 0x21803024
Supervisor Read violation
NRP=0x809424, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x3ba096a
B3=0x8097e0, A4=0xffffffff, B4= 0x21803024, B14= 0x8193c8, B15= 0x818078
no free PCIE address sapce for allocation!

yuanchao zhang1:

没有TI工程师愿意解答吗??????

赞(0)
未经允许不得转载:TI中文支持网 » STK 下面的PCIE程序运行打印异常
分享到: 更多 (0)