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

Data Abort after 522 seconds

I'm having some trouble with a data abort error.

I'm building a program to simulate the actions of a treadmill, and all is working fine (for now!) up until 522 seconds into the run time when the timer stops counting and the following flags up:

Data Abort: ARM Instruction at 0000092CH, Memory Access at 900499F4H

It seems very odd to me that it will work fine and access everything properly up until this time, as it's managed to cycle 521 times before.

I'm an improving novice so anyone that can help please give answers as though you were trying to teach your grandmother to program.

Parents
  • The big question to ask - except for you to check out the addresses specified in your dump - is: What is your program doing?

    Is it storing any information (load history or similar)?
    Is it keeping time in multiple variables with rolling overflows?
    Is it logging data to any serial port?
    Is it printing using sprintf() and the time might suddenly require one digit extra?
    Does it have enough stack space?
    Do you use any dynamic memory?
    Have you checked every array and pointer you have so that pointers are initialized and no array is accessed out-of-bounds?

Reply
  • The big question to ask - except for you to check out the addresses specified in your dump - is: What is your program doing?

    Is it storing any information (load history or similar)?
    Is it keeping time in multiple variables with rolling overflows?
    Is it logging data to any serial port?
    Is it printing using sprintf() and the time might suddenly require one digit extra?
    Does it have enough stack space?
    Do you use any dynamic memory?
    Have you checked every array and pointer you have so that pointers are initialized and no array is accessed out-of-bounds?

Children
No data