Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

5.5.  Test Program to Run on the Or1ksim

5.5.1. The Utility Functions
5.5.2. Memory Mapped Data Structure
5.5.3. Checking Write Access
5.5.4. Checking Read Access
5.5.5. Program Compilation

The test program in progs-or32/logger-test.c defines a memory mapped volatile data structure and then writes to and reads from each element of that structure.

The source code for the logger test program may be found in progs-or32/logger-test.c in the distribution. It uses the utility functions (progs-or32/utils.c and progs-or32/utils.h) and the bootloader (progs-or32/start.s).

Embecosm divider strip