After FLASH_Init which return status 0 and some FLASH_GetProperty which also returns correct values I try execute below which return status 103 :
regPrimask = DisableGlobalIRQ();
statusF = FLASH_Erase(&configF, 0x42000, 4096, key);
EnableGlobalIRQ(regPrimask);
a FLASH registers is as follow : registers.png
after callFtfxRunCommand((FTFx_REG8_ACCESS_TYPE)(&FTFx->FSTAT)); the FTFE-FSTAT became 0xa0 (10100000) which correspond to status 103
Command execution looks like from right place (RAM) :
ame : config->runCmdFuncAddr.commadAddr
Details:536872649
Default:536872649
Decimal:536872649
Hex:0x200006c9
Binary:100000000000000000011011001001
Octal:04000003311
Change in erase address to 40000 or 41000 gives same result
What is wrong?