• Cortex-A7 Timer寄存器访问

    Senyan
    Senyan

    大家好,我在读取Cortex-A7 Timer的Physical Counter Register(CNTPCT)时遇到一个问题。 根据手册这个寄存器是通过CP15进行访问的,CRm=14,op1=0,长度是64bit。

    我的代码是 mcrr p15, 0, r0, r1, c14。然而在执行时却被当作了Undefined Instruction。 在手册里的确提到了Undefined Instruction是MCRR可能的一种结果,但没有具体解释。

    根据手册,在访问这个寄存器之前,已经在monitor…

    • over 4 years ago
    • 中文社区
    • 中文社区论区
  • Asynchrous External Data Abort in ARMv7

    chinatiger
    chinatiger

    hi, experts:

    以Cortex-A7 CPU为例:

    如果在程序执行过程中:发生了一个Asynchrous External Data Abort,它会很快进入Data Abort handler吗?

    (Synchrous Data Abort会立即进入Data Abort handler.)

    不清楚Asynchrous external data abort,什么时候才会进入Data abort handler!

    best wishes,

    • Answered
    • over 6 years ago
    • 中文社区
    • 中文社区论区
  • CA7 MPCore中如何判断Core处于Non-Secure state?

    chinatiger
    chinatiger

    hi, experts:

    以Cortex-A7 MPCore为例:

    如何判断一个Core已经成功切换到Non-Secure state?

    MPCore reset后,通过读取SCR register,可知当前Core处于Secure state.

    执行相关Non-Secure state切换代码后:访问SCR会hang住,这代表切换Non-Secure state成功了吗?

    best wishes,

    • Answered
    • over 6 years ago
    • 中文社区
    • 中文社区论区
  • Cortex-A7's L2 DCache问题

    chinatiger
    chinatiger

    hi, experts:

    CA7 CPU:

    L2 DCache是一个unify type的DCache,并不区分Instruction and Data.

    如果只Enable ICache:那么在预存取Instruction到L1 ICache的过程中,L2 DCache会参与进来吗?

    best wishes,

    • Answered
    • over 6 years ago
    • 中文社区
    • 中文社区论区
  • flush L2 DCache by MVA问题

    chinatiger
    chinatiger

    hi, experts:

    咨询一个flush L2 DCache by MVA问题:

    对于Cortex-A7,它的Cache Line = 64 bytes.

    那么,通过by MVA方式clean cache,它的最小单位就是Cache Line吗?


    例如:

    一个Cache Line有64 bytes,而只有1个byte被更改过,变为dirty了。

    那么flush的时候,是整条cache line都被flush出去吗?


    best wishes,

    • Answered
    • over 6 years ago
    • 中文社区
    • 中文社区论区
  • View related content from anywhere
  • More
  • Cancel