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

FW update aligned for D400/D500 #12395

Merged
merged 7 commits into from
Nov 15, 2023

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Nov 12, 2023

  • FW backup is not a mandatory step and will be skipped on D500 devices
  • sr300 leftovers removed
  • FW image size check moved to D400 specific as D500 does not have a fixed size image
  • Introduced D500 DFU PID
  • RS2_OPTION_INTER_CAM_SYNC_MODE for D500 is removed

Tracked on [RSDEV-733]

@@ -256,6 +257,13 @@ namespace librealsense

void ds_device_common::update_flash(const std::vector<uint8_t>& image, rs2_update_progress_callback_sptr callback, int update_mode)
{
// check if the given FW size matches the expected FW size
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation off?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Nir-Az Nir-Az requested a review from maloel November 15, 2023 09:00
@@ -256,6 +257,13 @@ namespace librealsense

void ds_device_common::update_flash(const std::vector<uint8_t>& image, rs2_update_progress_callback_sptr callback, int update_mode)
{
// check if the given FW size matches the expected FW size
if( image.size() != unsigned_fw_size )
throw librealsense::invalid_value_exception( rsutils::string::from()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent still looks off

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, now I see the indent issue, I fixed the comment indent before.
Fixed

@Nir-Az Nir-Az mentioned this pull request Nov 15, 2023
@Nir-Az Nir-Az merged commit 8f8b01b into IntelRealSense:development Nov 15, 2023
17 checks passed
@Nir-Az Nir-Az deleted the fw-update-updates branch January 9, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants