stm32f103 write/erase internal Flash
Posted: Fri Aug 25, 2017 7:48 pm
With this configuration, writing or erase to the internal flash causes an error.
If I resolve the internal and external clock, then everything works.
Question. From which clock does the microprocessor work in this latter case?
External or internal?
Code: Select all
#define STM32_HSI_ENABLED FALSE
#define STM32_LSI_ENABLED FALSE
#define STM32_HSE_ENABLED TRUE
#define STM32_LSE_ENABLED FALSE
If I resolve the internal and external clock, then everything works.
Code: Select all
#define STM32_HSI_ENABLED TRUE
#define STM32_LSI_ENABLED FALSE
#define STM32_HSE_ENABLED TRUE
#define STM32_LSE_ENABLED FALSE
Question. From which clock does the microprocessor work in this latter case?
External or internal?