MCUXpresso QSPI .cfx selection for Winbond W25Q64JV?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCUXpresso QSPI .cfx selection for Winbond W25Q64JV?

2,539 次查看
markhan
Contributor II

We are using a MKL81Z128 with a Winbond W25Q64JV QSPI FLASH.  The Winbond part is not listed in the available .cfx files in the Project-Properties-C/C++ Build-MCU Settings-Driver options when adding FLASH to the project.  Is there an equivalent .cfx file listed for the KL81?  If not, can you point me to instructions on how to create a .cfx file?

Thanks.

markhan_0-1697839925673.png

 

0 项奖励
回复
6 回复数

2,490 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I reviewed your information, but I need more details about your case. I reviewed the SDK and there is a hello_world_qspi could you test it and share your result?

Could you elaborate further on your issue? Do you want to boot from QSPI or what? What are you trying to achieve?

Best regards,
Pavel

 

0 项奖励
回复

2,469 次查看
markhan
Contributor II

We have a custom designed board with a MKL81Z128 connected to a Winbond W25Q64JV QSPI FLASH. We are running out of space on the KL81 on-board FLASH and want to execute in place from the external FLASH.  The options seem to be boot from ROM to internal FLASH and be able to call external FLASH from there, or boot from ROM directly to external FLASH.  We can do whichever is easiest.

I am able to add the external FLASH to the Project Properties C/C++ Build MCU Settings.  I am able to modify the .ld scripts to place code or data in the external flash, as verified by the .srec and .map files.  I am not yet able to program the external FLASH and have not been able to test XIP.  I don't know if the .cfx file that I have chosen is the correct one for the W25Q64JV, and I don't know if this is at all related to programming the part from the MCUxpresso IDE programming GUI.

I do not currently have a dev board that the demo projects were created for.

Thanks,

Mark

0 项奖励
回复

2,416 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, thanks for being clear with your information I found this app note that could help you to the QSPI, this does not use the same memory but maybe you could port it to the other.

How to use QuadSPI on KL8x Series (nxp.com)

Best regards,
Pavel

0 项奖励
回复

2,352 次查看
markhan
Contributor II

I have BCA, FLASH configuration, and QSP configuration block, including LUT, properly set up.  I am able to write to and read from QSPI FLASH using functions.  I am able to program functions to QSPI FLASH using blhost and then execute in place (XIP).

I am not able to program or debug QSPI FLASH and XIP from MCUXpresso using a JLink. I don't have a .cfx file for the Winbond FLASH.  Do you have a .cfx file for the W25Q64JV that will work with the KL81?  Will this allow me to step through code in the QSPI FLASH?  If not, how can I do that?

Thanks.

0 项奖励
回复

2,272 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry for the late response I will continue the support on the internal similar case.

Best regards,
Pavel

0 项奖励
回复

2,506 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, let me get into your case and when I have more information, I will contact you.

Best regards,
Pavel

0 项奖励
回复