Problem rewriting Macronix flash
Using STM32H7B3I Discovery for program development.
Using stm32h7b3i_discovery_ospi.c thus BSP_OSPI_NOR_*** functions.
Which uses mx25lm51245g.c thus MX25LM51245G_*** functions.
Which uses stm32h7xx_hal_ospi.c thus HAL_OSPI_*** functions.
Can erase reliably calling BSP_OSPI_NOR_Erase_Block.
Can read reliably calling BSP_OSPI_NOR_Read.
Can write once to a particular offset reliably calling BSP_OSPI_NOR_Write.
But cannot rewrite to same offset.
Sometimes data is partly changed, sometimes not changed at all.
Writing 16 bytes of data each time.
Is there something about rewriting data that requires special handling?
