Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10
  • firmware
  • Issues
  • #216

Closed
Open
Created Oct 22, 2020 by schneider@schneiderOwner

BHI accleration sensor sometimes does not send updates

I've modified menu.py and g-watch/_init.py a bit:

  • Reduce timeout in menu.py to 3 seconds
  • Exit g-watch once a sample from the accelerometer comes in

This puts the card10 into a loop where it repeatedly starts the g-watch. After a few hours it stops doing so because the g-watch does not receive new sensor data anymore.

Backtrace:

(gdb) task_backtrace bhi160_task_id
FPU is off
#0  0x10023f30 in vPortExitCritical () at ../lib/./FreeRTOS/./Source/portable/GCC/ARM_CM4F/portmacro.h:229
#1  0x100234de in ulTaskNotifyTake (xClearCountOnExit=536920208, xClearCountOnExit@entry=1, xTicksToWait=536920196, xTicksToWait@entry=2000) at ../lib/FreeRTOS/Source/tasks.c:4599
#2  0x100114bc in vBhi160Task (pvParameters=<optimized out>) at ../epicardium/modules/bhi.c:530
#3  0x10023e20 in ?? () at ../lib/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:703
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Assignee
Assign to
Time tracking