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.

[FAQ] AM62A7-Q1: How to reset C7x core via CCS?

Part Number: AM62A7-Q1


Hi,

I am trying to do CPU reset for C7x core on AM62Ax device and facing a page fault error.

Below is the error message.

"(Error -1351 - (0:0:0)) Register or Memory request has timed out. The CPU is executing a High Priority Interrupt (typically due to a Double Page Fault). "

Can you please help me to reset the core properly?

  • To properly reset the C7x core via CCS, we need to disable the MMU and invalidate the TLB buffer before reset.

    Below are the steps you can follow to reset the C7x core properly.

    For CCS v12.8.1 (eclipse based CCS)

    1. In the example application, add a MPU region configuration for C7x Reset/Entry point with below shown configuration.
    2. Save & Rebuild the example to apply changes.

    3. Copy the AM62A_C7x_core_reset.gel file at location ${CCS_install_dir}\ccs\ccs_base\emulation\gel\AM62A\AM62A_common.

    4. Add the above GEL file's path to the C7x core initialization script in the target configuration(*.ccxml) file. Refer the image below.
    5. Save the file with above modifications. Verify the change by looking the GEL view.

    6. To open the GEL view, connect to the C7x core and navigate to Tools -> GEL Files. 

    After following the above steps, you should now be able to reset the core without errors.

  • For CCS (Theia/VS code version)

    1. Copy the AM62A_C7x_core_reset.gel file at the location  ${CCS_install_dir}\ccs\ccs_base\emulation\gel\AM62A\AM62A_common.

    2. Add the above GEL file's path to the C7x core initialization script in the target configuration(*.ccxml) file. Refer the image below.

    3. Save the file with above modifications. Verify the change by looking the GEL view.

    4. To open the GEL view, connect to the C7x core and navigate to Tools -> GEL Files. 

    After following the above steps, you should now be able to reset the core without errors.