-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 linux update FW with C API error #9224
Comments
Hi @csp23 I do not have a C-specific example of updating firmware through scripting, though some general advice about structuring an updater mechanism that uses update_device() is provided in the link below. An example of how a firmware updater script may be structured in Python is here: It is also worth bearing in mind that the firmware file that is being used should be a digitally signed one - a backup firmware file will not be sufficient. Although checking and updating firmware through scripting is supported, updating with the rs-fw-update tool or the RealSense Viewer are the recommended methods. |
Thanks a lot i fix it with cast device first
rs2_creat_context()..........create_context done |
Great to hear that you were successful @csp23 - thanks very much for sharing your C method with the RealSense community! |
Case closed due to solution achieved and no further comments received. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
fail with API rs2_update_firmware() from rs_device.h
function using( reference example/C/rs-depth.c ) :
rs2_creat_context()..........create_context
-->rs2_query_devices().........get device_list
---->rs2_create_device()..........get device
------>rs2_update_firmware()....update with device and FW img
rs_error was raised when calling rs2_update_firmware(device:0xed18a0, fw_image:0x7f72bff010):
Object does not support "librealsense::update_device_interface" interface!
the object return from function rs2_create_device() dose support update FW
i could successfully update with tools/rs-fw-update but still hope using API
The text was updated successfully, but these errors were encountered: