Dear Community,
we implemented the fee driver software version 1.19.4 (fee version 3.0.2) in our project for RM44L920 and configured it as follows:
We want to use two EEPs and for each EEP we have only one block (block size 97 and 128). The first EEP should use 14 out of 16 virtual sectors. The second EEP should use only the last 2 virtual sectors. Each virtual sector is mapped to one flash sector.
Question 1: Why do I have to select flash bank 1 for virtual sector 5?
It seems like the fee driver is not using 14 but just 2 virtual sectors for both EEPs. While debugging, I stepped over this code sequence found in several places:
if(0U == u8EEPIndex) { u16Index=0U; u16Index1= (uint16)(TI_FEE_NUMBER_OF_VIRTUAL_SECTORS - TI_FEE_NUMBER_OF_VIRTUAL_SECTORS_EEP1); } else { u16Index = TI_FEE_NUMBER_OF_VIRTUAL_SECTORS_EEP1; u16Index1 = TI_FEE_NUMBER_OF_VIRTUAL_SECTORS; } while(u16Index < u16Index1) { /* do stuff */ }
Question 2: How should I configure the fee driver to get the desired behaviour?