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.

66AK2G12: Failed to config QSPI FLASH into XIP mode

Part Number: 66AK2G12

Hi TI experts,

I am study 66AK2G QSPI Interface on K2G evm board, I need to config the qspi flash to work in XIP mode.

First I config the qspi interface work in direct map mode and using quard i/o data line, everying works fine and

I can read out the flash data on the remap address(0x24000000).

But When I config the bit ENTER_XIP_MODE_IMM_FLD in QSPI_CONFIG register to 1, the data in the remap

address(0x24000000) changed to a const value 0xCCCCCC00.

The following picture contain the information about qspi register and remap address value, can you help to

figure out the problem?

 

  • Victor,

    This post was incorrectly assigned to the SW expert. From software perspective, we don`t have any QSPI example supporting this mode of operation and the boot ROM on this device does not support XIP mode operation so I will let the HW expert comment on the correct sequence to enable this mode of operation on the device.

    Regards,
    Rahul
  • Rahul,

    Anyway, thank you for your support.

    Regards
    Victor
  • Hi Victor,
    XIP mode is supported in most FLASH devices. However, FLASH manufacturers do not have a consistent standard approach for achieving this. Although the Cypress device does list XIP as a feature, that was never tested on the K2G EVM. I don't know how the device needs to be configured to support XIP. I suggest you contact technical support at Cypress and ask them what configuration is needed for the S25FL512SAGMFI011. I will check with the software team and see if that feature has ever been tried with the EVM.
    Regards, Bill
  • Hello Victor,

    Do you still need more help on this E2E? Were you able to make progress?

    Unfortunately we don't have software examples to demo this but we hope you can make progress with the datasheet and info Bill has provided. Please let us know. Thanks!

    best regards,
    David Zhou