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