Stuck in unknown interrupt

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all!

My at32uc3a1512 halts, because it jumps to an uninitialised interrupt.

8000EE08  rjmp 0x8000ee08

Is there any interrupt jump table? I doesn't found any in the documentation.

regards,
Thomas

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have a look at the Priority and handler addresses for events table in the datasheet. Should be in section 9.4 Exceptions and Interrupts. That table has the offsets for various exceptions. You only need to find out the start of the EVBA in your code, subtract that address and then you can look up the exception in that table.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Puh, this was a realy bad one!!

The address where it jumps to was far away from EVBA, so it had nothing to do with Exceptions.
I let him run into the trap and took the return address from the heap.
So I found the function who caused the problem. And at the end, it was an erroneous access to an array, what took me 3 days.