This is the mail archive of the
mailing list for the eCos project.
[Bug 1001697] New: Changing stm32 wallclock RTC clock source doesnot work
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Mon, 5 Nov 2012 09:07:15 +0000
- Subject: [Bug 1001697] New: Changing stm32 wallclock RTC clock source doesnot work
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
Summary: Changing stm32 wallclock RTC clock source does not
Platform: stm32e_eval (ST STM3210E EVAL board)
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
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: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.