AnsweredAssumed Answered

Unable to enable clock for TIMER6 on APB1 - seems write protected

Question asked by benedetto.salvatore on Nov 12, 2011
Latest reply on Nov 12, 2011 by benedetto.salvatore
I'm trying to use TIMER6 of my STM32F103RBT6 based board, but I'm unable to
enable the clock for TIMER6 on APB1.

Based on the RM0008 TIMER6 is on APB1and its enable clock address is at
0x40021000 + 1C. After a bit of trying I figured out with gdb that I just can't write on
it, not matter what. It seems write protected.

(gdb) set {int}0x4002101c = 0xFFFFFFFF
(gdb) x/x 0x4002101c
0x4002101c:     0x1ae64807

TIMER6 enable bit is at bit 4, and it seems I can't enable quite a few more bits.

Does anyone have any idea? Am I missing something?

Thanks in advance.

Outcomes