2414863_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2414863_en-US

2414863_en-US

Help Required Replacing Default Winbond Flash with Everspin Memory Custom Flash Driver

Hello NXP Community,

I am working on an i.MX RT1170 EVKB / MIMXRT1176 board and need some guidance regarding replacing the default Winbond external memory with an Everspin EM032LXQADG13IS2T memory device.

Current Hardware

The board originally uses a Winbond W25Q512 device. I have replaced it with:

Everspin EM032LXQADG13IS2T

The main issue is that the Everspin memory does not support SFDP, whereas the default Winbond memory supports SFDP.

Current Status

I have already been able to communicate with the Everspin memory using the i.MX RT1170 FlexSPI interface.

The memory is functionally working when the application is running from RAM. In particular:

  • FlexSPI communication with the Everspin memory is working.
  • Memory read/write operations can be performed.
  • The application image (XIP image) can be loaded/programmed into the Everspin memory using a memory write code.
  • The image stored in the Everspin memory can then be accessed/executed successfully.

However, I currently cannot flash/program the application directly to the Everspin memory using the normal i.MX RT1170 flash programming.

Since the Everspin memory does not support SFDP, I suspect that the default FlexSPI flash driver/configuration used for the Winbond memory cannot automatically identify/configure the Everspin device.

I would like to understand the recommended NXP approach for supporting a non-SFDP memory device.

I would appreciate guidance on

1. How can I create a custom flash driver for the Everspin EM032LXQADG13IS2T on i.MX RT1170?

2. Is there an existing example of supporting a non-SFDP SPI/QSPI memory with the i.MX RT1170 FlexSPI controller?

Boot ROM|Booting | FlashDevelopment BoardRe: Help Required Replacing Default Winbond Flash with Everspin Memory Custom Flash Driver

Dear @jyothzz ,

Thank you for your questions.

Yes, the MIMXRT1170_SFDP_QSPI.cfx flash driver is the default flash driver used by the RT1170 EVK and the MCUXpresso SDK:

ShellyZhang_0-1790052100477.pngShellyZhang_0-1790052100477.png

Currently, there is no existing example of supporting a non-SFDP SPI/QSPI memory with the i.MX RT1170 FlexSPI controller. The flash drivers that are directly supported without customer modification are listed below:
ShellyZhang_1-1790052161488.pngShellyZhang_1-1790052161488.png

You may refer to the information below to create a custom flash driver: 

1. https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/How-to-create-a-new-Flash-driver-of-th...

2. https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/RT1170-flexSPI1-secondary-QSPI-flash-d...

If you have any questions while developing the custom flash driver, please feel free to reach out.

Best Regards,

Shelly


Re: Help Required Replacing Default Winbond Flash with Everspin Memory Custom Flash Driver

Hi @ShellyZhang 


Thank you For response it was of great help.

We have resolved the flash driver issue with the new memory which does not support SFDP.
We used the same i.MXRT117x_SFDP_QSPI Driver. We modifying the SFDP part referring to the non-SFDP Driver of i.MXRT1050_QSPI.

Then generated a new driver file (.cfx) which worked fine .

Once again thanking you for your guidance.

Regards,
JYOTHISH

タグ(1)
評価なし
バージョン履歴
最終更新日:
1週間前
更新者: