Hello, I figured out my problem late last night, it was trusting a HAL driver, there was an error in there, can I delete the question? as not needed anymore
Yeah I unlock and lock the flash before and after, make sure the flash busyflag isnt high, Ive also used the HAL and SPL flash word functions which do all that, and a function I wrote myself which does the above and enable programming bit etc, and al...