Skip to content

D500 DFU - cleaning d400 fw update code, avoid stucking of d500 w/o dfu monitoring#12964

Merged
remibettan merged 5 commits into
realsenseai:developmentfrom
remibettan:d500-dfu-2
May 28, 2024
Merged

D500 DFU - cleaning d400 fw update code, avoid stucking of d500 w/o dfu monitoring#12964
remibettan merged 5 commits into
realsenseai:developmentfrom
remibettan:d500-dfu-2

Conversation

@remibettan

Copy link
Copy Markdown
Contributor

Tracked by: RSDEV-1224 - second PR

@remibettan remibettan requested a review from Nir-Az May 27, 2024 12:42
Comment thread src/ds/d500/d500-fw-update-device.cpp
void ds_d500_update_device::dfu_manifest_phase(const platform::rs_usb_messenger& messenger, rs2_update_progress_callback_sptr update_progress_callback) const
{
// measuring the progress of the writing to flash (when enabled by FW)
if (!wait_for_manifest_completion(messenger, RS2_DFU_STATE_DFU_MANIFEST, std::chrono::seconds(200), update_progress_callback))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we lower the timeout?
This will also be the timeout for D400 devices that only should take several seconds?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The timeout is around 1.5 times the time it takes.
It is not related to the D400 devices, this code is only for D500 devices.

Comment thread src/ds/d500/d500-fw-update-device.cpp Outdated
Comment thread src/ds/d500/d500-fw-update-device.h Outdated

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - consider the comments, your call..

@remibettan remibettan merged commit 41c47c6 into realsenseai:development May 28, 2024
@remibettan remibettan deleted the d500-dfu-2 branch July 29, 2025 14:07
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