sorry, it is my fault. Actually, what I want to ask is what's the maximum system clock frequency for STM32F103's FLASH? Because I found there are problems for copy FLASH data to RAM in startup duration since I use high frequency(I use RTOS), but every thing is fun if I use lower system frequency.
sorry, it is my fault. Actually, what I want to ask is what's the maximum system clock frequency for STM32F103's FLASH? Because I found there are problems for copy FLASH data to RAM in startup duration since I use high frequency(I use RTOS), but every thing is fun if I use lower system frequency.
The datasheet and reference manual say how many wait-states you have to insert for FLASH at high frequencies (and different supply-voltages for many stm32).
Are you having problems before hitting "main" in that variables don't get initialised to their specified staring-values?
Normally your development environment would take care of setting the wait-states for a given processor frequency. Do you specify the frequency there, or do you hack the code it generates?