This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

New to ARM and having trouble locating example folders - help please ;)

Hello Everyone,

I am new to ARM processors.  I am trying to get a good handle on the low levels aspects of the ARM processor like exception handling.  From searching the ARM website and looking at the data abort handler documentation I am pointed to this part of the website - included below.  I downloaded the latest ARM developer Suite DS-5 v5.22.0 and searched throughout the installation for the example folders explained below, but cannot find them.  Does anybody know where I can download these example folders?

ARM® Developer Suite Developer Guide
1.1.1. Example code The code for many of the examples in this book is located in install_directory\examples. In addition, the examples directory contains example code that is not described in this b...

databort

This directory contains design documentation and example code for a standard data abort handler.

Any help would be appreciated,

Thank you.

Parents Reply Children
  • Hi yasuhikokoumoto,

    You are right, but that is because I didn't actually paste in the vector table from the example startup.s, on accident.  Though, my point is this example assembly for the data abort handler does nothing, but branch to itself.  One minimal thing that should be done is the instruction address that caused the exception should be saved off, so we should expect to see some assembly that saves off the LR register - 8 to RAM.  Another thing that could be saved is the CP15 data fault status register which includes info on whether the access was read or write and the memory domain within which the access was related to.

    This is again why I am looking for the old examples.  These handlers are just stubs.

    The assembly file I am referring to is located in Bare-metal_examples_ARMv7.zip in the path \DS-5Examples\startup_Cortex-A9\startup.s.

    The zip is located at:

    C:\Program Files\DS-5 v5.22.0\examples

    If anyone has a fleshed out example for these types of handlers that has been provided by ARM, please let me know.  I am very interested in obtaining some reference assembly on how to handle these exceptions.

    If not, I'll assume none exist and stop looking for help, and have to use the ARM manual to validate whether vendor provided exception handlers are sufficient.

    Thank you,

    Matt