Skip to content

Commit

Permalink
doc: sample: mpu Update documentation
Browse files Browse the repository at this point in the history
Update documentation to new shell commands.

Signed-off-by: Aaron Tsui <aaron.tsui@outlook.com>
  • Loading branch information
overheat authored and nashif committed Apr 18, 2019
1 parent ab712b2 commit 18b5158
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions samples/mpu/mpu_test/README.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ This project can be built and executed as follows:
:goals: build flash :goals: build flash
:compact: :compact:


Reset the board and you should be able to see on the corresponding
Serial Port the following message:

.. code-block:: console
***** BOOTING ZEPHYR OS v1.7.99 - BUILD: Mar 9 2017 13:01:59 *****
*** MPU test options ***
1 - Read a reserved address in the memory map
2 - Write in to boot FLASH/ROM
3 - Run code located in RAM
Select an option:
To build the single thread version, use the supplied configuration file for To build the single thread version, use the supplied configuration file for
single thread: :file:`prj_single.conf`: single thread: :file:`prj_single.conf`:


Expand All @@ -57,12 +45,11 @@ Sample Output


.. code-block:: console .. code-block:: console
***** BOOTING ZEPHYR OS v1.7.99 - BUILD: May 12 2017 09:47:02 ***** uart:~$ mpu read
shell> select mpu_test ***** BUS FAULT *****
mpu_test> read Precise data bus error
***** BUS FAULT ***** BFAR Address: 0x24000000
Executing thread ID (thread): 0x200003b8 ***** Hardware exception *****
Faulting instruction address: 0x290 Current thread ID = 0x20000400
Precise data bus error Faulting instruction address = 0x80004a8
Address: 0x24000000 Fatal fault in thread 0x20000400! Aborting.
Fatal fault in thread 0x200003b8! Aborting.

0 comments on commit 18b5158

Please sign in to comment.