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

C6678运行论坛例程报错

您好!

我在自己的6678板子上运行论坛给的SRIO的例程,由于板子上没有DDR,因此运行到DDR初始化的代码中时,打印信息提示DDR没有初始化成功。为此,删除了DDR初始化的函数KeyStone_SRIO_init,再运行函数时,程序打印错误信息如下:

[C66xx_0] JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
[C66xx_0] DEVSTAT= 0x00001a21. little endian, No boot or EMIF16(NOR FLASH) or UART boot, PLL configuration implies the input clock for core is 100MHz.
[C66xx_0] SmartReflex VID= 63, required core voltage= 1.104V.
[C66xx_0] Die ID= 0x0400300a, 0x04044d3f, 0x00000000, 0x71520001
[C66xx_0] Device speed grade = 1000MHz.
[C66xx_0] Enable Exception handling…
[C66xx_0] Initialize DSP main clock = 100.00MHz/1×10 = 1000MHz
[C66xx_0] SRIO path configuration 1xLaneA[C66xx_0] External exception happened. MEXPFLAG[3]=0x84000000.
[C66xx_0] Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
[C66xx_0] memory protection exception caused by local access at 0x2900014
[C66xx_0] Supervisor Read violation
[C66xx_0] Event 127: EMC_BUSERR Bus Error Interrupt for global configuration space between 0x01C00000 – 0x07FFFFFF
[C66xx_0] CFG read status error detected
[C66xx_0] XID (Transaction ID)= 13
[C66xx_0] Addressing error
[C66xx_0] NRP=0xc049924, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x479264c8
[C66xx_0] B3=0xc049910, A4=0x0, B4= 0x4, B14= 0x824e98, B15= 0x8231d0
[C66xx_0] External exception happened. MEXPFLAG[3]=0x84000000.
[C66xx_0] Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
[C66xx_0] memory protection exception caused by local access at 0x2900028
[C66xx_0] Supervisor Read violation
[C66xx_0] Event 127: EMC_BUSERR Bus Error Interrupt for global configuration space between 0x01C00000 – 0x07FFFFFF
[C66xx_0] CFG write status error detected
[C66xx_0] XID (Transaction ID)= 13
[C66xx_0] Addressing error
[C66xx_0] NRP=0xc049960, NTSR=0x1000d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x479376f7
[C66xx_0] B3=0xc049910, A4=0x0, B4= 0x2900000, B14= 0x824e98, B15= 0x8231d0
[C66xx_0] External exception happened. MEXPFLAG[3]=0x84000000.
[C66xx_0] Event 122: DMC_CMPA CPU memory protection fault for L1D (and other memory read finally goes through the L1D controller)
[C66xx_0] memory protection exception caused by local access at 0x2900028
[C66xx_0] Supervisor Read violation
[C66xx_0] Event 127: EMC_BUSERR Bus Error Interrupt for global configuration space between 0x01C00000 – 0x07FFFFFF
[C66xx_0] CFG read status error detected
[C66xx_0] XID (Transaction ID)= 14
[C66xx_0] Addressing error
[C66xx_0] NRP=0xc04998a, NTSR=0x1400d, IRP=0x0, ITSR=0x0, TSCH= 0x0, TSCL= 0x479488ac
[C66xx_0] B3=0xc049910, A4=0x2900000, B4= 0x2900000, B14= 0x824e98, B15= 0x8231d0
[C66xx_0] Exception happened at a place can not safely return!

请问这是什么问题导致的错误呢?是不是因为程序里仍然有与DDR有关的一些代码,而板子上没有DDR,因此无法访问DDR存储空间而报错呢?

谢谢各位!

biqing sun:

前面打错了……删掉的函数是KeyStone_DDR_init

biqing sun:

回复 Allen35065:

您好Allen yin:感谢您的回复!
请问内存保护故障异常事件(比如event122)都有可能是什么原因导致的呢?

Allen35065:

回复 biqing sun:

下面已经有log说明,对0x2900028地址错误的读访问。

[C66xx_0] memory protection exception caused by local access at 0x2900028[C66xx_0] Supervisor Read violation

赞(0)
未经允许不得转载:TI中文支持网 » C6678运行论坛例程报错
分享到: 更多 (0)