Hi,
I'm working on S32K116.
I have quite understood how to use FTFC to set-up FlexNVM partition for D-Flash and/or E-flash usage.
This is runtime software activities and it require a reset to be affective.
Thank in advance.
Solved! Go to Solution.
Hi Francois,
yes, any reset can be used including SW reset.
There are two options: if your programming tool support this functionality, yes, it can be partitioned at programming time. If not, you can check by your software if the partition is already set and if not, perform the partition. So, it will be done during first startup of the programmed device. Depending on used tools in a factory, you can trigger reset after programming, wait for certain time, so the device is partitioned and then you can turn it off. So, the device will leave the factory as already partitioned.
Regards,
Lukas
Hi Lucas, thank you for these answers.
I have found this link coming from Segger (this is a safe link): https://wiki.segger.com/S32Kxxx
Could you confirm that this is the only way to do the thing at programming time? There is nothing like pragmas or fuse bits which can be preset?
Yes, this is the only way how to do the partitioning. If a programming tool supports the partitioning, it will always execute the partition command as shown on that link.
Regards,
Lukas
Hi,
Thank you for these clarifications.
Regards,
François
Hi Francois,
yes, any reset can be used including SW reset.
There are two options: if your programming tool support this functionality, yes, it can be partitioned at programming time. If not, you can check by your software if the partition is already set and if not, perform the partition. So, it will be done during first startup of the programmed device. Depending on used tools in a factory, you can trigger reset after programming, wait for certain time, so the device is partitioned and then you can turn it off. So, the device will leave the factory as already partitioned.
Regards,
Lukas