EmbDev.net

Forum: ARM programming with GCC/GNU tools AT91SAM7X PABT/DABT Handler


Author: Andy Kunz (andykunz)
Posted on:

Rate this post
0 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

Author: Jonathan Dumaresq (dumarjo)
Posted on:

Rate this post
0 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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.