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.

CCS/66AK2G12: accessing the QSPI memory is not working properly

Part Number:

Tool/software: Code Composer Studio

We use the evaluation board EVMK2G and there is issue when the write to the QSPI.

When executed in the following function order, it does not return to the calling Board_flashWrite ( Step7 ) function.

Please tell the right order to calling the Board_flashWrite function and the cause of issue. 

Step1. Board_flashOpen
Step2. Board_flashEraseBlk 
Step3. Board_flashWrite 
Step4. Board_flashClose
Step5. Board_flashOpen
Step6. Board_flashEraseBlk 
Step7. Board_flashWrite (Issue happen)

Calling the functions in the following order works correctly.

Step1. Board_flashOpen
Step2. Board_flashRead
Step3. Board_flashClose
Step4. Board_flashOpen
Step5. Board_flashEraseBlk
Step6. Board_flashWrite
this case we are facing in all the sectors.
Best regards.
  • Selva,

    If you don`t mind, can you please post your code in the non-working sequence here. I will try to set this up at my end and try to reproduce the issue. Can you also please indicate why do you need to close and re-open the flash handle in this case? Also, the sequence in which API needs to be called is dictated by the flash data sheet For example: most QSPI flash require a erase prior to write. Other than calling flash open first (required for flash detection and understanding flash layout), there is no hard requirements from board flash library to call into these APIs.

    Regards,

    Rahul