In K81 we trying to use QSPI flash for XIP mode(Execute-in-place). We followed the steps as per readme.txt. We created the bin file with the configuration of MT25TL512HBA8E12 (qspi_config_block_generation.c). While Configure QuadSPI with Kinetis bootloader we are facing issue.
The steps followed for QSPI configuration and erase are mentioned in the document with error response. Please find the attachment readme.txt and qspi_config_block_generation.c and QSPI_Erase_and_configure_steps.odt files. Kindly inform us is there any configuration error in QuadSPI Config Block(QCB).
It is hard to figure out the problem in qspi_config_block_generation.c. But you can try the LUT in qspi demo first. If it works, then test in qspi_config_block. AN5244 is the application notes of QSPI. You can take a look.