Troubleshooting MCUboot Utility Connection Failures

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

Troubleshooting MCUboot Utility Connection Failures

1,246 Views
LHLL
Contributor I

mcubootutility connection failed. I connected the spi1_2second pins to the NOR flash (W25Q256). BT_CFG[7:0] = 4'b0000; BOOT0 = 1, BOOT1 = 0. mcupbootutility indicates it can connect to the flashloader but cannot connect to the external memory. Hardware and software configurations are as follows:Snipaste_2026-03-09_15-43-26.pngSnipaste_2026-03-09_15-44-19.pngSnipaste_2026-03-09_15-45-48.png

0 Kudos
Reply
5 Replies

1,225 Views
mayliu1
NXP Employee
NXP Employee

Hi @LHLL ,

Thank you so much for your interest in our products and for using our community.

please clarify the following information:

1: Which RT-series MCU are you using?
2: Are you working on your own custom board, or using an NXP evaluation board?
If it is a custom board, any basic hardware details would also be helpful.

Best Regards

MayLiu

0 Kudos
Reply

1,219 Views
LHLL
Contributor I

It is a custom circuit board, with the MCU using the IMXRT1166XVM5A.

0 Kudos
Reply

1,165 Views
mayliu1
NXP Employee
NXP Employee

Hi @LHLL ,

In the figure from your previous post, I wasn’t able to locate the DQS pin. Could you point out its configuration or where it is mapped?
 
Best Regards
MayLiu
0 Kudos
Reply

1,034 Views
LHLL
Contributor I

Hi MayLiu ,

I did not use the DQS pin because NOR flash does not require it. I Multiplex the DQS pin as an ETH_MDIO pin.Looking forward to your reply.

Snipaste_2026-03-12_17-22-00.pngSnipaste_2026-03-12_17-22-15.png

Best Regards

0 Kudos
Reply

902 Views
mayliu1
NXP Employee
NXP Employee

Hi @LHLL ,

Could you please try to set the DQS pin as floating and then test again?
 
Best Regards
MayLiu
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2328717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETroubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Emcubootutility%20connection%20failed.%20I%20connected%20the%20spi1_2second%20pins%20to%20the%20NOR%20flash%20(W25Q256).%20BT_CFG%5B7%3A0%5D%20%3D%204'b0000%3B%20BOOT0%20%3D%201%2C%20BOOT1%20%3D%200.%20mcupbootutility%20indicates%20it%20can%20connect%20to%20the%20flashloader%20but%20cannot%20connect%20to%20the%20external%20memory.%20Hardware%20and%20software%20configurations%20are%20as%20follows%3A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2026-03-09_15-43-26.png%22%20style%3D%22width%3A%20596px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-43-26.png%22%20style%3D%22width%3A%20596px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-43-26.png%22%20style%3D%22width%3A%20596px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-43-26.png%22%20style%3D%22width%3A%20596px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378686i6E24F37BD6AA6227%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snipaste_2026-03-09_15-43-26.png%22%20alt%3D%22Snipaste_2026-03-09_15-43-26.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2026-03-09_15-44-19.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-44-19.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-44-19.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-44-19.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378687iB1A92F4E693BDA53%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snipaste_2026-03-09_15-44-19.png%22%20alt%3D%22Snipaste_2026-03-09_15-44-19.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2026-03-09_15-45-48.png%22%20style%3D%22width%3A%20842px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-45-48.png%22%20style%3D%22width%3A%20842px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-45-48.png%22%20style%3D%22width%3A%20842px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-09_15-45-48.png%22%20style%3D%22width%3A%20842px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378689i4BEDDFC2A62E6A6B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snipaste_2026-03-09_15-45-48.png%22%20alt%3D%22Snipaste_2026-03-09_15-45-48.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2329384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260391%22%20target%3D%22_blank%22%3E%40LHLL%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%3EIn%20the%20figure%20from%20your%20previous%20post%2C%20I%20wasn%E2%80%99t%20able%20to%20locate%20the%20DQS%20pin.%20Could%20you%20point%20out%20its%20configuration%20or%20where%20it%20is%20mapped%3F%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBest%20Regards%3C%2FDIV%3E%0A%3CDIV%3EMayLiu%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328863%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328863%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20is%20a%20custom%20circuit%20board%2C%20with%20the%20MCU%20using%20the%20IMXRT1166XVM5A.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328757%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328757%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260391%22%20target%3D%22_blank%22%3E%40LHLL%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20so%20much%20for%20your%20interest%20in%20our%20products%20and%20for%20using%20our%20community.%3C%2FP%3E%0A%3CDIV%3E%0A%3CP%3Eplease%20clarify%20the%20following%20information%3A%3C%2FP%3E%0A%3CP%3E1%3A%20Which%20RT-series%20MCU%20are%20you%20using%3F%3CBR%20%2F%3E2%3A%26nbsp%3BAre%20you%20working%20on%20your%20own%20custom%20board%2C%20or%20using%20an%20NXP%20evaluation%20board%3F%3CBR%20%2F%3EIf%20it%20is%20a%20custom%20board%2C%20any%20basic%20hardware%20details%20would%20also%20be%20helpful.%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3EMayLiu%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3BMayLiu%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20did%20not%20use%20the%20DQS%20pin%20because%20NOR%20flash%20does%20not%20require%20it.%20I%20Multiplex%20the%20DQS%20pin%20as%20an%20ETH_MDIO%20pin.Looking%20forward%20to%20your%20reply.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-00.png%22%20style%3D%22width%3A%20781px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-00.png%22%20style%3D%22width%3A%20781px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-00.png%22%20style%3D%22width%3A%20781px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379075iB394F6D8C5566B39%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snipaste_2026-03-12_17-22-00.png%22%20alt%3D%22Snipaste_2026-03-12_17-22-00.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-15.png%22%20style%3D%22width%3A%20970px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-15.png%22%20style%3D%22width%3A%20970px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Snipaste_2026-03-12_17-22-15.png%22%20style%3D%22width%3A%20970px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379076i16509AA32E60A13F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snipaste_2026-03-12_17-22-15.png%22%20alt%3D%22Snipaste_2026-03-12_17-22-15.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2333767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Troubleshooting%20MCUboot%20Utility%20Connection%20Failures%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2333767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260391%22%20target%3D%22_blank%22%3E%40LHLL%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%3ECould%20you%20please%20try%20to%20set%20the%20DQS%20pin%20as%20floating%20and%20then%20test%20again%3F%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBest%20Regards%3C%2FDIV%3E%0A%3CDIV%3EMayLiu%3C%2FDIV%3E%3C%2FLINGO-BODY%3E