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.
Part Number: DRA829V
My customers needs to make their own application XIP with Cypress OSPI.
They have successfully ran the XIP demo on J7 EVM, and want to achieve XIP on customer board with Cypress OSPI. They want to know when and how to configure Cypress OSPI to make it work in XIP mode.
It would be appreciated if more introduction about boot flow in XIP mode provided, along with corresponding programming guide.
I am working on creating an XIP training video, I understand that there might not be much collateral around that.
You can directly access the training when it is out, it is planned for June. In the meantime I can support you on this thread.
For the controller side, you need not worry much as the CUST SBL in the SDK will take care of that. What we need to do is make out application in such a way that it can be executed in place from the flash. For that you need to first get the application working in the normal store and download mode i.e. with MMCSD SBL etc. So once you have a working application I can help you with what needs to happen in terms of memory map, cache settings etc needed to run in XIP.
Do you have a working reference example and can we start modifying it?
Also, is you application RTOS based or baremetal?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Karan Saxena:
The training video would be wonderful!
Is there any modification needed in CUST SBL if using other OSPI Flash instead of Micron on EVM?
In reply to Fan_Zhang:
As far as CUST SBL is concerned, there should not be any modifications needed I believe. There could be some changes needed to uniflash or the OSPI driver. Just to be sure on what needs to be done I would want you to bring up an existing SDK dome which runs in XIP on the customer board. This will clear a lot of things.
Once we have that then we can start modifying that application to achieve the customer's use-case.
Cypress uses a different set of opcodes than Micron.. So its not possible to use Micron driver with Cypress flash as is at least in 8D-8D-8D mode. So driver for sure will need an update.
Yes, customer engineers have modified the driver to access Cypress Flash, and these modifications should be done on SBL to enable octal access on loading sysfw and following code fetch. They want some guidance to learn how XIP mode is configured in the demo, and then they can implement it on their own board.
We are still working on some kind of public documentation for the same (along with the training I mentioned).
Meanwhile I will forward you one internal confluence link with some details.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.