Unable to flash. Can't detect AURIX port

Whenever I try to flash the platform I get this error. Flash Xavier A+B in parallel : AURIX port for board e3550-t194 not found! Please check if board is connected. I ran lsusb to check whether it’s detected the connection and it does, I’m not sure what the problem is.

Dear nhendy,

Did you install minicom tool and use new SDK manager tool?
If so, could you please upload the full logs available at below locations for your topic? Thanks.
~/.nvsdkm/sdkm.log
~/.nvsdkm/logs

I didn’t install minicom tool. I’m using the SDK Manager 0.9.12. Where was the minicom mentioned for first time flashing? I thought the SDK manager would handle the flashing. This is the error log.

Info: [ Disk Avail:78.44 GB ]
Info: change working directory to /home/nhendy/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK
Info: [ Component Install Started ]
Info: current working directory is /home/nhendy/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK
Info: exec_command: cd pdkinstaller && ./bin/python3 -E ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /home/nhendy/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK --configjson ./manifests/install_pdk_config/av_ddp_pegasus_hyp71_linux_tegraAB_install_config.json --consoleout enable
This script must be run with root privileges!
pdkinstaller v2.0

SDK/PDK Installer and Flasher
Run `./pdkinstaller --help` for usage information.

Initializing board and OS configuration to Autonomous Vehicle DDP Pegasus Hyperion-7.1 Linux Tegra AB
Manifest version 2.0

AURIX port for board e3550-t194 not found! Please check if board is connected.
Aurix port not found! Please check if board is connected.
pdkinstaller cannot continue! Check the log file for details: /home/nhendy/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/pdkinstaller/pdkinstaller.log
Info: [ Component Install Finished with Error ]
Error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP command cd pdkinstaller && ./bin/python3 -E ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /home/nhendy/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK --configjson ./manifests/install_pdk_config/av_ddp_pegasus_hyp71_linux_tegraAB_install_config.json --consoleout enable finished with error

Info: [ 88.00 KB used. Disk Avail: 78.44 GB ]

Dear nhendy,

Could you please install minicom tool and setup it?

$sudo apt-get install minicom

https://docs.nvidia.com/drive/active/5.1.0.2L/nvvib_docs/index.html#page/DRIVE%2520Linux%2520HYP%2520PDK%2520Development%2520Guide%2FUtilities%2Fminicom.html

After completed installation and setup minicom tool, please run below and check if you can connect with Aurix.
$sudo minicom -D /dev/ttyUSB3

I think i should note that I’m running linux from virtual machine using parallels. When I navigate on my host machine to /etc/minicom I don’t see any minirc files at all. However, when I run lsusb I get:

Bus 001 Device 033: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 032: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 031: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 030: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC

I tried running sudo minicom -D /dev/ttyUSB3 and it did connect though.

Dear nhendy,

So you can flash DriveAGX via SDK manager without the connection issue? Thanks.

I fixed the problem it was not detecting one of the USB ports. I changed the laptop to one that runs Ubuntu natively and it worked. Now I have another issues. These are the logs. ttyUSB3 becomes unavailable for some reason.

[2019-05-31 16:04:47,274 root DEBUG console_logger.py 17 2303] b'Successfully acquired lock over /var/lock/LCK..bootburn\r\n'
[2019-05-31 16:04:47,325 root DEBUG console_logger.py 17 2303] b'Successfully acquired lock over /var/lock/LCK..ttyUSB3\r\nRead skuinfo from InfoRom...\r\n'
[2019-05-31 16:04:48,298 root DEBUG console_logger.py 17 2303] b'cat: /dev/ttyUSB3: Resource temporarily unavailable\r\n'
[2019-05-31 16:04:50,932 root DEBUG console_logger.py 17 2303] b'Disabling SIGINT <Ctrl+C> temporarily\r\nSetting Tegra-A on hold... '
[2019-05-31 16:04:52,074 root DEBUG console_logger.py 17 2303] b'cat: /dev/ttyUSB3: Resource temporarily unavailable\r\n'
[2019-05-31 16:05:03,174 root DEBUG console_logger.py 17 2303] b'Could not execute command "tegrareset x1 h" on aurix. Log follows,\r\n'
[2019-05-31 16:05:03,179 root DEBUG console_logger.py 17 2303] b'\r\n ------------ Stack Trace ------------\r\n'
[2019-05-31 16:05:03,179 root DEBUG console_logger.py 17 2303] b'stack frame 0 - 297 AbnormalTermination /home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/bootburn_lib.sh\r\n'
[2019-05-31 16:05:03,180 root DEBUG console_logger.py 17 2303] b'stack frame 1 - 424 ExecuteAurixCommand /home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh\r\n'
[2019-05-31 16:05:03,182 root DEBUG console_logger.py 17 2303] b'stack frame 2 - 450 GetTegrasAssocWithAurix /home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh\r\n'
[2019-05-31 16:05:03,182 root DEBUG console_logger.py 17 2303] b'stack frame 3 - 509 CheckRecoveryTargets /home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh\r\n'
[2019-05-31 16:05:03,183 root DEBUG console_logger.py 17 2303] b'stack frame 4 - 946 main /home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh\r\n'
[2019-05-31 16:05:03,183 root DEBUG console_logger.py 17 2303] b'-------------------------------------\r\n\r\n'
[2019-05-31 16:05:03,183 root DEBUG console_logger.py 17 2303] b'error-target-command\r\n'
[2019-05-31 16:05:03,253 root DEBUG console_logger.py 17 2303] b'\r\n'
[2019-05-31 16:05:03,355 root ERROR pdk_flasher.py 168 2303] Flashing process exited with error 15
[2019-05-31 16:05:03,355 root CRITICAL runner.py 37 2303] Error in flashing!
[2019-05-31 16:05:03,356 root DEBUG runner.py 38 2303] Exception info:
Traceback (most recent call last):
  File "./pdkinstaller", line 777, in <module>
    pdk_flasher.flash()
  File "/home/nour/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/pdkinstaller/module/pdk_flasher.py", line 171, in flash
    raise FlashingError
module.errors.FlashingError: Error in flashing!

Hello nhendy, I got the same ttyUSB3 unavailable issue as you. My error-log is totally the same as yours.

Dear nhendy and dong.liang,

Could you please help to check your host pc kernel version with uname -r?
And please refer to DRIVE AGX Developer Kit Flashing Technical Bulletin doc in https://developer.nvidia.com/drive/documentation for your topic? Thanks.

Thank you Steve! It was the kernel version problem. And I changed it and now the flashing succeed.

Changing the kernel fixed it thanks!

Good to know it’s working now, thanks for the feedback.

I occcured the same question in a vmware virtual machine.“AURIX port for board e3550-t194 not found! Please check if board is connected.”
and I do not have a native ubuntu pc.
In the minicom it could connect ttyUSB3,4 …
Does changing the kernel also fix this problem?

Dear xunan5,

We don’t support virtual machine for hostpc.
Please refer to NVIDIA DRIVE Platform HW Prerequisites
PC (x86 architecture) with a NVIDIA GPU (Pascal or Volta based GPU).