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.

PROCESSOR-SDK-AM64X: issues on OSPI flash example on EVM using R5 , WRITE does not work

Part Number: PROCESSOR-SDK-AM64X

Hi  everybody ,

I m  on processor_sdk_sitara_am64x_07_02_00_02-windows-x64-installer

 for the example I looked at : C:\ti\psdk_am64x\rtos\pdk_am64x_07_02_01_11\packages\ti\csl\example\ospi

I can not compile it but I assume one of the following drivers in the folder :

C:\ti\psdk_am64x\rtos\pdk_am64x_07_02_01_11\packages\ti\board\src\flash\nor\ospi

Question : coudl you confirm me how to properly import in a porject and compile it ?   I recreated  , maybe something wrong in there ...

what happens is : using R5  inizialization , erase etc  working  but  WRITE is not 

I'm  struggling with the Write process. I tried the following:

  • Using OSPI_OPER_MODE_DAC_XFER option, there is no error , but the data is not written to the FLASH.
  • Using OSPI_OPER_MODE_IND_XFER option, there is no error during the write process but the FLASH state (reading FLASH command 0x65) bit 1 stay in "Write in progress".

any suggestion ?

thank you 

BR

Carlo

  • Hi Carlo,

    Notified the issue to team who may be able to provide suggestions for this OSPI question. 

    Thanks

  • Hi Carlo, 

    To build the ospi_flash_app example, navigate to psdk_am64x\rtos\pdk_am64x_07_02_01_11\packages\ti\build\ and run "make csl_ospi_flash_app CORE=mcu1_0". This will build the example and place all of the binaries within psdk_am64x\rtos\pdk_am64x_07_02_01_11\packages\ti\binary\csl_ospi_flash_app\bin\am64x_evm\

    For debugging the issue that you are seeing with writes, what steps are you using to change the OSPI mode?

    Regards,

    Dillon