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.

AM5716: exception in "mrc p15, #1, r1, c0, c2, #0"

Part Number: AM5716
Other Parts Discussed in Thread: AM5726

Tool/software:

Hi,

I make a migration from am5726 to am5716.

One board works as expected, while the second crashes immidiately in in c_int00 in mrc instruction.

In both cases image of application is loaded via jtag.

Any idea?

Thanks

Rasty

  • Hello Rasty,

    Is this a custom board? 

    -Josue

  • Yes it is custom board.

    We have 2 identical boards. One behaves better (not 100% OK), second gets exception at the start of MLO.

  • I shared links with you in other thread for some standard ways to debug the MLO. 

    thread: e2e.ti.com/.../5269547

    Can you tell me more about this?

    So far, the details I can gather are:

    • You are using RTOS SDK (release 4.03.05
    • Board with AM5726 works and board with AM5716 does not.
    • Board layout and HW components are all the same, only change is the Processor, is that correct?
    • Did you change your MLO source files to boot AM5716? If so, what changes did you make?

    -Josue

  • Hi

    We took board with am5726 and replaced to am5716.

    I updated pinmux according to CPU type.

    Compared sbl files am572x vs am571x,  no significant differences.

    I managed to boot 2 boards via SBL.

    Once SBL loaded and DDR is setup, I load application with debugger.

    Board #1 works, but not stable, CPU hangs after a while.

    Board #2 , I load application via JTAG, but it crahes almost immidiately in "mrc p15, #1, r1, c0, c2, #0"

    Thanks

    Rasty

  • Hi Rasty,

    First, we would like to remind you that AM5726 and AM5716 are not the same devices, and there are significant differences. One must clearly understand the differences before replacing them with each other.

    Regarding the exception that is seen, it is clear why it is the case. The AM5726 has a 2xA15 core, and the AM5716 has a 1xA15 core. So clearly, the same code that ran on one may not work on the other.

    We suggest reading through the data manual, understanding the changes needed, and doing what is required.

    Thanks.