I just run across a bug when trying to program the flash.You have to write two 32bit values for programming the flash. But if the first value is 0xFFFFFFFF it does not matter what the second value is. In the end there will always be written 0xFFFFFFF...
I wanted to use the flash fast programming, but it does not work. If I use the normal flash programming it is working as indended.The procedure is that I unlock the flash, erase a 2KB page and then want to fast program that page with this code: ...
Posted on March 05, 2018 at 15:19
I have Nucleo-144 Board with a STM32L496ZG and use it for evaluation if the MCU will work for us. But I´m stuck with the CAN initialization.
I have the following init code:
// CAN clock
LL_APB1_GRP1_EnableC...
The function does run from RAM as I want to write to the flash and ptrRead points to a 64bit aligned buffer where the data is.As the normal function which only writes 64bit at once is working and this is the only difference to this function I don´t k...
I changed the code so that really 2 32bit values are written, but after the first 32bit value was written I get an error. I even disabled the data cache, but this does not help either.FLASH->SR has the value 0x82, meaning PGSERR and OPERR are set.FLA...