You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/app-minimal.rst
+70-11Lines changed: 70 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,18 +84,77 @@ The NDK-based Minimal application also contains :ref:`Memory Tester <mem_tester>
84
84
85
85
See the :ref:`Memory Tester <mem_tester>` module documentation for a more detailed description.
86
86
87
-
The example of MI offsets
88
-
*************************
87
+
The application MI offsets
88
+
**************************
89
89
90
-
This example assumes that the Minimal application consists of two subcores and also contains two Memory tester modules.
90
+
In this case, the MI address space for the entire application core is divided between the individual application subcores and the wrapper of the memory testers.
91
+
The whole MI address space is described using DevTree. And its overview can be obtained by reading it from the card using the ``nfb-bus -l`` command.
92
+
For MI offsets of application core see ``/firmware/mi_bus0/application/*`` paths in example output of the command:
91
93
92
94
.. code-block::
93
95
94
-
0x0000000-0x07FFFFF -- APP subcore 0 (registers of DMA channel distribution + reserved space)
95
-
0x0800000-0x0FFFFFF -- APP subcore 1 (registers of DMA channel distribution + reserved space)
96
-
0x1000000-0x17FFFFF -- Memory Tester 0
97
-
0x1800000-0x1FFFFFF -- Memory Tester 1
98
-
99
-
.. note::
100
-
101
-
The final MI address is obtained by summing the base address and the offset. If the base address of the application core is ``0x02000000``, then the final address of APP subcore 1 will be ``0x02000000 + 0x0800000 = 0x02800000``.
0 commit comments