2393299_en-US

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

2393299_en-US

2393299_en-US

i.MX RT1050 Download Algorithm

My current development environment is MCUXPRESSO IDE, using the i.MX RT1050. I understand that because the i.MX RT1050 doesn't have internal flash, an algorithm needs to be downloaded when using external flash. However, this downloaded algorithm is dependent on the chosen flash memory. Does the official documentation explain how to obtain the desired downloaded algorithm for quick and easy use?

Re: i.MX RT1050 下载算法

Hi SDFDSFSF,

We suggest you do it in the following order:

1. Select an external Flash download algorithm in the project properties. NXP provides some mainstream Flash download algorithms.

You can right-click the project -> Properties -> MCU settings -> Memory details and select the NXP-supported flash driver:

ShellyZhang_0-1783670863188.png

The flash driver for MCUXpresso is usually located under nxp\LinkServer_xx.x.xx\binaries\Flash, with the .cfx extension.

2. If the selected Flash memory supports SFDP, try the SFDP driver first.

In MCUXpresso, you can choose a driver like MIMXRT1050_SFDP_QSPI.cfx. The significance of this type of SFDP driver is that it reduces the dependence on specific part number-specific algorithms through flash self-describing parameters.

3. Create your own using a template.

Please refer to the application manual : https://www.nxp.com/docs/en/application-note/AN13386.pdfGenerate a custom CFX file. When modifying it, key parameters should be derived from test results of the external flash datasheet and the flexspi_nor_polling demo in the SDK.

In addition to the download algorithm, XIP/Boot Header configuration is also required. Please refer to Solved: Flash interface initialization - NXP Community.

The above are the basic methods. You can provide more specific details, such as what model of Flash you are using, what specific difficulties you are encountering at this stage, and this will help you better.

Best Regards,

Shelly Zhang

i.MX RT1050 下载算法

I'm using J-Link, and in MCUXpresso I selected MIMXRT1050_SFDP_QSPI.cfx. Download failed.

Re: i.MX RT1050 下载算法

How can I create my own J-Link algorithm for the IMXRT1052 in the MCUXpresso IDE?

My Flash file is WINBOD 25Q256JVEQ.

My current MCUXpresso IDE version is MCUXpresso IDE v25.6. SDK_EVBK is version 26.06.00. I don't know which example program can be modified to generate the download algorithm I want.

Re: i.MX RT1050 下载算法

Dear @SDFDSFSF ,

The reference example is located in the nxp/LinkServer directory, with the project name iMXRT1050_QSPI:

ShellyZhang_0-1784857501325.png

If your pinouts differ from the evaluation board, you will need to modify the pinout configuration. The Flash configuration also needs to be modified according to the datasheet.

Please confirm the following:

1. Check if the Flash hardware pins are configured correctly. The FlexSPI pins must be configured according to the RT1050 hardware development manual :

ShellyZhang_1-1784857962728.png

Only group A or group B can be selected, and FlexSPI_DQS needs to be left floating.

2. Import the evkbimxrt1050_flexspi_nor_polling_transfer example into the SDK, and modify the flash configuration according to the flash datasheet. (This step can be omitted; it's only to verify that the flash configuration is correct.)

3. Modify the correct flash configuration in the iMXRT1050_QSPI project. Please refer to the following for this step. https://www.nxp.com/docs/en/application-note/AN13386.pdf


Best Regards,

Shelly Zhang




Re: i.MX RT1050 下载算法It's possible that your hardware pin configuration differs from the evaluation board. We suggest you modify the iMXRT1050_QSPI project to generate the cfx file yourself.Re: i.MX RT1050 下载算法

Is it okay if I use J-Link in the MCUXpresso IDE? I've seen some people say that the MCUXpresso IDE algorithm can only be used in CMSIS-DAP type emulators?

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