RM57L843: Fapi_doBlankCheckByByte

Part Number: RM57L843

Tool/software:

I don't understand what is a valid way to use Fapi_doBlankCheckByByte() function.

My understanding is that this function enables me safe read if flash location is empty or not. In runtime we want to write some logs and for that we have to determine first empty address. We plan to use Sectors 14 and 15 of Bank 1.

Description of the function says "As the erase state of the Flash is not a valid ECC condition, on Banks 0 - 6 ECC correction at a minimum must be disabled." and I don't know how to do that or is it even possible as we can't disable ECC on this CPU.
Linker file is set to calculate ECC for all other addresses during load, whole flash is 32 bytes aligned so cache doesn't trigger ECC error and ESM Stat2 register is empty, up until we use Fapi_doBlankCheckByByte() function.
Also I have attempted l2ramwREG->RAMCTRL = 0x05050005U; before call of the function.
If you can tell me what I misunderstood about usage of Fapi_doBlankCheckByByte and if possible provide steps how to correctly read empty location during runtime.
BR,
Filip