ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Вторник
23 июля
769873 Топик полностью
LightElf (20.07.2017 18:05 - 18:14, просмотров: 75) ответил misyachniy на Старения изолятора плавающего затвора прямо пропорционально количеству электронов прошедших через него. Теоретически надежность будет выше. Практически STM32F103 не разрешает записи в страницу с уже записанным байтом.
У STM32F030 прямо сказано следующее: 
The Flash memory interface preliminarily reads the value at the addressed main Flash memory location and checks that it has been erased. If not, the program operation is skipped and a warning is issued by the PGERR bit in FLASH_SR register. The only exception to this is when 0x0000 is programmed. In this case, the location is correctly programmed to 0x0000 and the PGERR bit is not set.
У STM32F103 сказано то же самое:
FPEC preliminarily reads the value at the addressed main Flash memory location and checks that it has been erased. If not, the program operation is skipped and a warning is issued by the PGERR bit in FLASH_SR register (the only exception to this is when 0x0000 is programmed. In this case, the location is correctly programmed to 0x0000 and the PGERR bit is not set).
У STM32F407 сказано совсем другое:
Note: Successive write operations are possible without the need of an erase operation when changing bits from ‘1’ to ‘0’. Writing ‘1’ requires a Flash memory erase operation.
Не надо делать мне как лучше, оставьте мне как хорошо