TB3 Upgrading Realsense D415 Camera

From wikidb
Jump to: navigation, search

Prerequisites

  • The D415 will not work correct without at least the minimal firmware version. It may not come that way.
  • It must be plugged into a USB 3 socket.

Shipped Firmware

 $ realsense-viewer

I got the following message

 Current firmware version: 05.09.02.00
 Minimal firmware version: 05.10.03.00

Ended up installing

 05.11.01.00

References

Install DFU Tool

 $ echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main'| sudo tee /etc/apt/sources.list.d/realsense-public.list
       [sudo] password for eepp: 
       deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main  

 $ sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE
     Executing: /tmp/tmp.i5RjfriW8F/gpg.1.sh --keyserver
     keys.gnupg.net
     --recv-key
     6F3EFCDE
     gpg: requesting key 6F3EFCDE from hkp server keys.gnupg.net
     gpg: key 6F3EFCDE: ""CN = Intel(R) Intel(R) Realsense", O=Intel Corporation" not changed
     gpg: Total number processed: 1
     gpg:              unchanged: 1

 $ sudo apt-get update

 $ sudo apt-get install intel-realsense-dfu*

Download the Firmware

  • I downloaded version 05.11.01.00 zip file and unzipped it.
 $ unzip IntelRealSenseD400SeriesSignedProductionFirmwarev5_11_1.zip 
     Archive:  IntelRealSenseD400SeriesSignedProductionFirmwarev5_11_1.zip
       inflating: Intel® RealSense™ D400 series Firmware - Attributions.pdf  
       inflating: Intel® RealSense™ D400 series Firmware - Header.pdf  
       inflating: Intel® RealSense™ Depth Camera Software License Agreement (OEMIHVISV Distribution & Single User).pdf  
       inflating: Signed_Image_UVC_5_11_1_0.bin  
  • and got the binary version of the firmware named Signed_Image_UVC_5_11_1_0.bin

Load the Firmware into D415

IMPORTANT NOTE See Avoiding Command Line Argument Error section below

  • Plug in the D415 into a USB 3 Socket
  • Determine which bus and device it is plugged into
 $ lsusb
     Bus 002 Device 004: ID 8086:0ad3 Intel Corp. 
     Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 001 Device 005: ID 04f3:2494 Elan Microelectronics Corp. 
     Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
     Bus 001 Device 003: ID 0bda:58c2 Realtek Semiconductor Corp. 
     Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • Notice the line above with the device titled Intel Corp. It is the D410 and gives us the bus and device number of the Realsense camera.
  • Also notice that the camera is plugged in a USB 3.0 hub. This is important for the firmware to load
 $ intel-realsense-dfu -b 002 -d 004 -f -i /home/eepp/realsense_camera/Signed_Image_UVC_5_11_1_0.bin 
     D400 busnum = 2
     D400 devnum = 4
     D400 FW file path = /home/eepp/realsense_camera/Signed_Image_UVC_5_11_1_0.bin
     FW Version of .bin File   = 5.11.1.0
     FW version on device = 5.9.2.0
     MM FW Version = 255.255.255.255
     FW update required...
     Updating FW...
     DFU FW version in file = 5.11.1.0
     DFU_version = 60
     DFU_isLocked = 0
     FW_highestVersion = 0.0.0.0
     FW_lastVersion = 0.0.0.0

     Percentage done: 99
     Running post download processes...
     .
     Post download processes done.
     Upgrading additional modules...
     .
     Done!

Check Installation

 $ intel-realsense-dfu -p
     FW version on device = 5.11.1.0
     MM FW Version = 255.255.255.255

Command Line Argument Error

reference

has spacing issues, simply copying and pasting commands into the terminal provides errors.

example

intel-realsense-dfu gets a Command Line Argument Error if you past it command string in a terminal window. For example,

 $ intel-realsense-dfu –b 002 –d 003 –f –i/home/eepp/realsense_camera/Signed_Image_UVC_5_11_1_0.bin 
     Command line arguments error: Unknown command line argument: –b
     Usage: intel-realsense-dfu [OPTIONS]
     [OPTIONS]
             -b usb bus number of device
             -d usb device number of device
             -e increase verbosity of exceptions
             -f force firmware update
             -i <input_file> path to firmware file
             -p print firmware versions when correct bus number, device number, and filenames are given
             -v print firmware update tool version
             -h display this message and exit

     ----

This error was created by composing the above command in an editor, doing a copy and then pasting it in a terminal window.