Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D435 camera disconnected during update #8500

Closed
echapp opened this issue Mar 4, 2021 · 12 comments
Closed

D435 camera disconnected during update #8500

echapp opened this issue Mar 4, 2021 · 12 comments

Comments

@echapp
Copy link

echapp commented Mar 4, 2021

librealsense 2.40.0 RELEASE
OS Windows
Camera Model D435

Hello,

So, I messed up. Today, I launched the intel Realsense viewer, which was working fine before (a month or two ago), and it kept crashing. I figured that it was because it was only the 2.40 version, and not the 2.42 : they asked if I wanted to update, I said yes. An then, because it was still crashing, I disconnected the camera. But I didn't see that it was written not to disconnect the camera.
So, I know, I'm an idiot. Now, I've tried to solve the problem for the past hours, but it seems that I only made is worse. Here's what happened/what I did :

  • I closed everything out of panic (did I already said I was an idiot ?)
  • After I disconnected, I tried to reconnect it. Windows 10 refused to recognize it, and now if telling me that it's an 'unknown USB" thing
  • I tried to update the driver, downloading it from internet. Didn't work.
  • I tried to update my intel librarie. As github is not really my cup of tea (uderstand : I don't understand anything about it, and would rather swim in an ice-cold sea to from France to England than having to download or update anything using it. I'm still working on that) I ended up re-installing the entire sdk, I think. The command I did was a "git clone".

Small update : it's now recognizing my camera, but apparently the firmware is not up to date ? When I try to update it, I got eh error :
Started Firmware Update process
Recovery device connected, starting update

ERROR: UNKNOWN in rs2_update_firmware_cpp(device:000001EED2CEF120, fw_image:000001EF193EF060):
Device: 045323020527 failed to download firmware
Please verify that no other librealsense application is running

I'm ready to give you any informations you need, but I don't really know what you'll need. And yes, I'm on a USB3 port, that worked fine before.

Again, I'm sorry for being like this. Can anyone help me making my camera work again like it used to do ? Also, if it involve downloading stuff from github, you may want to be very specific about the commands things I need to do. As I said, my github abilities is neer the jellyfish ones.

I will thank the good souls that'll help me for a thousand year !

PS : I don't know how to put tags on issues I'm sorry

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Mar 4, 2021

Hi @echapp It is a positive sign that your camera is able to be recognised.

Have you tried updating the firmware in the Viewer by going to the More option near the top of the Viewer's side-panel and selecting the Install Recommended Firmware option from its drop-down menu, please? If the update is able to be performed then the firmware should start updating automatically.

image

@echapp
Copy link
Author

echapp commented Mar 4, 2021

Hello, thank you so much for the quick response.
I've tried that a few times, but get the same error everytime :

Started Firmware Update process
Recovery device connected, starting update

ERROR: UNKNOWN in rs2_update_firmware_cpp(device:0000026019638A50, fw_image:0000026020ADA060):
Device: 045323020527 failed to download firmware
Please verify that no other librealsense application is running

I'm now trying to update the firmware in an other way, as it seems that it's the problem.

Also, someone explained me how to update from github. It was not as hard as I tought !

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Mar 4, 2021

There was a past case of this error that apparently resulted from an unsigned firmware driver trying to be used with the camera. If this is the cause of your problem, I am uncertain why the firmware file used by the Recommended Firmware option would be regarded as being unsigned.

#7093

Let's try a manual firmware installation.

  1. Please download the firmware file Signed_Image_UVC_5_12_11_0.bin from the firmware download page.

https://dev.intelrealsense.com/docs/firmware-releases#section-d400-series-firmware-downloads

  1. Go to the More option of the Viewer again and this time select the menu option Update Firmware. When the file selector box pops up, navigate to the location that you downloaded the firmware file to and select it. The firmware update process should then commence.

@echapp
Copy link
Author

echapp commented Mar 4, 2021

No, sorry there is always the same error ...

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Mar 4, 2021

If you left-clck on the 'Info' option at the top of the Viewer side-panel, which firmware version does it say is currently installed?

image

Also, does the camera work normally in the Viewer and is able to stream, aside from the problem of not being able to update the firmware?

@echapp
Copy link
Author

echapp commented Mar 5, 2021

https://zupimages.net/up/21/09/ffcb.jpg

Here is the only informations I have. It's not working anymore, I can't stream anything, and even with my code (which lauches streams) it's not working.
Is there a way to reset the firmware or something like that ? It seems like I really messed it up, maybe corrupted it or something ...

@MartyG-RealSense
Copy link
Collaborator

In most cases a camera that is in recovery mode is recoverable.

In case the failure to update is related to a corrupted calibration table inside the camera, let's try resetting its calibration to factory defaults in the RealSense Viewer.

Go to the More option and select the Calibration Data option from its menu.

image

On the pop-up window that appears, left-click the box next to I know what I'm doing to highlight it.

image

Highlighting this box causes an option called Restore Factory on the top of the pop-up window to become usable. Left-click on it. The window may briefly flash as it updates.

Then go back to the More menu and select Install Recommendd Firmware again to see if the firmware can now update.

@echapp
Copy link
Author

echapp commented Mar 5, 2021

I can't access the whole menu from the viewer unfortunately (see picture)
https://zupimages.net/up/21/09/yk0i.jpg

I don't have much choise in the viewer, maybe there's an other tool I can use ?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Mar 5, 2021

Aside from the Viewer, the other official method of updating firmware with the SDK is the tool rs-fw-update. This can be run from the Windows command prompt interface (go to the text box at the bottom of the Windows screen, next to the corner button where you shut down, and type command into the box to find the Command Prompt).

When the Command Prompt window is opened, input the command below to navigate to the RealSense SDK Tools folder that the rs-fw-update tool is located in.

cd C:\Program Files (x86)\Intel RealSense SDK 2.0\tools

Then input the rs-fw-update launch command.

The link below has instructions for using the recovery mode of rs-fw-update.

#7783 (comment)

@echapp
Copy link
Author

echapp commented Mar 8, 2021

It's working !
I had to do it twice, the first time it didn't work, but the second time, the recovery was done. Thank you very much for all the help you provided, and for being very clear in you explanations !

Edit : I may have spoken too soon, don't close the topic right now I'm still having errors...
Edit 2 : Okay it's working again. I hope it won't break !
Edit 3 : Now it's not working again. My computer doen't recognize the camera anymore. I'll try a few things and edit my post (again).
Edit 4 (the last one I hope) : Okay so I jut saw that the cable I used was USB 2.0, which seemed to cause some problems. I connected direclty to the camera and it seems okay now !

@MartyG-RealSense
Copy link
Collaborator

You are very welcome @echapp - thanks very much for the updates!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants