Jetson AGX Orin: Can't Flash, The target is in a bad state

I’m trying to use the SDK manager through WSL to flash a Jetson AGX Orin, but whenever I try I get the message ‘Target is in a bad state’. For the most part I followed the instructions here except for the changes needed for using WSL which I got from here. I had no problem with setup and had no trouble running Linux GUI apps or connecting USB Devices. I followed the following steps

  1. Start Ubuntu terminal
  2. Plug in Jetson to power and computer using usb-c on front of jetson.
  3. Power off Jetson and restart in recovery mode.
  4. Share Device with WSL (verified with usbipd.exe list)
    1. Device name is APX
  5. Attach Device to WSL (verified with usbipd.exe list in Powershell and ‘lsusb’ in WSL)
  6. In wsl ‘sdkmanager’
  7. GUI opens
  8. Select device 'Jetson AGX Oring [64GB developer kit version]
  9. Step 01
    1. Select ‘Jetson’
    2. Select ‘Host Machine’ and ‘Target Hardware’
    3. Select 'JetPack 6.0 (rev. 1)
    4. Continue
  10. Step 02
  11. Default
  12. Download folder and Target HW image folder are both in WSL
  13. Continue
  14. Step 03
  15. OEN Configuration: Runtime
  16. Storage Device: EMMC
  17. Flash
  18. Error Message: The target is in a bad state
    The Jetson target is in a bad state and cannot be flashed. Please manually put the target into recovery mode and then retry flashing.

Logs:
SDKM_logs_JetPack_6.0_(rev._1)_Linux_for_Jetson_AGX_Orin_modules_2024-05-28_13-13-53.zip (81.2 KB)

What do you get with lsusb at that time?

At that time I got Bus 001 Device 002: ID 0955:7023 NVIDIA Corp. APX

I’ve noticed that in powershell if I start the Jetson in recovery mode and use usbipd list the device name is APX, but if I start in normal mode it’s Remote NDIS Compatible Device, USB Seri...

Maybe try again with another flashing cable.

Figured it out. I was neglecting the auto-attach option while attaching.
usbipd attach -w --busid <BUSID> -a

1 Like

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