AT91SAM7X - (ARM7TDMI) processor abort status

Discussion in 'Embedded Systems and Microcontrollers' started by dor, Aug 25, 2009.

  1. dor

    Thread Starter Active Member

    Feb 20, 2009
    62
    0
    Often I enters an abort operating mode while the program is running in my AT91SAM7X device.

    I'm using PIT, sometimes with interrupts and sometimes without. Also I'm using USART, with interrupt.

    In the MC_AASR register of the MC embedded peripheral there's written an address that points to an arbitrary location in the memory space. That address isn't pointing on the program code at all.

    I have no idea how to debug this problem. What shall I do?

    The abort exception appears randomly.

    Thank you!

    Best regards,
    Dor.
     
  2. nanovate

    Distinguished Member

    May 7, 2007
    665
    1
    JTAG can be your friend.
    Also check the errata if you firmly believe this is not a software error.
     
  3. dor

    Thread Starter Active Member

    Feb 20, 2009
    62
    0
    I used it but didn't helped as I implied - the value in MC_AASR is of a random & irrelevant address in the memory space. That address contains nothing...

    I'll check for errata, but I don't believe that this is the problem.

    Thank you.

    Edit:

    I read the datasheet and errata is not the case here.
     
    Last edited: Aug 26, 2009
  4. nanovate

    Distinguished Member

    May 7, 2007
    665
    1
    You need to determine the source of the abort. Do you have unused pins you can toggle in different parts of your code?

    What is the value of the MC_ASR? This might offer some clue as to what happened.
     
Loading...