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.

AM2434: AM2434

Part Number: AM2434


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

  • Update:
    The 256KB section i was writing in above issue is at the top part of the flash. I am trying to  locate the CFRN3 settings for the sector mapping of the flash chip as per the datasheet, but I couldn't find the memory mapped address of the external flash registers? Can someone help me point to it?

    another updatte:

    Found the hook for the quirk function, my issue is resolved and confirmed that it is setup for uniformed sector of 256KB architecture.