public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001697] New: Changing stm32 wallclock RTC clock source does not work
@ 2012-11-05  9:07 bugzilla-daemon
  2012-11-05  9:08 ` [Bug 1001697] " bugzilla-daemon
  0 siblings, 1 reply; 3+ messages in thread
From: bugzilla-daemon @ 2012-11-05  9:07 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001697

           Summary: Changing stm32 wallclock RTC clock source does not
                    work
           Product: eCos
           Version: unknown
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Wallclock
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: pme.neratec@gmx.ch
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1978)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?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
domain"
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 the assignee for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1001697] Changing stm32 wallclock RTC clock source does not work
  2012-11-05  9:07 [Bug 1001697] New: Changing stm32 wallclock RTC clock source does not work bugzilla-daemon
@ 2012-11-05  9:08 ` bugzilla-daemon
  0 siblings, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2012-11-05  9:08 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001697

Phil <pme.neratec@gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|low                         |high

--- Comment #1 from Phil <pme.neratec@gmx.ch> 2012-11-05 09:07:59 GMT ---
I see this as a major bug!

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 1001697] New: Changing stm32 wallclock RTC clock source does not work
@ 2012-11-05  9:07 bugzilla-daemon
  0 siblings, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2012-11-05  9:07 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001697

           Summary: Changing stm32 wallclock RTC clock source does not
                    work
           Product: eCos
           Version: unknown
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Wallclock
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: pme.neratec@gmx.ch
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1978)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?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
domain"
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-05  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-05  9:07 [Bug 1001697] New: Changing stm32 wallclock RTC clock source does not work bugzilla-daemon
2012-11-05  9:08 ` [Bug 1001697] " bugzilla-daemon
  -- strict thread matches above, loose matches on Subject: below --
2012-11-05  9:07 [Bug 1001697] New: " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).