AT91SAM7X PABT/DABT Handler

OP #1172265
I am in the process of writing a handler for PABT and DABT handling.
Most of the work is already in C (I'll post it here when done).  I am
seeing data aborts and would like to know where things are going wrong.
Processor aborts occur sometimes too, though much less frequently.

I haven't found a reference for a couple items, and was hoping somebody
here might know the answers or at least where to find them.

I need to know
a) What are in each of the various ARM registers when DABT/PABT is
invoked?
b) How can I copy these registers into specific RAM addresses?

Thanks in advance.

Andy
#1172266
> I need to know
> a) What are in each of the various ARM registers when DABT/PABT is
> invoked?

the most important one is the link register. It tell you from where is
your probrlem. (adress in flash) for the rest i don't know very much.

> b) How can I copy these registers into specific RAM addresses?

if you know the base adress of the register, i think you can juste have
a pointer on it and copy it ? but if you don't want t o use stack (to
move SP), you can put the pointer "register" to not use ram. But i'm not
sure of anything here, i just speculate.

Jonathan

Reply

A question of your own? This thread is over 19 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.