From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2863 invoked by alias); 5 Nov 2012 09:07:25 -0000 Received: (qmail 2841 invoked by uid 22791); 5 Nov 2012 09:07:24 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Nov 2012 09:07:18 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id B58E92FF0007 for ; Mon, 5 Nov 2012 09:07:17 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1GS4oKZ8mAgZ; Mon, 5 Nov 2012 09:07:16 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001697] New: Changing stm32 wallclock RTC clock source does not work X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Wallclock X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: pme.neratec@gmx.ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 05 Nov 2012 09:07:00 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2012/txt/msg01326.txt.bz2 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.