There is a bug in the simulator for the STM32F103 family involving the timer slave reset.
I downloaded and compiled AN2592 from www.st.com/.../familiesdocs-110.html using uVision 3 V3.55a.
I am using the capture example, in which Timer 3 is a master and Timer 2 is its slave. Timer 3 is reset on the rising edge of its TI1 input.
The timer count registers seem frozen in the simulator. When I use it in real hardware the problem goes away.
I found a simlar issue, when trying to debug the ADC exempl 2 program from Keil in the uVision simulator.
Found at: C:\Program\Keil\ARM\Examples\ST\STM32F10x\ADC\Example2\adc.uv2
The total uVision application hangs on an instruction that writes the value 0x00000800 to register RCC_APB2RSTR, this should reset timer 1 (TIM1).