Jetson nano Developer Kit 刷机报错Can not find matching device in recovery mode

  1. Learn to file the topic in current place first. This is jetson TX2 forum. I will move it to jetson nano forum to you.

  2. Did you remember to put your board into recovery mode?

感谢您的回复,是的 我将主板设置为恢复模式了,即用跳线帽连接第2,3引脚。用usb连接到电脑上后,在终端输入lsusb,有nvidia corp项,即进入了恢复模式。但在烧录过程中,报错停止,停止后再在终端输入lsusb就没有nvidia corp项了,即退出可恢复模式。在烧录过程中,我没有进行任何操作,却退出了恢复模式。

Hi,

Could you directly run flash.sh and see if it can flash your board? Also, remember to put the board into recovery mode again.

Recovery mode only has one time chance. If the flash process starts, no matter succeed or fail, recovery mode will end.

感谢您的回复,请问flash.sh是需要另外下载的文件,还是烧录过程中自动下载的文件?另外我是在flash jetson os时失败的,如下图

Check ~/nvidia on your host machine.

Sdkm already downloaded it to your host.

感谢您的回答,我运行了flash.sh,但报错
flash.sh:140:flash.sh:syntax error:”(“unexpected(expecting”fit”)请问我是否应该根据报错修改flash.sh?

Please share me the full log.

How about you read the document first?

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html

Also, please do not share me a picture again. We only want to check the text log.

I got the exactly same problem as this topic but on Jetson AGX Orin. I believe this is a common issue.

A common issue if you are new user.

请问是需要检查运行flash.sh报错的文本吗?还是flash.sh的文本?

It is obvious that you don’t know how to run flash.sh. So you should read the document first.

好的 感谢您的回答

请问您解决这个问题了吗

没解决,我在这个论坛就找不到合理的解决方案,感觉支持力度很差。

麻煩請你們提供真正有用的資訊這樣我才能幫助你們…
如果你要dump sdkmanager log的話請按下GUI上面有個export LOGS 的按鈕 而不是只是貼一張有點糊的圖片
flash.sh的error log會比較單純, 但請你先讀好基本的文件知道如何使用…

我比方說好了 今天flash有可能有10種可能原因會造成error.
“Cannot find matching device in recovery mode” 這種問題可能有幾種原因

比方說

  1. 你們沒把板子進recovery mode

  2. 你們的host沒辦法讀到recovery mode狀態的板子 常見在host是VM的狀況

  3. Usb cable只有power line沒有data line.

這些都是以前其他user常見的問題

另外, 如果你的Orin有問題 請你在Orin的forum上發問 我會在那邊回應你. Nano 跟Orin有蠻大的落差的 你們不一定是碰到一樣的問題.

不過 “Cannot find matching device in recovery mode” 基本上的原因就上面幾種

並且沒辦法讀到recovery mode這件事情基本上不會是板子上軟體的問題, 因為Recovery mode的時候基本上沒有OS在device端執行.
通常這種狀況的原因是在你的host端, 你可以拿其他Jetson的板子驗證看看 如果是host問題 基本上你所有jetson都會碰到讀不到recovery mode的錯誤.

1 Like

Hello Wayne.

I have flashed jetpack 5.0.1 in my device successfully, but the pytorch version is not satisfied to my code. So i want to
flash jetpack 4.5.0 in my device. I tried to use SDKManager to install but i got the exactly same problem as this topic Jetson Xavier NX…
And this is the SDKManager errors:

Then i also tried to use flash.sh to do this work but still failed.
Here is my command and part of log infomation.
sudo ./flash.sh p3449-0000+p3668-0001-qspi-emmc mmcblk0p1

[ 9.2730 ] Reading ramcode from backup chip_info.bin file
[ 9.2746 ] RAMCODE Read from Device: 2

[ 9.2747 ] Generating BPMP dtb for ramcode - 0
[ 9.3234 ] Old BPMP dtb size - 223168 bytes
[ 9.3234 ] New BPMP dtb size - 168338 bytes
[ 9.3235 ]
[ 9.3248 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[ 9.3255 ]
[ 9.3263 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[ 9.3269 ] adding BCH for mem_rcm.bct
[ 9.3283 ]
[ 9.3292 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 9.3298 ] Assuming zero filled SBK key
[ 9.3301 ]
[ 9.3310 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[ 9.3394 ]
[ 9.3396 ] Copying signatures
[ 9.3406 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 11.4625 ]
[ 11.4626 ] Boot Rom communication
[ 11.4635 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[ 11.4642 ] BR_CID: 0x88021911643220c60c00000010fd8180
[ 11.8844 ] RCM version 0X190001
[ 11.9954 ] Boot Rom communication completed
[ 13.0367 ]
[ 14.0393 ] tegrarcm_v2 --isapplet
[ 14.0402 ] Applet version 01.00.0000
[ 14.1815 ]
[ 14.1816 ] Sending BCTs
[ 14.1825 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[ 14.1831 ] Applet version 01.00.0000
[ 14.3237 ] Sending bct_bootrom
[ 14.3238 ] […] 100%
[ 14.3577 ] Sending bct_mb1
[ 14.3825 ] […] 100%
[ 14.4194 ] Sending bct_mem
[ 14.4818 ] […] 100%
[ 14.5197 ] 0000000000000102: E> NONE: Invalid value MemBct dram size: 0MB for slot: 2.
[ 14.5540 ]
[ 14.5540 ]
Error: Return value 2
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
Failed flashing t186ref.

Thanks a lot.

你的问题后来找到了吗?

Blockquote

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.