RT1170 EVKB with MX25UM51345

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1170 EVKB with MX25UM51345

530 Views
Dave7
Contributor II

Hi,

I’ve been testing the fsl_romapi example with the W25Q512 QSPI flash, and it runs perfectly without any issues, both with the debugger and when booting on its own.

Recently, I configured the EVKB to use the MX25UM51345. While I’m able to run the fsl_romapi example through the Keil uVision debugger both from SDRAM and OCTAL flash, the board does not boot on its own.

My DIP switches configurations as follows:

  • SW1-3, SW1-4 are set to ‘10’.
  • SW2-3 is set to ‘1’.

After modifying the evkbmimxrt1170_flexspi_nor_config.c file (see attached), the board is able to boot. However, the fsl_romapi example only outputs "FLEXSPI NOR example started!" and then halts.

I would greatly appreciate any guidance on whether my setup or configuration changes are correct, or if there are any additional steps I might be missing.

Best regards,

Dave

0 Kudos
Reply
7 Replies

348 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Dave7 

I apologize for the delayed response, may I know if you are still facing this problem? During this time I have been checking with the SDK team  regarding some changes implemented to run the fsl_romapi for SDK 2.15. We updated the flexSPI setup to get them working for SDK 2.15. Possibly our update can help you to understand why the demo crashes.

Diego

 

304 Views
Dave7
Contributor II

Hi Diego,

Thank you for your response. I have retested using SDK 2.16, and I am still experiencing the same issue when configuring the EVKB to use the MX25UM51345 Octal NOR flash.

  • The fsl_romapi example boots and runs perfectly when using QSPI NOR (W25Q512).
  • When switching to MX25UM51345 Octal Flash, the example fails with "HALTED DUE TO FLEXSPI NOR ERROR!", specifically at the call to FLEXSPI_NorFlash_GetVendorID().
  • To work around this, I skipped the FLEXSPI_NorFlash_GetVendorID() call, after which the example runs fine when using the debugger.
  • However, the board does not boot on its own unless I modify the evkbmimxrt1170_flexspi_nor_config.c file (as previously attached).

 

SDK 2.16 exhibits the exact same behavior as SDK 2.15 with regard to the Octal Flash.

I would appreciate any guidance on resolving this issue. Please let me know if additional tests are needed.

Thank you for your support!

Best regards,

Dave

0 Kudos
Reply

299 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Dave7 

Thank you for letting me know, I do appreciate  your efforts by testing on SDK 2.16 and your detailed results. 

Let me continue with the investigation on my side!

Diego 

 

0 Kudos
Reply

289 Views
Dave7
Contributor II
Thanks Diego!
0 Kudos
Reply

265 Views
diego_charles
NXP TechSupport
NXP TechSupport

My pleasure @Dave7 , let me maintain you updated.  I managed to get a EVK with the octal flash from a collegue, he already did basic sanity test of the flash, let me test on my own the issue you are reporting. 

Diego

0 Kudos
Reply

156 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Dave7 

thank you very much for your patience.

Do you see issues by running the ROMAPI demo from SDK 2.12, as recommended by my colleauge Kerry on section 3.1.2 fsl_romapi project testing from this article https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/RT1170-Octal-flash-enablement/ta-p/149...

Please let me know your results.

Diego

0 Kudos
Reply

69 Views
Dave7
Contributor II

Hi Diego,

Thank you for your continued support. I encountered the same issue while following your colleague's article. However, I was able to get the board to boot by de-soldering jumper R378, though I do not fully understand why this resolved the issue.

After removing R378, the board successfully boots and runs the fsl_romapi example to completion.

Could you provide any insights into why this might be the case?

Best regards,

Dave

0 Kudos
Reply