cancel
Showing results for 
Search instead for 
Did you mean: 

How to investigate the cause of the Fault Reports.

HMasu.1
Senior

I use STM32MP151CAA3 Cortex-M4 on my custom board.

I got fault report from uVision debugger when __main called in my startup assembler code.

https://www.keil.com/support/man/docs/uv4/uv4_cp_m347_faults.htm

Memory Manage Faults DACCVIOL (Data access violation flag) are checked.

SCB->MMFAR ( Mem Manage Fault Address Register located at memory address 0xE000ED34) shows 0x10060000.

The address is region that Cortex-M4 cannot access, so I'm not accessing that region in my program.

Why above fault report occurs?

How can I investigate the cause of the Fault Reports?

Best Regards.

H. Masuda

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @HMasu.1​ ,

I know there some "tips and tricks" for proper usage of Keil on top of MP1.

Did you get a look to https://www.keil.com/appnotes/files/apnt_319_v1.1.pdf ?

If you don't find solution here, please comment here detailing Keil and ST-Link version.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
HMasu.1
Senior

Hi @Community member​ ,

Thank you for your reply.

I have seen this page, and I have set settings on uVison according to this page.

But I didn't find solution.

The Keil version is as followed.

I'm using ULINK Pro D debugger instead of ST-Link.

μVision V5.28.0.0

Tool Version Numbers:

Toolchain:    MDK-ARM Essential Version: 5.28.0.0

C Compiler:     Armcc.exe    V5.06 update 6 (build 750)

Assembler:     Armasm.exe    V5.06 update 6 (build 750)

Linker/Locator:   ArmLink.exe    V5.06 update 6 (build 750)

Library Manager:  ArmAr.exe    V5.06 update 6 (build 750)

Hex Converter:   FromElf.exe    V5.06 update 6 (build 750)

CPU DLL:        SARMCM3.DLL     V5.28.0.0

Dialog DLL:     TCM.DLL       V1.36.2.0

Target DLL:       ULP2CM3.DLL     V2.211.20.0

Dialog DLL:     TCM.DLL       V1.36.2.0

Best Regards.

H. Masuda