Skip to content

mimxrt1020_evk tests/benchmarks/app_kernel meets Illegal use of the EPSR #13735

@hakehuang

Description

@hakehuang

Describe the bug
Illegal use of the EPSR

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=mimxrt1020_evk ..
  3. make
  4. make flash

Expected behavior
test pass

Impact
kernel not stable

Screenshots or console output

***** Booting Zephyr OS 1.14.0-rc1 *****



|-----------------------------------------------------------------------------|

|          S I M P L E   S E R V I C E    M E A S U R E M E N T S  |  nsec    |

|-----------------------------------------------------------------------------|

|-----------------------------------------------------------------------------|

| enqueue 1 byte msg in FIFO                                       |     24572|

| dequeue 1 byte msg in FIFO                                       |     27601|

| enqueue 4 bytes msg in FIFO                                      |     28055|

| dequeue 4 bytes msg in FIFO                                      |     29564|

***** USAGE FAULT *****

  Illegal use of the EPSR

***** Hardware exception *****

Current thread ID = 0x80000048

Faulting instruction address = 0x0

Fatal fault in thread 0x80000048! Aborting.

| enqueue 1 byte msg in FIFO to a waiting higher priority task     |     25020|

| enqueue 4 bytes in FIFO to a waiting higher priority task        |     27423|

|-----------------------------------------------------------------------------|

| signal semaphore                                                 |     37218|

| signal to waiting high pri task                                  |     36616|

| signal to waiting high pri task, with timeout                    |     38339|

|-----------------------------------------------------------------------------|

/build/src/workspace/zephyr_rt1020_master-5PT4QFTW3BMZG4G3TFXZGVTQKBAW3DDY2RIAS6VDKNXYM2P6YL3Q/tests/benchmarks/app_kernel/src/master.h:187 Error: tick occurred

| average lock and unlock mutex                                    |   1506184|

|-----------------------------------------------------------------------------|

| average alloc and dealloc memory page                            |     10737|

|-----------------------------------------------------------------------------|

/build/src/workspace/zephyr_rt1020_master-5PT4QFTW3BMZG4G3TFXZGVTQKBAW3DDY2RIAS6VDKNXYM2P6YL3Q/tests/benchmarks/app_kernel/src/master.h:187 Error: tick occurred

| average alloc and dealloc memory pool block                      |   1006941|

|-----------------------------------------------------------------------------|

|                M A I L B O X   M E A S U R E M E N T S                      |

|-----------------------------------------------------------------------------|

| Send mailbox message to waiting high priority task and wait                 |

| repeat for  128 times and take the average                                  |

|-----------------------------------------------------------------------------|

|   size(B) |       time/packet (nsec)       |          KB/sec                |

|-----------------------------------------------------------------------------|

Environment (please complete the following information):

  • OS: (Linux)
  • Toolchain ( Zephyr SDK)
  • Commit SHA or Version used: v1.14.0_rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: TestsIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions