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

mec15xxevb_assy6853: tests/boards/mec15xxevb_assy6853/i2c_api/ failed #31817

Closed
s-kelvin opened this issue Feb 1, 2021 · 2 comments
Closed
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@s-kelvin
Copy link
Collaborator

s-kelvin commented Feb 1, 2021

Describe the bug
test_i2c_pca95xx in tests/boards/mec15xxevb_assy6853/i2c_api/ has assertion failure.

To Reproduce
Steps to reproduce the behavior:

  1. west build -b mec15xxevb_assy6853 -p auto tests/boards/mec15xxevb_assy6853/i2c_api/
  2. west flash
  3. See error

Expected behavior
Test suite should pass.

Logs and console output

*** Booting Zephyr OS build v2.5.0-rc1-133-gdfd8e7522d11  ***
Running test suite i2c_test
===================================================================
START - test_i2c_pca95xx
E: Write error: -60

    Assertion failed at WEST_TOPDIR/zephyr/tests/boards/mec15xxevb_assy6853/i2c_api/src/main.c:48: test_i2c_pca95xx: (ret == 0 is false)
Failed to write data to i2c device
 FAIL - test_i2c_pca95xx
===================================================================
Test suite i2c_test failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • Linux Ubuntu 18.04.4 LTS
  • zephyr-v2.5.0-rc1-133-gdfd8e7522d11
  • Toolchain zephyr-sdk-0.12.0
@s-kelvin s-kelvin added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Feb 1, 2021
@chen-png
Copy link
Collaborator

chen-png commented Feb 2, 2021

need to make some jumpers setting to change to use I2C01 port according to the README.txt file in tests/boards/mec15xxevb_assy6853/i2c_api/, this will be passed.

@chen-png
Copy link
Collaborator

chen-png commented Feb 2, 2021

tested after jumper setting according to README.txt file, it was passed.

Booting Zephyr OS build v2.5.0-rc1-191-g8595a390a7b5
Running test suite i2c_test

START - test_i2c_pca95xx
PASS - test_i2c_pca95xx

Test suite i2c_test succeeded

PROJECT EXECUTION SUCCESSFUL

@chen-png chen-png closed this as completed Feb 2, 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 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants