samples: mpu_stack_guard_test: Update console output in README
The fault dump text has changed since this sample was originally written, so update the README accordingly. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
3ef2cc66c0
commit
42c5d519b1
1 changed files with 26 additions and 27 deletions
|
@ -22,7 +22,7 @@ To build the test with the MPU disabled:
|
||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/mpu/mpu_stack_guard_test
|
:zephyr-app: samples/mpu/mpu_stack_guard_test
|
||||||
:board: v2m_beetle
|
:board: frdm_k64f
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
:compact:
|
:compact:
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ To build the test with the MPU enabled and the stack guard feature present:
|
||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/mpu/mpu_stack_guard_test
|
:zephyr-app: samples/mpu/mpu_stack_guard_test
|
||||||
:board: v2m_beetle
|
:board: frdm_k64f
|
||||||
:conf: prj_stack_guard.conf
|
:conf: prj_stack_guard.conf
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
:compact:
|
:compact:
|
||||||
|
@ -42,36 +42,35 @@ With the MPU enabled but the stack guard feature disabled:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
***** BOOTING ZEPHYR OS v1.8.99 - BUILD: Jun 15 2017 23:12:13 *****
|
***** Booting Zephyr OS v1.13.0-rc1-14-gd47fada *****
|
||||||
STACK_ALIGN 4
|
STACK_ALIGN 0x8
|
||||||
MPU STACK GUARD Test
|
MPU STACK GUARD Test
|
||||||
Canary Initial Value = 0xf0cacc1a threads 0x20000b9c
|
Canary Initial Value = 0xf0cacc1a threads 0x20000ff8
|
||||||
Canary = 0xfffffff5 Test not passed.
|
Canary = 0x20000128 Test not passed.
|
||||||
***** MPU FAULT *****
|
***** BUS FAULT *****
|
||||||
Executing thread ID (thread): 0x20000b9c
|
Instruction bus error
|
||||||
Faulting instruction address: 0x80025b0
|
NXP MPU error, port 3
|
||||||
Data Access Violation
|
Mode: Supervisor, Instruction Address: 0x20001030
|
||||||
Address: 0x8000edb
|
Type: Read, Master: 0, Regions: 0x8800
|
||||||
Fatal fault in thread 0x20000b9c! Aborting.
|
***** Hardware exception *****
|
||||||
***** HARD FAULT *****
|
Current thread ID = 0x20000ff8
|
||||||
Fault escalation (see below)
|
Faulting instruction address = 0x20001030
|
||||||
***** MPU FAULT *****
|
Fatal fault in essential thread! Spinning...
|
||||||
Executing thread ID (thread): 0x20000b9c
|
|
||||||
Faulting instruction address: 0x8001db6
|
|
||||||
Data Access Violation
|
|
||||||
Address: 0x8000edb
|
|
||||||
Fatal fault in ISR! Spinning...
|
|
||||||
|
|
||||||
With the MPU enabled and the stack guard feature enabled:
|
With the MPU enabled and the stack guard feature enabled:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
***** BOOTING ZEPHYR OS v1.8.99 - BUILD: Jun 15 2017 23:05:56 *****
|
***** Booting Zephyr OS v1.13.0-rc1-14-gd47fada *****
|
||||||
STACK_ALIGN 20
|
STACK_ALIGN 0x20
|
||||||
MPU STACK GUARD Test
|
MPU STACK GUARD Test
|
||||||
Canary Initial Value = 0xf0cacc1a threads 0x20000be0
|
Canary Initial Value = 0xf0cacc1a threads 0x20001100
|
||||||
***** MPU FAULT *****
|
***** BUS FAULT *****
|
||||||
Executing thread ID (thread): 0x20000be0
|
|
||||||
Faulting instruction address: 0x8001dc2
|
|
||||||
Stacking error
|
Stacking error
|
||||||
Fatal fault in thread 0x20000be0! Aborting.
|
NXP MPU error, port 3
|
||||||
|
Mode: Supervisor, Data Address: 0x200011b0
|
||||||
|
Type: Write, Master: 0, Regions: 0x8400
|
||||||
|
***** Hardware exception *****
|
||||||
|
Current thread ID = 0x20001100
|
||||||
|
Faulting instruction address = 0x0
|
||||||
|
Fatal fault in thread 0x20001100! Aborting.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue