This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: Flash API write to a sector

Part Number: MCU-PLUS-SDK-AM243X

Hi,

I want to use the flash api to erase and write to flash sectors. I tried out with the sdk ospi_flash_io example. It seems like I must first erase a block using Flash_eraseBlk  to be able to write to a sector. I tried running the example without erasing the block and Flash_write returned failure flag as a certain timeout occured. Is there any explanatrion for this behaviour?

Thanks in advance.

Best

Belal