SPI Serial Boot Issues on MIMXRT595-EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SPI Serial Boot Issues on MIMXRT595-EVK

跳至解决方案
206 次查看
wx1
Contributor I

I am working with the MIMXRT595-EVK​ evaluation board and am attempting to use the ROM bootloader for serial download via the SPI interface. My goal is to communicate with the bootloader and download an application image through SPI, similar to how it is commonly done via UART.

Here is my current situation:

First, I successfully verified that the ROM bootloader is functional by performing a serial download via UART(J26)

 Then I am now trying to use the SPI interface on header J36​ (pins 1-CS, 3-MOSI, 5-MISO, 7-SCK) for the serial download process.When I probe the signals with an oscilloscope, the MISO line (J36, pin 5) shows an incorrect and jittery waveform​ during the ISP communication attempt. 

Questions and Points of Confusion:

I suspect that the SPI signals from the J36 header may not be properly routed to the MCU pins used by the ROM boot.

​ I have noticed references to a J10​ header in the board documentation, but it is not physically present on my EVK.

In summary, since UART-based serial download works flawlessly, the issue appears to be specific to the SPI hardware path. My primary questions concern the correct jumper settings for J36​ to enable the SPI serial downloader and the relevance of the documented but missing J10​ header.

wx1_2-1764643640876.png

 

 

wx1_1-1764643389452.png

i.MX-RT500 

0 项奖励
回复
1 解答
155 次查看
mayliu1
NXP Employee
NXP Employee

Hi @wx1 ,

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

Could you please help clarify the following regarding your use of the MIMXRT595-EVK board:

  1. SW7 Pin Settings – Which boot mode are you currently using?
  2. Communication Tool – Which tool or interface are you using to communicate with the board?
For your reference, I tested with an MIMXRT595-EVK board on my side. By connecting J40 to the PC and sending blhost commands, communication works normally.
mayliu1_0-1764741861747.png

Wish it helps you.
If you still have question about it, please kindly let me know. 

Best Regards
MayLiu

在原帖中查看解决方案

0 项奖励
回复
2 回复数
156 次查看
mayliu1
NXP Employee
NXP Employee

Hi @wx1 ,

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

Could you please help clarify the following regarding your use of the MIMXRT595-EVK board:

  1. SW7 Pin Settings – Which boot mode are you currently using?
  2. Communication Tool – Which tool or interface are you using to communicate with the board?
For your reference, I tested with an MIMXRT595-EVK board on my side. By connecting J40 to the PC and sending blhost commands, communication works normally.
mayliu1_0-1764741861747.png

Wish it helps you.
If you still have question about it, please kindly let me know. 

Best Regards
MayLiu

0 项奖励
回复
87 次查看
wx1
Contributor I
Thanks for the reply, I tried to replace it with another board and it works later
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2252687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMIMXRT595-EVK%20%E4%B8%8A%E7%9A%84%20SPI%20%E4%B8%B2%E8%A1%8C%E5%90%AF%E5%8A%A8%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%3C%2FSPAN%3E%3CSTRONG%3E%20MIMXRT595-EVK%3C%2FSTRONG%3E%3CSPAN%3E%20%E8%AF%84%E4%BC%B0%E6%9D%BF%EF%BC%8C%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%3C%2FSPAN%3E%3CSTRONG%3E%20ROM%20%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%E9%80%9A%E8%BF%87%20SPI%20%E6%8E%A5%E5%8F%A3%E8%BF%9B%E8%A1%8C%E4%B8%B2%E8%A1%8C%E4%B8%8B%E8%BD%BD%3C%2FSTRONG%3E%3CSPAN%3E%20%E3%80%82%E6%88%91%E7%9A%84%E7%9B%AE%E6%A0%87%E6%98%AF%E4%B8%8E%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%E9%80%9A%E4%BF%A1%E5%B9%B6%E9%80%9A%E8%BF%87SPI%E4%B8%8B%E8%BD%BD%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E9%95%9C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%98%AF%20SPI%20%E7%A1%AC%E4%BB%B6%E8%B7%AF%E5%BE%84%E7%89%B9%E6%9C%89%E7%9A%84%E3%80%82%E6%88%91%E7%9A%84%E4%B8%BB%E8%A6%81%E9%97%AE%E9%A2%98%E6%B6%89%E5%8F%8A%20%3C%2FSPAN%3E%3CSTRONG%3E%E8%B7%B3%E7%BA%BF%E8%AE%BE%E7%BD%AE%3C%2FSTRONG%3E%3CSPAN%3E%E7%9A%84%E6%AD%A3%E7%A1%AE%E8%B7%B3%E7%BA%BF%E8%AE%BE%E7%BD%AE%EF%BC%8C%E4%BB%A5%E5%8F%8A%20%3C%2FSPAN%3E%3CSTRONG%3E%E7%9A%84%E7%9B%B8%E5%85%B3%E6%80%A7%E3%80%82%3C%2FSTRONG%3E%3CSPAN%3E%E5%A4%B4%E7%9A%84%E7%9B%B8%E5%85%B3%E6%80%A7%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wx1_2-1764643640876.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wx1_2-1764643640876.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wx1_2-1764643640876.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368108i843EE4F77854598D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wx1_2-1764643640876.png%22%20alt%3D%22wx1_2-1764643640876.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wx1_1-1764643389452.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wx1_1-1764643389452.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wx1_1-1764643389452.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368107iE532FF16DE51694E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22wx1_1-1764643389452.png%22%20alt%3D%22wx1_1-1764643389452.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2Fi.MX-RT500%2Fpd-p%2Fi.MX-RT500%22%20class%3D%22lia-product-mention%22%20data-product%3D%22521-1%22%20target%3D%22_blank%22%3Ei.MX-RT500%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2252687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%90%AF%E5%8A%A8%20ROM%20%7C%20%E5%90%AF%E5%8A%A8%E9%85%8D%E7%BD%AE%20%7C%20%E9%97%AA%E5%AD%98%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%AE%89%E5%85%A8%EF%BC%88Edgelock%20%7C%20%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8%20%7C%20OTP%EF%BC%89%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2256554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SPI%20%20Serial%20Boot%20Issues%20on%20MIMXRT595-EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2256554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%EF%BC%8C%E6%88%91%E5%B0%9D%E8%AF%95%E7%94%A8%E5%8F%A6%E4%B8%80%E5%9D%97%E6%9D%BF%E6%9B%BF%E6%8D%A2%E5%AE%83%EF%BC%8C%E5%90%8E%E6%9D%A5%E5%AE%83%E5%8F%AF%E4%BB%A5%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%3C%2FLINGO-BODY%3E