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

test: ipc: Test from samples/subsys/ipc/rpmsg_service fails on nrf5340dk_nrf5340_cpuapp #31616

Closed
PerMac opened this issue Jan 26, 2021 · 4 comments · Fixed by #31997
Closed
Assignees
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@PerMac
Copy link
Member

PerMac commented Jan 26, 2021

Describe the bug
The test from the title fails on nrf53_cpuapp. The sample is started and hangs after printing:
DEVICE: RPMsg Service [master] demo started

To Reproduce
Steps to reproduce the behavior:

  1. Have nrf5340dk connected
  2. call /scripts/twister --device-testing -T samples/subsys/ipc/rpmsg_service/ -p nrf5340dk_nrf5340_cpuapp --device-serial /dev/ttyACM2 -v -v
  3. See error

Expected behavior
The test passes

Impact
Not clear

Logs and console output

DEBUG   - DEVICE: *** Booting Zephyr OS build v2.5.0-rc1-16-g085d2eda8d2b  ***
DEBUG   - DEVICE: Starting application thread!
DEBUG   - DEVICE: 
DEBUG   - DEVICE: RPMsg Service [master] demo started

and then hangs

Environment (please complete the following information):

  • OS: Ubuntu 18.04
  • Toolchain Zephyr SDK
  • Commit SHA or Version used: v2.5.0-rc1-16-g085d2eda8d2b
@PerMac PerMac added bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx area: Tests Issues related to a particular existing or missing test labels Jan 26, 2021
@nashif nashif added the priority: low Low impact/importance bug label Jan 26, 2021
@ioannisg
Copy link
Member

ioannisg commented Feb 3, 2021

will take a look

@ioannisg
Copy link
Member

ioannisg commented Feb 4, 2021

@PerMac I am not sure this is a bug. For the sample to work one needs to flash the two cores (master and remote), I guess, separately. West build takes care of building both executables, but the images needs to be flashed individually.

@KeremSAR
Copy link

KeremSAR commented Apr 6, 2023

I have the same issue, It hangs there for both remote and master application.
while (!rpmsg_service_endpoint_is_bound(ep_id)) { k_sleep(K_MSEC(1)); }
I flashed the images individually for nrf5340 cores. What could be the issue ?

@pauleffect90
Copy link

Same issue. @KeremSAR. Did you manage to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants