Ok I fix the issue with the ;
Now, no errors while compiling the example sketch but nothing happen when I send a "r" ...
The program seems to get stuck at :
error = SDCARD.writeblock(sector); //write the buffer to this sector on the sd card
I add some debug serial messages to know that ...
I try with or without sd inserted, it's the same : no answer