Other Parts Discussed in Thread: HALCOGEN
Could you describe list of the possible sources for "external" event for the MPU unit in ARM core?
We still have issue with "External" MPU event when CPU is in "user" mode.
With the "system" mode it works fine.
Instruction is simple 32bit read "ldr.w r1, [r3, #456] ; 0x1c8" and r3=0xFF460000
PCR allow full access without limit (for the test, and we check it)
We have MPU region with DRBAR=FF440000 DRSR=00000023 DRACR=00001300, but it cannot be problem because it is "external" signal, not MPU internal fault.
And it fail again and again with DFAR=FF4601C8 DFSR=00001008 (Sync ext./read/SD=1).
There is no reason for this behavior from our point of view.
I found similar issue https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/916063/tms570lc4357-data-abort-exception-after-software-reset/3397709?tisearch=e2e-sitesearch&keymatch=dfsr#3397709
Problem is that this topic was not describe connection between NHET MPU abort and SW_RESET flag on SYSESR register. And this topic is not possible to view fully (missing pictures, missing attachments).
And we don't use HalCoGen sources, but our startup code which clear SW_RESET flag properly.
PS: it is same issue as https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1020988/tms570lc4357-strange-data-abort-triggered-by-reading-n2het1-ram-in-user-level-of-mcu-privileges?tisearch=e2e-sitesearch&keymatch=dfsr#
