2021-03-08 06:18 PM
2021-03-08 06:51 PM
flashUnlock();
flashPageErase(0x0800FC00); // 0x0800FC00 is the last page of flash. After the erasing, page on 0x0800E800 is also erased
flashLock();
Futhermore, when I erase 0x8000DC00, 0x0800FC00 is also erased.
It seem's to be a malfunction of the chip.
After I run a CHIP ERASE using ST-LINK, then the problem disappear, the erasing runs normal.
2021-03-08 06:51 PM
flashUnlock();
flashPageErase(0x0800FC00); // 0x0800FC00 is the last page of flash. After the erasing, page on 0x0800E800 is also erased
flashLock();
Futhermore, when I erase 0x8000DC00, 0x0800FC00 is also erased.
It seem's to be a malfunction of the chip.
After I run a CHIP ERASE using ST-LINK, then the problem disappear, the erasing runs normal.