public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001137] New: PCLK2 divisors incorrect
@ 2011-02-01 15:16 bugzilla-daemon
  2011-02-01 16:42 ` [Bug 1001137] " bugzilla-daemon
  2011-02-03 16:45 ` bugzilla-daemon
  0 siblings, 2 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-02-01 15:16 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=1001137

           Summary: PCLK2 divisors incorrect
           Product: eCos
           Version: unknown
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: alan.bowman@datong.co.uk
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


It looks like the #define values for setting up the STM32 PCLK2 have suffered
from copy-n-paste error.  I think this patch should fix things:

diff --git a/packages/hal/cortexm/stm32/var/current/include/var_io.h
b/packages/hal/cortexm/stm32/var/current/include/var_io.h
--- a/packages/hal/cortexm/stm32/var/current/include/var_io.h
+++ b/packages/hal/cortexm/stm32/var/current/include/var_io.h
@@ -169,10 +169,10 @@
 #define CYGHWR_HAL_STM32_RCC_CFGR_PPRE1_8       VALUE_(8,6)
 #define CYGHWR_HAL_STM32_RCC_CFGR_PPRE1_16      VALUE_(8,7)
 #define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_1       VALUE_(11,0)
-#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_2       VALUE_(11,0)
-#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_4       VALUE_(11,0)
-#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_8       VALUE_(11,0)
-#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_16      VALUE_(11,0)
+#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_2       VALUE_(11,4)
+#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_4       VALUE_(11,5)
+#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_8       VALUE_(11,6)
+#define CYGHWR_HAL_STM32_RCC_CFGR_PPRE2_16      VALUE_(11,7)
 #define CYGHWR_HAL_STM32_RCC_CFGR_ADCPRE_2      VALUE_(14,0)
 #define CYGHWR_HAL_STM32_RCC_CFGR_ADCPRE_4      VALUE_(14,1)
 #define CYGHWR_HAL_STM32_RCC_CFGR_ADCPRE_6      VALUE_(14,2)

-- 
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] 5+ messages in thread

* [Bug 1001137] PCLK2 divisors incorrect
  2011-02-01 15:16 [Bug 1001137] New: PCLK2 divisors incorrect bugzilla-daemon
@ 2011-02-01 16:42 ` bugzilla-daemon
  2011-02-03 16:45 ` bugzilla-daemon
  1 sibling, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-02-01 16:42 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=1001137

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecos-patches@ecos.sourcewar
                   |                            |e.org, john@dallaway.org.uk
          Component|HAL                         |Patches and contributions

-- 
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] 5+ messages in thread

* [Bug 1001137] PCLK2 divisors incorrect
  2011-02-01 15:16 [Bug 1001137] New: PCLK2 divisors incorrect bugzilla-daemon
  2011-02-01 16:42 ` [Bug 1001137] " bugzilla-daemon
@ 2011-02-03 16:45 ` bugzilla-daemon
  1 sibling, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-02-03 16:45 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=1001137

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |CURRENTRELEASE
         AssignedTo|unassigned@bugs.ecos.source |john@dallaway.org.uk
                   |ware.org                    |

--- Comment #1 from John Dallaway <john@dallaway.org.uk> 2011-02-03 16:45:17 GMT ---
Alan, thank you for the bug report.

I have checked in your fix (with a ChangeLog).

-- 
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] 5+ messages in thread

* [Bug 1001137] PCLK2 divisors incorrect
  2011-02-01 15:16 [Bug 1001137] New: " bugzilla-daemon
  2011-02-01 16:42 ` [Bug 1001137] " bugzilla-daemon
@ 2011-02-03 16:45 ` bugzilla-daemon
  1 sibling, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-02-03 16:45 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=1001137

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |CURRENTRELEASE
         AssignedTo|unassigned@bugs.ecos.source |john@dallaway.org.uk
                   |ware.org                    |

--- Comment #1 from John Dallaway <john@dallaway.org.uk> 2011-02-03 16:45:17 GMT ---
Alan, thank you for the bug report.

I have checked in your fix (with a ChangeLog).

-- 
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] 5+ messages in thread

* [Bug 1001137] PCLK2 divisors incorrect
  2011-02-01 15:16 [Bug 1001137] New: " bugzilla-daemon
@ 2011-02-01 16:42 ` bugzilla-daemon
  2011-02-03 16:45 ` bugzilla-daemon
  1 sibling, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-02-01 16:42 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=1001137

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecos-patches@ecos.sourcewar
                   |                            |e.org, john@dallaway.org.uk
          Component|HAL                         |Patches and contributions

-- 
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] 5+ messages in thread

end of thread, other threads:[~2011-02-03 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-01 15:16 [Bug 1001137] New: PCLK2 divisors incorrect bugzilla-daemon
2011-02-01 16:42 ` [Bug 1001137] " bugzilla-daemon
2011-02-03 16:45 ` bugzilla-daemon
2011-02-01 15:16 [Bug 1001137] New: " bugzilla-daemon
2011-02-01 16:42 ` [Bug 1001137] " bugzilla-daemon
2011-02-03 16:45 ` 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).