AnsweredAssumed Answered

K82 : FLASH_PflashSetProtection & FLASH_PflashGetProtection

Question asked by Eugene Hiihtaja on Apr 24, 2019
Latest reply on Apr 26, 2019 by Kerry Zhou

Hello !

 

Can it be so that those API is not work properly ?

"

if (config->ftfxConfig[0].flashDesc.feature.hasProtControl)
{
if (config->ftfxConfig[0].flashDesc.feature.ProtRegBits >= 32)
{
*kFPROTL = protectStatus->protl;
if (protectStatus->protl != *kFPROTL)
{
return kStatus_FTFx_CommandFailure;
}
}

"

ProtRegBits need to be set to 32 but no any code in SDK is not exists to do it ? It has value 0 ?

 

It should be set here FLASH_Init(...) but this is not visible.

 

Rregards,

Eugene

Outcomes