The Reference Manual addressed: "This function can be executed from any memory. If it is from the same bank the program is stalled for one Tprog." So I tried to implemente the write from Ram function. The result didn't change great.