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

Nucleo F401: LSE rtc init failure #7497

Closed
0xc0170 opened this issue Jul 12, 2018 · 6 comments
Closed

Nucleo F401: LSE rtc init failure #7497

0xc0170 opened this issue Jul 12, 2018 · 6 comments

Comments

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 12, 2018

Description

Locally reproduced the error we are seeing in CI today:

// 2 commands run to execute the test
mbed test -m NUCLEO_F401RE -t ARM -n tests-mbed_hal-sleep -DMBED_MEM_TRACING_ENABLED=1 -DMBED_HEAP_STATS_ENABLED=1 --compile
mbedgt -n tests-mbed_hal-sleep -v -V

// results

[1531398737.41][CONN][RXD] ++ MbedOS Error Info ++
[1531398737.47][CONN][RXD] Error Status: 0x80FF0100 Code: 256 Module: 255
[1531398737.51][CONN][RXD] Error Message: Fatal Run-time error
[1531398737.53][CONN][RXD] Location: 0x8007A17
[1531398737.54][CONN][RXD] Error Value: 0x0
[1531398737.65][CONN][RXD] Current Thread: Id: 0x20002400 Entry: 0x800A0ED StackSize: 0x1000 StackMem: 0x20001400 SP: 0x20002328
[1531398737.67][CONN][RXD] -- MbedOS Error Info --
[1531398737.71][CONN][RXD] Cannot initialize RTC with LSE

Got F401RE, no changes to master (using e1df16e84 - (HEAD -> master, upstream/master) Merge pull request #7365 from jeromecoutant/PR_RTC_SHADOW (10 hours ago) - latest master

I tested also L476 nucleo board - all passing. From the CI logs, nucleo F401 and F7 are affected. The RTC shadow PR however passed CI (#7365)

@ARMmbed/team-st-mcd Please review

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 12, 2018

At the moment, latest test run that failures are here #7481 (comment).

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 12, 2018

+-------------------+---------------+----------------------+-----------------------------------------------+--------+--------+--------+--------------------+
| target            | platform_name | test suite           | test case                                     | passed | failed | result | elapsed_time (sec) |
+-------------------+---------------+----------------------+-----------------------------------------------+--------+--------+--------+--------------------+
| NUCLEO_F429ZI-ARM | NUCLEO_F429ZI | tests-mbed_hal-sleep | deep-sleep - high-speed clocks are turned off | 1      | 0      | OK     | 0.11               |
| NUCLEO_F429ZI-ARM | NUCLEO_F429ZI | tests-mbed_hal-sleep | deep-sleep - source of wake-up - lp ticker    | 1      | 0      | OK     | 1.0                |
| NUCLEO_F429ZI-ARM | NUCLEO_F429ZI | tests-mbed_hal-sleep | sleep - source of wake-up - us ticker         | 1      | 0      | OK     | 0.07               |
+-------------------+---------------+----------------------+-----------------------------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 3 OK
mbedgt: completed in 17.40 sec

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 12, 2018

#7487 (comment) - latest test result that is green

@ciarmcom
Copy link
Member

ARM Internal Ref: MBOTRIAGE-1214

@jeromecoutant
Copy link
Collaborator

jeromecoutant commented Jul 13, 2018

Hi

I couldn't reproduce the issue...

rm -rf BUILD
git checkout origin/master
mbed test -m NUCLEO_F401RE -t ARM -n tests-mbed_hal-sleep -DMBED_MEM_TRACING_ENABLED=1 -DMBED_HEAP_STATS_ENABLED=1 --compile
mbedgt -n tests-mbed_hal-sleep -v -V

target platform_name test suite test case passed failed result elapsed_time (sec)
NUCLEO_F401RE-ARM NUCLEO_F401RE tests-mbed_hal-sleep deep-sleep - high-speed clocks are turned off 1 0 OK 0.12
NUCLEO_F401RE-ARM NUCLEO_F401RE tests-mbed_hal-sleep deep-sleep - source of wake-up - lp ticker 1 0 OK 1.01
NUCLEO_F401RE-ARM NUCLEO_F401RE tests-mbed_hal-sleep sleep - source of wake-up - us ticker 1 0 OK 0.06

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jul 18, 2018

As targets in CI do not neither , I am closing this.

@jeromecoutant Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants