Can't set Option Byte with the attached function for the Micro STM32L151CBT6A Only when the controller is new from factory. If we erase and reset the option bytes the STM32 afterwards new flashing it works.
void init_OptionByte (void){ FLASH->SR |= FLASH_SR_WRPERR ; // l�sche bestehende Fehler FLASH->SR |= FLASH_SR_PGAERR ; // l�sche bestehende Fehler FLASH->SR |= FLASH_SR_SIZERR ; // l�sche bestehende Fehler FLASH->SR |= FLASH_S...