We are using STM32F101 (100 Pins) microprocessor in a project. The version of uVision is 3.60. In our application, I try to use the Encoder Mode of TIM3. And TIM3_CH1 and TIM3_CH2 have to be remapped to PC6 and PC7, respectively. The command is GPIO_PinRemapConfig(GPIO_FullRemap_TIM3, ENABLE).
The weird thing happened. If you run the Keil's simulator, bring out the Peripheral Forms of TIM3 and GPIOC, and check the checkbox of TIM3_CH1 AND TIM3_CH2 in the Form of TIM3, you will find PIN7(PC7) and PIN8(PC8) are checked in the Form of GPIOC. Also, you can find TIM3_ETR is mapped to PIN6 (PC6).
That means something is wrong.
Another problem: If I call TIM_DeInit(ENCODER_TIMER) in my code, uVision will be crashed when I run the simulator.