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

ruuvi_interface_lis2dh12.c:175 FATAL: SELFTEST #65

Closed
rinat-enikeev opened this issue Jan 21, 2020 · 3 comments
Closed

ruuvi_interface_lis2dh12.c:175 FATAL: SELFTEST #65

rinat-enikeev opened this issue Jan 21, 2020 · 3 comments
Assignees
Labels
Pending Work is complete, waits for merge to master
Milestone

Comments

@rinat-enikeev
Copy link

I've faced the problem with 2 of my RuuviTags - in connected state they were restarting with the

ruuvi_interface_lis2dh12.c:175 FATAL: SELFTEST

error. Re-programming didn't help. Next morning the issue was "fixed". Without any action from my side.

The tag advertised ok, but didn't heartbeat.

@ojousima ojousima self-assigned this Jan 21, 2020
@ojousima ojousima added this to the 3.29.0 milestone Jan 21, 2020
@ojousima
Copy link
Member

The LIS2DH12 lacks a proper soft reset, I've seen some bus related to LIS2DH12 survive reboots and reprogramming tags. I'll start by checking that a failed selftest cleans up the state of LIS2DH12.

@DG12
Copy link
Contributor

DG12 commented Jan 21, 2020

My 06DC (B7.1) tag after reset reports:

Program start
Version: v3.28.13
'mcu_tests':{
'library':{
'peak2peak':{
'valid_data':'pass',
'nan_data':'pass',
'overflow_data':'pass',
'input_validation':'pass',
},
'rms':{
'valid_data':'pass',
'nan_data':'pass',
'overflow_data':'pass',
'input_validation':'pass',
},
'variance':{
'valid_data':'pass',
'nan_data':'pass',
'overflow_data':'pass',
'input_validation':'pass',
},
'total_tests':'15',
'passed_tests':'15'
}
}
FPU Error
Running extended self-tests, this might take a while
test_sensor.c:33 WARNING: NOT_FOUND
test_environmental.c:60 WARNING: SELFTEST
Tests ran: 85, passed: 84
Radio is already in use by other module - beware coexistence issues
app: Setting vector table to bootloader: 0x00075000
app: Setting vector table to main app: 0x00026000
Stored data
Stored data

+++
after next reset :

...
FPU Error
Previous fatal error: **ruuvi_interface_lis2dh12.c:191: SELFTEST**
Running extended self-tests, this might take a while
test_sensor.c:33 WARNING: NOT_FOUND
test_environmental.c:60 WARNING: SELFTEST
Tests ran: 85, passed: 84
Radio is already in use by other module - beware coexistence issues
<info> app: Setting vector table to bootloader: 0x00075000
<info> app: Setting vector table to main app: 0x00026000
Stored data

@ojousima
Copy link
Member

Fixed, marking as pending until merged to master

@ojousima ojousima added the Pending Work is complete, waits for merge to master label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Work is complete, waits for merge to master
Projects
None yet
Development

No branches or pull requests

3 participants