Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32: async uart tests fail #32005

Closed
shlomow opened this issue Feb 4, 2021 · 2 comments
Closed

stm32: async uart tests fail #32005

shlomow opened this issue Feb 4, 2021 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@shlomow
Copy link
Contributor

shlomow commented Feb 4, 2021

Describe the bug
When running the uart async api on nucleo-l4r5zi they fails with the following:

*** Booting Zephyr OS build v2.5.0-rc2-67-g59365f576e03  ***
Running test suite uart_async_test
===================================================================
START - test_single_read_setup
 PASS - test_single_read_setup
===================================================================
START - test_single_read
 PASS - test_single_read
===================================================================
START - test_chained_read_setup
 PASS - test_chained_read_setup
===================================================================
START - test_chained_read
 PASS - test_chained_read
===================================================================
START - test_double_buffer_setup
 PASS - test_double_buffer_setup
===================================================================
START - test_double_buffer
 PASS - test_double_buffer
===================================================================
START - test_read_abort_setup
 PASS - test_read_abort_setup
===================================================================
START - test_read_abort
 PASS - test_read_abort
===================================================================
START - test_chained_write_setup
 PASS - test_chained_write_setup
===================================================================
START - test_chained_write
E: dma stream 5 is busy.
E: cannot configure the dmamux.
E: dma tx config error!

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/uart/uart_async_api/src/test_uart_async.c:512: test_chained_write: (memcmp(chained_write_tx_bufs[1], rx_buf + 10, 10) not equal to 0)
Buffers not equal
 FAIL - test_chained_write

This can be a bug in the dma driver or in the uart driver.

@shlomow shlomow added the bug The issue is a bug, or the PR is fixing a bug label Feb 4, 2021
@erwango
Copy link
Member

erwango commented Feb 4, 2021

Please check if fixed by #31977

@erwango erwango self-assigned this Feb 4, 2021
@erwango erwango added platform: STM32 ST Micro STM32 priority: low Low impact/importance bug labels Feb 4, 2021
@shlomow
Copy link
Contributor Author

shlomow commented Feb 4, 2021

fixed, thanks!

@shlomow shlomow closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants