Sitara Support Team,
My customer is facing a problem with a custom board with an AM4372.
Please answer questions A, B in the following detailed status report.
1) Defects
-CPU exceptions occur irregularly. (from 30s to 30s after startup if it is short)
-Checking with JTAG-ICE when a CPU exception occurs,
we found that the code area of the program deployed in RAM (DDR3) was unintentionally rewritten.
Even if the area is set to ReadOnly in the MMU, the contents of the RAM will be rewritten.
→ It has been confirmed that a Permission Fail exception occurs
when a program intentionally rewrites the area set as Read Only, and the content is not rewritten.
He disabled Master (TPTC(EDMA), USB, etc.) other than MPU,
but I confirmed with ICE that the contents of RAM were rewritten.
After changing the timing of the EMIF (see (4) below), the symptoms no longer occur.
(2) Configuration
Product name; Model (Manufacturer)
CPU;AM4372BZDNA60 (TI)
DDR3-SDRAM; IS43TR16128C-125K (ISSI ) Remarks:400MHz, used in 1pcs
(3) EMIF register setting value
It was set up with reference to EMIF_CONFIGURATION_TOOL_e2e201207.xlsx.
*The file will be attached later.
(4) Findings at this stage on EMIF
"For the parameters to be set in Step2-DDR Timing of EMIF_CONFIGURATION_TOOL,"
After changing the Final Bit Value of all items in the attachment settings to +1tCK,
the above frequently occurring problematic symptoms are no longer observed.
The DDR compliance test: We only measured the address line A (0),
but he confirmed that it is PASSED with step 1 and step 3 settings.
(5) Questions
A. If you know of any possible causes of this bug, workarounds,
or cases where similar symptoms have occurred, please let me know.
B.About EMIF registers
If you have any status registers that can be used for debugging this case,
please let me know how to use them as well.
Also, if there are any other bits in the attached file that need to be set up and changed, please let me know.
Best regards,
Kanae