I'm developing a Flash tool for St72F324(HDFlash). I'm doing the programming in ICP mode but once in a while when I execute the erase routine some areas of the Flash are left with the content 00hex although the status code in RAM(FLASH_ECMD located at FFhex) reports that the erasure was successful.