This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5706: 当L3_MAIN总线上的target出现错误时,如何获取相应错误信息

Part Number: AM5706

DSP侧访问无效内存地址(读写访问),会引起L3_MAIN错误,在错误记录的信息中,能否从某个寄存器中获取到具体的访问地址

  • 请把您的log贴出来看一下。SDK用的是linux还是RTOS, 是哪个版本?

  • 不好意思,添加一些额外信息:

    linux kernel:

    4.1.18-rt17-gc9307487-dirty

    L3总线的内核错误处理打印部分语句:

    snprintf(info_string, sizeof(info_string),
    		 ": %s in %s mode during %s access",
    		 (m_req_info & BIT(0)) ? "Opcode Fetch" : "Data Access",
    		 (m_req_info & BIT(1)) ? "Supervisor" : "User",
    		 (m_req_info & BIT(3)) ? "Debug" : "Functional");

    当dsp模拟一个无效内存读写访问(比如0xffff ffff)的时候,串口会打印:

    44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET DMM_P1 (Idle): Data Access in User mode during Functional access

    上面的相关信息,可以从相关寄存器中读出,但是没有找到那个寄存器可以保存访问出错的内存地址(如0xffff ffff)

  • 没有保存访问出错内存的地址,需要从error message去分析大概是哪里出错,请看下面的帖子。
    e2e.ti.com/.../linux-dra71-l3-custom-error-master-dsp1_mdma-target-dmm_p1-read-data-access-in-user-mode-during-functional-access