Hi,Daniel
I debug the project, Flash Erasing do not work,so when I program the Flash firstly,it may write value into the address.But it causes error when I write the different value into the same address.
So I check the Flash Driver Project and Bootloader,I find the different about clock.
So I check the clock about Flash, clock reference is 26.67Mhz, I set the wrong value,so I change it.
Now it works.