cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Wrong Flash Address and Got the Hard fault error after hour of Continuous Run.

AGond.2
Associate III

Hello Community,

I got one Stranger Problem, as i was Debugging one Hang Issue there i Got in user Application we are Storing Application Checksum in Flash Address 0x0801FF0 and Accessing and Reading Back from 0x081FFF00.

So in CBIT Test I get Result Pass every time but after 4 hour's Program Counter goes into Hard Fault State and in Stack we got the Issue is Coming from CBIT Function because to Accessing and Reading Back 0x081FFF00 out Bound Address, as we Correct the Address from 0x081FFF00 to 0x0801FF0 so issue got Resolved but my Doubt is why its's took 4 hour's Continuous  run of Software to give hard Fault error to access Wrong Address?

okay as CBIT we are Calling the Function in Every 3 Minutes , so Based on this Around 80 Execution. so Why Micro Controller took 80 Execution to Give Hard Fault Error ? why we Didn't Get Immediate hard Fault error for Accessing Wrong Address why it's took 80 Execution to give hard Fault error and why always it Consistent with 80 Execution not before ?

why CBIT is Always pass with Compute Checksum and Wrong Address store Checksum Value till 80 Execution before going to hard fault error  ? 

but my Most Important Question is why it's Ran till 80 Execution why it didn't give Hard Fault Error in 1-2   Execution for Accessing Wrong Flash Address 0x081FFF00.

Anyone can Explain this Case so i can know more About Error Understanding and Micro Controller Behavior 

0 REPLIES 0