AnsweredAssumed Answered

Change FlexRam size

Question asked by Oliver Schmid on Sep 13, 2016
Latest reply on Sep 18, 2016 by Hui_Ma

Hi. I am using the MK22FX512VLH12 and the FLEXRam feature.

I am initialize the size with DEFlashPartition function. EEEDataSizeCode is 0x37 for 64B and 64B and DEPartitionCode is 0x08 for full eeprom. When I am starting the MK22 the first time, I get the Code 0x00 from the DEFlashPartition function.

But after the first start I get an ACCERR from the DEFlashPartition function.

When I am erase the full chip of the MK22 and start the software, I get the Code 0x00 from the function but after the first start always an ACCERR. Why I get this error has anybody an idea? Can I change the size of FlexRam without erase the full chip?