MIMXRT1050EVK Nor Flash Debug Fail

cancel
Showing results for 
Search instead for 
Did you mean: 

MIMXRT1050EVK Nor Flash Debug Fail

Jump to solution
182 Views
Contributor II

Dears,

I fellow the hardware user guild modified the resistor and debug in Nor Flash model, and found below error, No Algorithm found for 00000000-OOOO3C07H, can you please kindly help to advice?

BRs,

Ray

Labels (1)
0 Kudos
1 Solution
71 Views
NXP TechSupport
NXP TechSupport

Hi Ray Deng,

  Please don't worry, you are using MIMXRT1050-EVK or MIMXRT1050-EVKB?

  The board PCB you can find from the NXP official website:

  https://www.nxp.com/webapp/Download?colCode=MIMXRT1050-EVK-DESIGNFILES-A1&appType=license 

 Whether your board is the new board or not? Can you download the code in the previous time?

If you want to use the QSPI flash, you can refer to this application note:

https://www.nxp.com/docs/en/application-note/AN12108.pdf 

  I also tested it in the previous time, the related resistor can be found from the following picture.pastedImage_3.png

Red item, you need to solder it, blue item, you need to remove it.

Please double check it on our side, again.

Any updated information, just kindly let me know.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
8 Replies
71 Views
NXP TechSupport
NXP TechSupport

Please also note, you need to modify the XIP code from hyper flash to QSPI flash:

#if defined(QSPIFLASH) const flexspi_nor_config_t qspiflash_config = {
.memConfig =
{
.tag = FLEXSPI_CFG_BLK_TAG,
.version = FLEXSPI_CFG_BLK_VERSION,
.readSampleClkSrc = kFlexSPIReadSampleClk_LoopbackFromDqsPad,
.csHoldTime = 3u,
4
.csSetupTime = 3u,
// Enable DDR mode, Wordaddassable, Safe configuration, Differential clock
.sflashPadType = kSerialFlash_4Pads,
.serialClkFreq = kFlexSpiSerialClk_100MHz,
.sflashA1Size = 8u * 1024u * 1024u,
.lookupTable =
{
// Read LUTs
FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x18),
FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04),
},
},
.pageSize = 256u,
.sectorSize = 4u * 1024u,
.blockSize = 256u * 1024u,
.isUniformBlockSize = false,
};
#endif

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
71 Views
Contributor II

Hi Kerry,

   Thanks for your patiently support,

   I used the MIMXRT1050-EVKB, and modified the part you mentioned, but still report below error in Keil MDK V5.29. Also, OpenSDA firmware updated to QSPI model. Would you please kindly help to advice?

BRs,

RayError.JPG

0 Kudos
71 Views
NXP TechSupport
NXP TechSupport

Hi Ray Deng,

  Thanks for your updated information.

   Please use this QSPI project, download it in the RAM:

SDK_2.7.0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\nor\polling_transfer

  Please debug it, whether you can do the external QSPI flash operation or not?

  If the flexspi nor project have issues, it means your hardware still have problems.

Any updated information, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
71 Views
Contributor II

Hi Kerry,

   

It is OK now, thanks for your kindly help,

BRs,

Ray

0 Kudos
71 Views
NXP TechSupport
NXP TechSupport

Hi Ray Deng,

  Thanks for your updated information.

  If your question is solved, please help to mark the correct answer, just to close this case, thanks.

  If you have any new questions, welcome to create the new question post.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
71 Views
NXP TechSupport
NXP TechSupport

Hi  Ray Deng,

   Which IDE you are using? Do you use the MIMXRT1050-EVK board or MIMXRT1050-EVKB board?

   Please download the RT1050 SDK code from this link:

   Welcome | MCUXpresso SDK Builder 

   After you download the SDK_2.7.0_EVKB-IMXRT1050, open it, refer to 

Getting Started with MCUXpresso SDK for EVKB-IMXRT1050.pdf

under SDK_2.7.0_EVKB-IMXRT1050\docs.

  Then try your related IDE project again, please note, you also need to use the related IDE version:

The MCUXpresso SDK was compiled and tested with these development tools:
• IAR Embedded Workbench for Arm version 8.40.2
• MDK-Arm Microcontroller Development Kit (Keil)® 5.29
• Makefiles support with GCC revision 8-2019-q3 GCC8 from Arm Embedded
• MCUXpresso IDE v11.1.0

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
71 Views
Contributor II

Hi Kerry,

Thanks for your response.

I still cannot connect to target via CMSIS-DAP, may be the resistor not replaced right. Would you please kindly help to share the PCB pdf file with me?

BRs,

Ray

0 Kudos
72 Views
NXP TechSupport
NXP TechSupport

Hi Ray Deng,

  Please don't worry, you are using MIMXRT1050-EVK or MIMXRT1050-EVKB?

  The board PCB you can find from the NXP official website:

  https://www.nxp.com/webapp/Download?colCode=MIMXRT1050-EVK-DESIGNFILES-A1&appType=license 

 Whether your board is the new board or not? Can you download the code in the previous time?

If you want to use the QSPI flash, you can refer to this application note:

https://www.nxp.com/docs/en/application-note/AN12108.pdf 

  I also tested it in the previous time, the related resistor can be found from the following picture.pastedImage_3.png

Red item, you need to solder it, blue item, you need to remove it.

Please double check it on our side, again.

Any updated information, just kindly let me know.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos