Hi@bjs
Generally, partitioning operation is performed only once in the entire product life cycle, otherwise it will affect the life of the flash
For some limitations or effects of using "Erase All blocks command", you can read the data sheet section 37.5.9.11 Erase All Blocks command

"flash_partitioning_s32k118" can be found on S32 DS, which contains some usage of FTFC, you
can test this routine.