I have been trying to configure flash Driver using Ebtresos. I have not been able to understand how the cluster division takes place for block configuration. How is the memory utilized for the same?
Is the memory getting reserved for immediate data even when the legacy mode is false. If yes, how is its size defined?
the MCAL package i am using is AUTOSAR 4.3 SMCAL RTM 1.0.1 release for the S32K14X platform.
Yes About Fee, How is a the maximum size of block defined based on number of clusters. and for the legacy mode, is memory reserved either way for immediate block because i have not been able to use all the memory for a block.
Hello Shreya_Dave,
I would like to answer your question:
if
we have two block
we have two cluster
so the:
As far as I know, the condition for legacy mode in the AUTOSAR 4.3 SMCAL RTM 1.0.1 is:
So in this case, it will be:
From what I know, you have created a similar ticket(313450) for this case.
Best regards,
Hung.
Thanks I understood the calculation. But what is the necessity of atleast two Clusters in the cluster group and how do they exactly work?
Hello @Shreya_Dave
The algorithm of Fee require atleast two clusters. It is used for "Cluster swap". Please see chapter "3.6.5 Cluster swap" in the Fee_UM for more information.
Best regards,
Hung.
Hello Shreya_Dave,
1. Could you please explain more about these above questions.
2. Are you using MCAL package from NXP ? If yes, could you please share the name of the MCAL package.
3. As far as I know, the Fls MCAL driver will configure flash as sector but not block or cluster. I also cannot find the legacy mode(I doubt that you are talking about Fee but I am not sure).
Best regards,
Hung.