Hi everyone
I'm working on S32K146 with S32DS 3.4 now, but I found some issues about CSEC.
Is there any length limitation of CMAC calculation by Csec_GenerateMacAddrMode?
Can the calculation length be beyond 0x60000?
Length 0x5FFFF, it can work.
Length 0x60000, it can work.
Length 0x60001, it can't work.
But it can work by Csec_GenerateMac.
I will appreciate it if someone can help me to solve those problems.
Best regards.
解決済! 解決策の投稿を見る。
Hi @Keane
yes, there is a limitation:
In case of S32K146, there are two 512KB read partitions in program flash:
So, you just crossed the partition.
Regards,
Lukas
Hi @Keane
When you use the CSEC_DRV_GenerateMACAddrMode function, can you process data of 0x60000 bytes in one call.Has the specific maximum data length been measured?
Best wishes!
Hi @Keane
yes, there is a limitation:
In case of S32K146, there are two 512KB read partitions in program flash:
So, you just crossed the partition.
Regards,
Lukas
Hi Lukas
Thanks for your reply . It really helps me a lot.
Best regards,
Keane