AT91SAM7X PABT/DABT Handler

OP #1172265
Rate this post
• ▲ useful
▼ not useful
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
Rate this post
• ▲ useful
▼ not useful
> 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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.