Closed rellermeyer closed 4 years ago
This seems like it would help for anyone working on this. Part 2 in particular
http://www.state-machine.com/arm/Building_bare-metal_ARM_with_GNU.pdf
EDIT: After reading this for way to many hours, I realized that most of this is done for us by u-boot :(
Does anyone know how to set the branch instructions in the exception vector table so that they branch to our exception handlers when we write them?
ARM has an example here http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/CHDHCEDC.html but I can't really make sense of it. I also don't know what a scatter file is.
I think the last reference does not apply because it is for a Cortex ARM (those are different animals).
You might get some inspiration from this slide deck: http://www.cs.ucr.edu/~amitra/context_switch/extra/04_swi.ppt
We set up exception handlers at address 0xfff00000
(High vectors). Working like a charm. Closing
We need an exception handler set up.