Skip to content

tests: tests/drivers/dma/loop_transfer: mimxrt595_evk/mimxrt595s/cm33: failed: Timeout #91670

@hakehuang

Description

@hakehuang

Describe the bug
below case are failed
drivers.dma.loop_transfer.dma_m2m_loop.tst_dma0_m2m_loop_repeated_start_stop

test is failed on v4.1.0-5871-gea2990702f67 on mimxrt595_evk/mimxrt595s/cm33
testcase path is tests/drivers/dma/loop_transfer

git bisect found this issue is introduced by

eeaf860 is the first bad commit

commit eeaf860dfabfc90ccba92db229cb46241139c5be
Author: Vit Stanicek <vit.stanicek@nxp.com>
Date:   Tue Jun 18 12:28:24 2024 +0200

    dma_mcux_lpc: add host directions, DMA driver ctx, getter func

    Add support for HOST_TO_MEMORY, MEMORY_TO_HOST directions (aliases of
    MEMORY_TO_MEMORY). Implement dma_mcux_lpc_get_attribute function. Fix
    missing DMA driver context.

    Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>

 drivers/dma/dma_mcux_lpc.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

see logs for details

To Reproduce
1.

scripts/twister -p mimxrt595_evk/mimxrt595s/cm33  -T tests/drivers/dma/loop_transfer

or

# west twister -p mimxrt595_evk/mimxrt595s/cm33 -T tests/drivers/dma/loop_transfer --sub-test tests/drivers/dma/loop_transfer
  1. See error
Timeout

Expected behavior
test pass

Impact

Logs and console output

*** Booting Zephyr OS build v4.1.0-5871-gea2990702f67 ***
Running TESTSUITE dma_m2m_loop
===================================================================
START - test_tst_dma0_m2m_loop
DMA memory to memory transfer started
Preparing DMA Controller: dma-controller@104000
Starting the transfer on channel 0 and waiting for 1 second
Each RX buffer should contain the full TX buffer string.
RX data Loop 0
RX data Loop 1
RX data Loop 2
RX data Loop 3
Finished DMA: dma-controller@104000
 PASS - test_tst_dma0_m2m_loop in 0.281 seconds
===================================================================
START - test_tst_dma0_m2m_loop_repeated_start_stop
DMA memory to memory transfer started
Preparing DMA Controller
Starting the transfer on channel 1 and waiting for 1 second
E: ***** BUS FAULT *****
E:   Precise data bus error
E:   BFAR Address: 0x3ff5007
E: r0/a1:  0x3018bf80  r1/a2:  0x3018bf80  r2/a3:  0x30189d9f
E: r3/a4:  0x03ff5003 r12/ip:  0x3018c8e8 r14/lr:  0x1800796f
E:  xpsr:  0x81000000
E: Faulting instruction address (r15/pc): 0x1800a42e
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x3018bf80 (!P050)
E: Halting system


Environment (please complete the following information):

  • OS: (e.g. Linux ): posix
  • Toolchain (e.g Zephyr SDK): zephyr
  • Commit SHA or Version used: v4.1.0-5871-gea2990702f67

Metadata

Metadata

Assignees

Labels

area: TestsIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions