Skip to content

FW update aligned for D400/D500#12395

Merged
Nir-Az merged 7 commits intorealsenseai:developmentfrom
Nir-Az:fw-update-updates
Nov 15, 2023
Merged

FW update aligned for D400/D500#12395
Nir-Az merged 7 commits intorealsenseai:developmentfrom
Nir-Az:fw-update-updates

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]

@Nir-Az Nir-Az requested a review from maloel November 12, 2023 11:14

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
Contributor

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
{
// 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
Contributor

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 realsenseai:development Nov 15, 2023
@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