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

adc_emul: case can only run on native_posix board #35090

Merged
merged 1 commit into from
May 11, 2021

Conversation

hakehuang
Copy link
Collaborator

we meet hardfault when run on real board.
as the device is a virtual device, this

I: adc init done

*** Booting Zephyr OS build zephyr-v2.5.0-3761-g730acbd6ed85 ***

Running test suite adc_basic_test

===================================================================

START - test_adc_emul_single_value

E: ***** BUS FAULT *****

E: Precise data bus error

E: BFAR Address: 0x20002d00

E: NXP MPU error, port 3

E: Mode: User, Data Address: 0x20002d00

E: Type: Read, Master: 0, Regions: 0x8100

E: r0/a1: 0x20002cfc r1/a2: 0x00000000 r2/a3: 0x000005dc

E: r3/a4: 0x00000040 r12/ip: 0x0000c67d r14/lr: 0x00001319

E: xpsr: 0x41000000

E: Faulting instruction address (r15/pc): 0x000045c6

E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0

E: Current thread: 0x200000e0 (unknown)

E: Halting system

Fixes #35027

Signed-off-by: Hake Huang [email protected]

we meet hardfault when run on real board.
as the device is a virtual device

I: adc init done

*** Booting Zephyr OS build zephyr-v2.5.0-3761-g730acbd6ed85  ***

Running test suite adc_basic_test

===================================================================

START - test_adc_emul_single_value

E: ***** BUS FAULT *****

E:   Precise data bus error

E:   BFAR Address: 0x20002d00

E:   NXP MPU error, port 3

E:     Mode: User, Data Address: 0x20002d00

E:     Type: Read, Master: 0, Regions: 0x8100

E: r0/a1:  0x20002cfc  r1/a2:  0x00000000  r2/a3:  0x000005dc

E: r3/a4:  0x00000040 r12/ip:  0x0000c67d r14/lr:  0x00001319

E:  xpsr:  0x41000000

E: Faulting instruction address (r15/pc): 0x000045c6

E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0

E: Current thread: 0x200000e0 (unknown)

E: Halting system

Fixes #35027

Signed-off-by: Hake Huang <[email protected]>
@hakehuang hakehuang requested a review from nashif as a code owner May 11, 2021 07:51
@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label May 11, 2021
@hakehuang hakehuang changed the title adc_emul: case can not run on native_posix board adc_emul: case can only run on native_posix board May 11, 2021
@galak galak added this to the v2.6.0 milestone May 11, 2021
@galak galak added bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 11, 2021
@zephyrbot zephyrbot added the area: ADC Analog-to-Digital Converter (ADC) label May 11, 2021
@zephyrbot zephyrbot requested a review from anangl May 11, 2021 13:16
@galak galak merged commit 53b8706 into zephyrproject-rtos:master May 11, 2021
@dleach02 dleach02 deleted the fix_adc_emul_platform branch July 17, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

frdm_k64f: failed to run testcase tests/drivers/adc/adc_emul/
5 participants