This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hardfault issue

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 .

Parents
  • 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 .

Reply
  • 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 .

Children