SDK Manager - Flash Jetson OS issues - device is not in recovery mode

Hello,

I’m trying to use SDK Manager to flash my Nano with JetPack 4.2 Linux. The Nano is in Recovery Mode (using pins 3&4)
What I see from logs is that SDK Manager is looking for 0955:7020 on USB when I actually have 0955:7f21.

Log from SDK Manager is:
15:59:52 DEBUG : running command < lsusb | grep “NVidia Corp” >
15:59:52 INFO : command finished successfully
15:59:52 DEBUG : running command < lsusb | grep 0955:7020 >
15:59:52 INFO : command finished successfully
15:59:52 ERROR : Jetson device is not in recovery mode.

lsusb output (on host) is:
lsusb | grep 0955
Bus 002 Device 002: ID 0955:7f21 NVidia Corp.

What can I do in order to make SDK Manager to flash my Nano?
Thanks,
Viorel

Maybe the Nano was not correctly set in recovery mode.
Did you perform this sequence ?
1.Jumper the Force Recovery pins (3 and 4) on J40 button header
2.Jumper the J48 Power Select Header pins and connect a power supply to J25 power jack. The developer kit automatically powers on in Force Recovery mode.
3.Now that the developer kit is running, remove the Force Recovery pins’ jumper.

I performed all these steps.

Hi viotemp1,

Are you insert a microSD card into the slot on the underside of the Jetson Nano module?

Steps:

  1. Plug-in power adapter, micro-usb and microSD card on Jetson-Nano
  2. Pins 3 and 4 put the developer kit into Force Recovery Mode if they are connected when it is powered on.
  3. Run sdkmanager

Hi,

The SD card was inserted and all steps followed. Still no luck connecting with sdk manager.
Viorel

Hi viotemp1,

Please make sure there is no environment issue. We can confirm this by manually flashing Jetson.

  1. Manually reset board to clear board status.
  2. Put Jetson device to recovery mode.
  3. Go to JetPack install directory.
    For example, ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3448/
  4. cd Linux_for_Tegra
  5. Run one of the below command to flash Jetson device:
$ sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1
  1. Paste full log if flashing fails.

from terminal it’s working fine with the commands indicated. Thanks.
But with SDK manager, no.
I will look more into it, maybe it will work in the end with SDM Manager also.

It is clear that that in SDK using manual mode does not work because it is looking for wrong USB ID.
The SDK log is:
20:10:24 DEBUG : running command < lsusb | grep “NVidia Corp” >
20:10:24 INFO : command finished successfully
20:10:24 DEBUG : running command < lsusb | grep 0955:7020 >
20:10:24 INFO : command finished successfully
20:10:24 ERROR : Jetson device is not in recovery mode.

The actual value is:
lsusb | grep 0955:
Bus 002 Device 006: ID 0955:7f21 NVidia Corp.

Hi viotemp1,

For SDKM will try to connect Jetson device to run “sudo reboot force-recovery” command to automatically put jetson device to recovery mode. If your device is already in recovery mode, SDKM will ignore the execution result of “sudo reboot forced-recovery” command in process.
Form logs, the SDKM is check if device in usb-device mode ready, the “0955:7020” is shown in “lsusb” command output. So the “0955:7020” in log can be safely ignored.
It’s good to known you can flash image by manually. You can also try again with only power on device and run SDKM. (SDKM will auto run the command to put device into recovery mode.)

I tried again with SDK manager. not working. Still very good that it works manually with flash.sh.
Thanks for help.

I for this step is ok, work
but no cuda sample

Hi jackpeng,

With flash.sh it works. I recompiled the kernel and flash it to Nano.
Also made it boot from SD, but start linux from SSD after Uboot.
All OK now.
I do not use SDK anymore.

Thanks,
Vio

How to recompiled the kernel and flash it to Nano.
please help
thanks

I do not recall all steps, I remember I used the guide from [url]Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation

Some steps I remember:

make ARCH=arm64 O=$TEGRA_KERNEL_OUT nconfig
make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j4
make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules -j4
sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=Linux_for_Tegra/rootfs/

sudo -E ./flash.sh ${BOARD} mmcblk0p1

where BOARD=jetson-nano-qspi-sd, TEGRA_KERNEL_OUT=$HOME/nvidia/tegra-jetson-nano-kernel_out

Somehow I agree with you. I was stuck for months on different issues related with tf, deepspeech ssd…