This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001697] New: Changing stm32 wallclock RTC clock source doesnot work

Please do not reply to this email. Use the web interface provided at:

           Summary: Changing stm32 wallclock RTC clock source does not
           Product: eCos
           Version: unknown
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Wallclock
             Class: Advice Request

Created an attachment (id=1978)
 --> (
stm32 wallclock driver bugfix

I wanted to change from using LSI as RTC clock source to using HSE/128 as RTC
clock source.

For this I change the eCos configuration CYGHWR_DEVS_WALLCLOCK_STM32_RTC_SOURCE
from "LSI" to "HSE_128" and rebuilt the eCos library.

But I found out that this change was not successful because of two bugs in the
stm32 wallclock driver (stm32_wallclock.cxx)

Bug 1: "Disable backup domain protection" is currently done after "Reset backup
Bug 2: In case of the "HSE_128", backup domain needs to remain write enabled
(i.e. backup domain protection disabled)

I corrected the bug for my environment and here I attach a diff file with a
bugfix for the stm32 wallclock driver.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]