I am facing a hardfault issue . I have debugged from software perspective . My observation is I am trying to reproduce this issue n many devices but I am facing this issue in 2 out of 10 boards and hence I am suspecting the hardware . What may be the hardware reasons for hardfault .
Hi,
In order to assist with a response to your question, please could you provide more information surrounding the circumstances in which you came across the hardfault issue? Could you also confirm how this issue could be reproduced?
I also believe that this question may be best placed to be within the 'Processors' community page. If you agree, please let me know and I can have this moved and hopefully you will get a quick response to your question.
Kind Regards,
Ryan Thomas
We are using STM32F429 . Application is written in c and without any OS . Hardfault is happening very rarely . I can say If i run for two day 2 times it s hitting . AFter seeing all fault registers I can see Bus fault is escalated to hardfault . I have run around 12 device for more that 2 days . Out of which it is happening in 2 device . In these 2 devices it is happening very frequently .
I want to Know if CPU hang then it will result in hardfault . This may be because of noise in power bridge or Bus noise .
I am not able to conclude this is software issue . Because I checked SP , LR , PC all looks ok . Whatever call stack is throwing I don't see any problem there .
I have moved this query to the 'Processors' community in order to try and help get your issue resolved.
Kind Regards
Ryan
Hi there,
You need to look at the fault status registers to see what caused the HardFault. One of the Keil application notes has got some introduction to fault status registers:
http://www.keil.com/appnotes/docs/apnt_209.asp
regards,
Joseph