2017-04-19 08:52 AM
I'm using the standard ST libraries and calling FLASH_Unlock
on FLASH->KEYR = FLASH_KEY1;
I get a hard fault.
Using STlink and examining the option bytes there seems to be no protection active only WDG_SW, nRST_STOP and nBFB2.
Is there some form of memory protection that I should be disabling?