Hi,
thanks for the example: it gives us some ideas on how to reach the goal!
Your example partitions the data flash at startup (if enabled, right :-) ) but we were looking for a "pre-partitioned" data flash that can be downloaded to the memory during programming time (with elf or s-record to be clear): this way the very first time the CPU is powered up it recognizes the partition code already stored during the downloading phase and then the program partition command will not be necessary.
I know it seems a forcing against the normal operations flow described in the FlexNVM user manual: at now the only one solution found is to download the data on data flash after having it partitioned by the code as you've shown in your example.
Anyway thanks for the support,
regards
agostino