-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
area: KernelbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Reported by Sharron LIU:
Configuration
arm, arc
Arduino 101, Arduino Due
nano
zephyr-kernel-1.1.0-160324-ca662c1
Bug detailed description
Nanokernel object timer is never expired, when invoked from ISR:
nano_timer_start()
nano_timer_test()
Refer to line #67 #68 in "src/main.c" from attached test cases.
NOTE: The issue is observed @arc and @arm, not observed @x86.
NOTE: If comment out above two lines, the test case passed.
Testcase to Reproduce
Attached "test_bat.tgz"
Steps to Reproduce
- cd zephyr
source zephyr-env.sh - download and untar attached test cases "test_bat.tgz"
zephyr$ tar -zxvf test_bat.tgz - cd test_bat
@arc: make pristine;make BOARD=arduino_101_sss ARCH=arc flash
@arm: make pristine;make BOARD=arduino_due ARCH=arm;bossac --port=ttyACM0 -e -w -v -b outdir/zephyr.bin - verify from UART output test hang at "nano_timer: isr"
Expected Result
UART output:
tc_start()
...
ROJECT EXECUTION SUCCESSFUL
Actual Result
test hang at "nano_timer: isr".
then 20s later board reset (watchdog?).
User Impact
nano_timer not function.
(Imported from Jira ZEP-147)
Metadata
Metadata
Assignees
Labels
area: KernelbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug