Hi,
I found similar or related issue in (+) AM2434: OSPI Flash IO erase the sector can not success? - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums in using the EVM.
I adjusted my memory address to 256KB aligned for the moment so I will not run into this problem. However I ran into a different problem and would like to ask if this a limitation of the SDK or a flash issue itself.
After erasing 256KB memory area, I have written to first 4K (ex: offset = 0) of the 256KB area and was successful. However on second iteration of 4K ( offset += 4K), the flash write is failing.
is there any requirement where the write should follow immediately after erase? I have tried to erase the 256KB again and write the offset of the 2nd iteration and it did work for me.
Is there something I need to do before executing a write again?
Any help will be appreciated.
Thanks,
Grace