Posted on May 17, 2011 at 13:02It sounds like you need to tell your linker file its got to put the initialised data in flash, then in your startup.c you need to copy that data accross to ram where it belongs. for example my linker has this: _etext ...
Posted on May 17, 2011 at 13:01If you're clearing the TIMx->SR then i'm not sure, Can you post your register settings Just before you enable it?: TIMx->CR1 TIMx->CR2 TIMx->SR TIMx->DIER TIMx->ARR TIMx->CCR1..4 You're not setting the TIMx->EGR at all...
Posted on May 17, 2011 at 13:00Can you Tell us the Values of GPIOB->ODR (Bit 0 Should be 1 - to insure theres a pull up) GPIOB->CRL Last 4 Bits should be 1000 (for input pull up) (I suspect you have 1001 which is wrong) EXTI->IMR and EXTI->EMR For B...