hi !
functions in examples are not exactly the same, but functionality is equal.
I forget to integrate and call the function to update the partitiontable after formatting the sdcard.
So it seems that formatting work now in my case. I only get not the exact same result as the sdformatter utility
regards chris