-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
SITSW-6085
-
10.00.00
-
11.02.00
-
Issue:
The erase sector API does not work, it does not erases the mentioned sector number.
You can try this yourself by including this piece of snippet in a code.
Flash_offsetToSectorPage(gFlashHandle[CONFIG_FLASH0], offset, §, &page);
status = Flash_eraseSector(gFlashHandle[CONFIG_FLASH0], sect);
The offset value can be as simple as (0x200000)
Additional Comments:
The API Flash_norOspiEraseSector executes properly with no failure returned, but with DAC enabled, we do not see the values 0xFF. The values seen is 0x00.
NOTE: The offset used here is 0xF80000 to match the offset customer is using for the same NOR Flash part.
![]()
Attached Project: [^ospi_flash_io_am64x-sk_r5fss0-0_nortos_ti-arm-clang.zip]