This paper is intended for deeper understanding of ARM processor memory read write operations. We assume reader has prior knowledge of ARM internals, Assembly Language, VHDL/Verilog, Linux Device Drivers and C programming knowledge. We are taking MINI2440 ARM9 board from FriendlyARM for this purpose. For understanding how ARM CPU reads or writes to system bus we need a peripheral device. We are taking Altera FPGA board to construct a miniature peripheral device.

arm-fpga-interfacing

This is a low cost experiment as MINI2440 ARM board comes under $80-95 and Pluto FPGA board comes under $30. This experiment is not limited to these boards. Reader can take any ARM development boards at their convenience and do this same exeperiment. In that case reader has to identify corrsponding matching data, address and control lines of of the board and can go ahead with this experiment.

arm-fpga-interfacing

We have divided this tutorial into these sub topics.

  1. Altera FPGA interfacing ARM,
  2. ARM CPU internals,
  3. ARM Cache Memory and MMU,
  4. ARM bus hierarchy,
  5. ARM data address and control lines,
  6. ARM MMIO read,
  7. ARM MMIO write,
  8. FPGA interfacing with system bus,
  9. VHDL/Verilog program,
  10. ADS C Code,
  11. Linux Direct MMIO App,
  12. Linux Device Driver,
  13. Linux Application code
  14. Final Demo

#